Support edge to edge properly everywhere

This reverts commit 74373d478b.
This commit is contained in:
Aayush Gupta
2024-10-14 20:01:40 +05:30
parent 2cdbd71faf
commit 3551174277
9 changed files with 62 additions and 49 deletions

View File

@@ -79,7 +79,9 @@
android:clipToPadding="false"
android:orientation="vertical"
android:overScrollMode="never"
android:padding="@dimen/padding_small"
android:paddingHorizontal="@dimen/padding_small"
android:paddingTop="@dimen/padding_small"
android:paddingBottom="@dimen/height_bottom_adj"
app:itemSpacing="@dimen/margin_small"
tools:listitem="@layout/view_link" />
</LinearLayout>

View File

@@ -45,8 +45,9 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/divider"
android:layout_marginTop="5dp"
android:clipToPadding="true"
android:paddingTop="@dimen/padding_normal"
android:paddingBottom="@dimen/height_bottom_adj"
tools:listitem="@layout/view_app_list" />
</RelativeLayout>
@@ -59,4 +60,4 @@
android:layout_marginBottom="@dimen/margin_normal"
android:text="@string/action_filter"
app:icon="@drawable/ic_filter" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@@ -30,7 +30,6 @@
android:paddingEnd="@dimen/padding_small"
android:showDividers="middle"
app:behavior_hideable="false"
app:behavior_peekHeight="@dimen/height_peek"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
<ViewFlipper
@@ -135,34 +134,4 @@
app:srcCompat="@drawable/ic_cancel" />
</RelativeLayout>
</ViewFlipper>
<LinearLayout
android:id="@+id/bottomsheet_body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="false"
android:divider="@drawable/divider"
android:focusable="false"
android:orientation="vertical"
android:paddingBottom="@dimen/padding_normal"
android:showDividers="middle">
<androidx.appcompat.widget.AppCompatTextView
style="@style/TextAppearance.Aurora.Title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:alpha=".75"
android:text="@string/purchase_failed"
android:textAlignment="center"
android:textColor="?colorOnPrimary" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/txt_purchase_error"
style="@style/TextAppearance.Aurora.Line1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="center"
android:textColor="?colorOnPrimary"
tools:text="@string/purchase_invalid" />
</LinearLayout>
</LinearLayout>

View File

@@ -50,7 +50,7 @@
<dimen name="screenshot_height_mini">120dp</dimen>
<dimen name="screenshot_width_mini">68dp</dimen>
<dimen name="height_bottom_adj">100dp</dimen>
<dimen name="height_bottom_adj">125dp</dimen>
<dimen name="cluster_size">128dp</dimen>
<dimen name="elevation_small">3dp</dimen>