Fix preference fragments

This commit is contained in:
tehcneko committed 2021-03-21 09:37:04 +08:00
1 parent a06e3ad6b5
commit 2159a399bb
4 files changed
+27 -38

No files matched your search

+12 -18
View File
@@ -36,23 +36,17 @@
android:text="@string/no_filter"
app:fitSystemWindowsInsets="bottom" />
<com.hippo.widget.FabLayout
android:id="@+id/fab_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingRight="@dimen/corner_fab_margin"
android:paddingBottom="@dimen/corner_fab_margin"
app:fitSystemWindowsInsets="bottom">
<com.google.android.material.floatingactionbutton.FloatingActionButton xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/fab"
style="@style/Widget.MaterialComponents.FloatingActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:backgroundTint="?attr/widgetColorThemePrimary"
app:srcCompat="@drawable/v_plus_dark_x24"
app:tint="#fff" />
</com.hippo.widget.FabLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/fab"
style="@style/Widget.MaterialComponents.FloatingActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/corner_fab_margin"
android:layout_marginBottom="@dimen/corner_fab_margin"
android:layout_gravity="bottom|end"
app:backgroundTint="?attr/widgetColorThemePrimary"
app:srcCompat="@drawable/v_plus_dark_x24"
app:tint="#fff"
app:layout_fitSystemWindowsInsets="bottom" />
</FrameLayout>
+12 -17
View File
@@ -37,22 +37,17 @@
android:textSize="@dimen/text_super_large"
app:fitSystemWindowsInsets="bottom" />
<com.hippo.widget.FabLayout
android:id="@+id/fab_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingRight="@dimen/corner_fab_margin"
android:paddingBottom="@dimen/corner_fab_margin"
app:fitSystemWindowsInsets="bottom">
<com.google.android.material.floatingactionbutton.FloatingActionButton xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/fab"
style="@style/Widget.MaterialComponents.FloatingActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/corner_fab_margin"
android:layout_marginBottom="@dimen/corner_fab_margin"
android:layout_gravity="bottom|end"
app:backgroundTint="?attr/widgetColorThemePrimary"
app:srcCompat="@drawable/v_plus_dark_x24"
app:tint="#fff"
app:layout_fitSystemWindowsInsets="bottom" />
<com.google.android.material.floatingactionbutton.FloatingActionButton xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/fab"
style="@style/Widget.MaterialComponents.FloatingActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:backgroundTint="?attr/widgetColorThemePrimary"
app:srcCompat="@drawable/v_plus_dark_x24"
app:tint="#fff" />
</com.hippo.widget.FabLayout>
</FrameLayout>
@@ -28,6 +28,7 @@
android:id="@+id/fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipChildren="false" />
android:clipChildren="false"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</com.hippo.widget.SafeCoordinatorLayout>
@@ -26,9 +26,8 @@
android:layout_height="match_parent"
android:clipToPadding="false"
android:fadeScrollbars="true"
android:paddingTop="?actionBarSize"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
app:fitSystemWindowsInsets="bottom|top"
app:fitSystemWindowsInsets="bottom"
tools:ignore="UnusedResources"
tools:viewBindingIgnore="true" />