Added extension functions to apply insets
This commit is contained in:
parent
9f5b9d32ad
commit
03b9e36014
25 changed files with 116 additions and 66 deletions
|
@ -49,7 +49,6 @@
|
|||
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
|
||||
tools:listitem="@layout/item_list" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@android:id/empty"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:background="@null"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
tools:ignore="UnusedAttribute">
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="112dp" />
|
||||
android:layout_height="@dimen/mini_player_height_expanded" />
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<androidx.fragment.app.FragmentContainerView
|
||||
android:id="@+id/fragment_container"
|
||||
tools:layout="@layout/fragment_home"
|
||||
android:name="androidx.navigation.fragment.NavHostFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
@ -57,10 +58,13 @@
|
|||
android:id="@+id/bottomNavigationView"
|
||||
style="@style/Widget.Material3.BottomNavigationView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/bottom_nav_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:elevation="0dp"
|
||||
android:minHeight="@dimen/bottom_nav_height"
|
||||
app:itemHorizontalTranslationEnabled="false"
|
||||
app:itemPaddingBottom="0dp"
|
||||
app:itemPaddingTop="8dp"
|
||||
app:menu="@menu/bottom_navigation_main"
|
||||
tools:layout_height="wrap_content" />
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
Loading…
Add table
Add a link
Reference in a new issue