Add dimensions for notification channel panel am: 42ac382af5 am: 4b733b249f

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21334700

Change-Id: I94425217f087d755babd9c27d4a058c0d6e99b55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Valentin Iftime
2023-02-08 17:14:45 +00:00
committed by Automerger Merge Worker
3 changed files with 6 additions and 3 deletions

View File

@@ -16,8 +16,8 @@
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main_content" android:id="@+id/main_content"
android:layout_height="@dimen/output_switcher_slice_max_height" android:layout_height="@dimen/notif_channel_panel_max_height"
android:maxHeight="@dimen/output_switcher_slice_max_height" android:maxHeight="@dimen/notif_channel_panel_max_height"
android:background="@drawable/settings_panel_background" android:background="@drawable/settings_panel_background"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="match_parent"> android:layout_width="match_parent">

View File

@@ -19,5 +19,5 @@
<dimen name="biometric_auth_pattern_view_size">248dp</dimen> <dimen name="biometric_auth_pattern_view_size">248dp</dimen>
<dimen name="biometric_auth_pattern_view_max_size">348dp</dimen> <dimen name="biometric_auth_pattern_view_max_size">348dp</dimen>
<dimen name="output_switcher_slice_max_height">300dp</dimen> <dimen name="notif_channel_panel_max_height">300dp</dimen>
</resources> </resources>

View File

@@ -345,6 +345,9 @@
<dimen name="output_switcher_slice_max_height">600dp</dimen> <dimen name="output_switcher_slice_max_height">600dp</dimen>
<dimen name="output_switcher_panel_icon_size">52dp</dimen> <dimen name="output_switcher_panel_icon_size">52dp</dimen>
<!-- Notification channels panel related dimensions -->
<dimen name="notif_channel_panel_max_height">600dp</dimen>
<!-- Settings panel related dimensions --> <!-- Settings panel related dimensions -->
<dimen name="settings_panel_corner_radius">28dp</dimen> <dimen name="settings_panel_corner_radius">28dp</dimen>
<dimen name="settings_panel_title_margin">24dp</dimen> <dimen name="settings_panel_title_margin">24dp</dimen>