diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-11 09:07:54 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-11 09:07:54 +0300 |
| commit | 6ccbe85cd57f4bfa576aa7ddfbd12a5424315f66 (patch) | |
| tree | 55be51d55d95a2ca366d293b809a3821383170ad /org.fox.ttrss/src/main/res | |
| parent | eadba8a821a378c02514e1b407aeafea652406d2 (diff) | |
add bottombar to tablet layout and fix several invalid casts to viewpager1
Diffstat (limited to 'org.fox.ttrss/src/main/res')
| -rw-r--r-- | org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_detail.xml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_detail.xml b/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_detail.xml index 09534bc7..3078f77e 100644 --- a/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_detail.xml +++ b/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_detail.xml @@ -57,14 +57,22 @@ app:layout_behavior=".util.DetailActivityScrollingViewBehavior" android:layout_height="match_parent"/> + <com.google.android.material.bottomappbar.BottomAppBar + android:id="@+id/detail_bottom_appbar" + app:backgroundTint="?colorSurfaceContainerHigh" + android:layout_width="match_parent" + android:layout_height="64dp" + android:layout_gravity="bottom" + app:menu="@menu/bottombar_detail" /> + <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/detail_fab" + android:layout_gravity="end|bottom" + android:layout_marginEnd="16dp" + android:layout_marginBottom="38dp" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="end|bottom" - android:visibility="gone" - android:src="@drawable/baseline_open_in_browser_24" - android:layout_margin="16dp" /> + app:srcCompat="@drawable/baseline_open_in_browser_24" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> </LinearLayout> |