Archived
Fragment transition animations, information dialog, SettingsFragment implements OnCheckedChangeListener
This commit is contained in:
@@ -10,20 +10,18 @@
|
||||
android:id="@+id/appbarlayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/AppThemeLight.AppBarOverlay"
|
||||
app:elevation="0dp">
|
||||
android:background="@color/background"
|
||||
android:elevation="0dp">
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="@color/background"
|
||||
app:popupTheme="@style/AppThemeLight.PopupOverlay"
|
||||
app:titleTextColor="@color/accent"
|
||||
app:contentInsetStart="0dp"
|
||||
app:layout_scrollFlags="scroll|enterAlwaysCollapsed"
|
||||
app:layout_collapseMode="pin"
|
||||
android:layout_gravity="bottom">
|
||||
android:elevation="0dp"
|
||||
app:layout_scrollFlags="scroll|enterAlwaysCollapsed">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -79,22 +77,36 @@
|
||||
|
||||
<include layout="@layout/content_main" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottom_sheet_closer"
|
||||
<View
|
||||
android:id="@+id/bottom_nav_divider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true"/>
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
app:layout_anchor="@+id/bottom_nav"
|
||||
android:layout_gravity="top"
|
||||
android:background="@color/lighthintcolor"
|
||||
android:clickable="false"
|
||||
android:focusable="false"/>
|
||||
|
||||
<include layout="@layout/bottom_sheet" />
|
||||
<com.google.android.material.bottomnavigation.BottomNavigationView
|
||||
android:id="@+id/bottom_nav"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:layout_marginBottom="0dp"
|
||||
app:elevation="0dp"
|
||||
android:layout_gravity="bottom"
|
||||
app:menu="@menu/nav_items"
|
||||
android:background="@color/background"
|
||||
app:itemIconTint="@color/bottom_nav_color"
|
||||
app:itemTextColor="@color/bottom_nav_color"
|
||||
app:itemRippleColor="@color/accent"/>
|
||||
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
android:id="@+id/coordination"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="80dp"
|
||||
app:layout_anchor="@+id/bottom_sheet"
|
||||
app:layout_anchor="@+id/bottom_nav"
|
||||
android:layout_gravity="top"
|
||||
android:clickable="false"
|
||||
android:focusable="false"/>
|
||||
|
||||
Reference in New Issue
Block a user