Skip to content

Commit

Permalink
(ui): align rail menu to bottom on large screens
Browse files Browse the repository at this point in the history
  • Loading branch information
mardous committed Dec 22, 2024
1 parent c94249f commit e00e151
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/res/layout-land/fragment_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
android:layout_height="match_parent"
android:layout_gravity="start"
app:menu="@menu/menu_navigation"
app:menuGravity="center"
app:menuGravity="@integer/railMenuGravity"
tools:viewBindingType="com.google.android.material.navigation.NavigationBarView" />

<androidx.fragment.app.FragmentContainerView
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-sw600dp/integers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
-->

<resources>
<integer name="railMenuGravity">81</integer>
<integer name="statuses_grid_span_count">4</integer>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/integers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
-->

<resources>
<integer name="railMenuGravity">17</integer>
<integer name="overScrollMode">2</integer>
<integer name="statuses_grid_span_count">2</integer>
</resources>

0 comments on commit e00e151

Please sign in to comment.