New home layout with public timelines (#288)
* add dummy popup menu * add pager to home fragment * reduce pager sensitivity * remove timelines from discover fragment * add fabs to timelines * change info banner color * add back toolbar functionality * update icons on navigate * handle back press * add lists and hashtags * use tabs * improve timeline title * tweak switcher behavior * fix show new posts button appearance * hide show new posts button on reload * tweak show new posts animations * work around crash theme switch * enable disabling federated timeline
This commit is contained in:
12
mastodon/src/main/res/menu/home_switcher.xml
Normal file
12
mastodon/src/main/res/menu/home_switcher.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@+id/home" android:icon="@drawable/ic_fluent_home_24_regular" android:title="@string/sk_timeline_home" />
|
||||
<item android:id="@+id/local" android:icon="@drawable/ic_fluent_people_community_24_regular" android:title="@string/sk_timeline_local" />
|
||||
<item android:id="@+id/federated" android:icon="@drawable/ic_fluent_earth_24_regular" android:title="@string/sk_timeline_federated" />
|
||||
<item android:id="@+id/lists" android:icon="@drawable/ic_fluent_people_list_24_regular" android:title="@string/sk_list_timelines" android:visible="false">
|
||||
<menu />
|
||||
</item>
|
||||
<item android:id="@+id/followed_hashtags" android:icon="@drawable/ic_fluent_number_symbol_24_regular" android:title="@string/sk_hashtags_you_follow" android:visible="false">
|
||||
<menu />
|
||||
</item>
|
||||
</menu>
|
||||
Reference in New Issue
Block a user