fix: visual glitches on landscape navbar (#429)

This commit is contained in:
Tom 2026-02-10 01:00:03 -03:00 committed by GitHub
parent 090701b92b
commit b8dc985279
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 13 deletions

View file

@ -18,18 +18,17 @@
android:orientation="horizontal">
<FrameLayout
android:layout_width="75dp"
android:layout_width="55dp"
android:layout_height="match_parent">
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_navigation"
android:layout_width="250dp"
android:layout_height="75dp"
android:rotation="90"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="center"
android:paddingStart="0dp"
android:paddingEnd="0dp"
android:visibility="gone"
android:paddingEnd="68dp"
android:rotation="90"
app:menu="@menu/bottom_nav_menu" />
</FrameLayout>

View file

@ -1,15 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<menu
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/homeFragment"
android:icon="@drawable/ic_home_land"
android:title="@string/menu_home_label" />
android:icon="@drawable/ic_home_land" />
<item
android:id="@+id/libraryFragment"
android:icon="@drawable/ic_graphic_eq_land"
android:title="@string/menu_library_label" />
android:icon="@drawable/ic_graphic_eq_land" />
<item
android:id="@+id/downloadFragment"
android:icon="@drawable/ic_play_for_work_land"
android:title="@string/menu_download_label" />
android:icon="@drawable/ic_play_for_work_land" />
</menu>

View file

@ -4,6 +4,7 @@
android:id="@+id/homeFragment"
android:icon="@drawable/ic_home"
android:title="@string/menu_home_label" />
<item
android:id="@+id/libraryFragment"
android:icon="@drawable/ic_graphic_eq"