generify fab button

closes sk22#380
This commit is contained in:
sk
2023-02-07 14:10:31 +01:00
parent a2f687898c
commit 4884667484
12 changed files with 90 additions and 73 deletions

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fab"
android:contentDescription="@string/new_post"
style="@style/Widget.Mastodon.Button.Compose" />

View File

@@ -359,7 +359,7 @@
</LinearLayout>
</org.joinmastodon.android.ui.views.NestedRecyclerScrollView>
<ImageButton android:id="@+id/fab" style="@style/Widget.Mastodon.Button.Compose"/>
<include layout="@layout/compose_fab" />
</FrameLayout>
</me.grishka.appkit.views.RecursiveSwipeRefreshLayout>

View File

@@ -20,6 +20,6 @@
android:layout_height="match_parent"
android:id="@+id/empty"/>
<ImageButton android:id="@+id/fab" style="@style/Widget.Mastodon.Button.Compose"/>
<include layout="@layout/compose_fab" />
</FrameLayout>
</me.grishka.appkit.views.RecursiveSwipeRefreshLayout>