From 11f78cff26610b8e8cbd5c4bb9ef8fc351475ccb Mon Sep 17 00:00:00 2001 From: Pasty Chang Date: Mon, 14 Dec 2020 09:27:53 +0000 Subject: [PATCH] Migrate attribute sudMarginSides into sudMarginStart and sudMarginEnd for settings The attribute sudMarginSides would be removed, after it splits to sudMarginStart and sudMarginEnd. Bug: 173747770 Bug: 173752328 Test: atest & manual test Change-Id: If2d72aa5d6ab75a4386d3c09f5a649e20bc59b1b --- res/layout-land/choose_lock_pattern.xml | 2 +- res/layout-land/confirm_lock_password.xml | 12 ++++++------ res/layout-land/confirm_lock_pattern.xml | 16 ++++++++-------- res/layout-land/confirm_lock_pattern_normal.xml | 12 ++++++------ res/layout-land/fingerprint_enroll_enrolling.xml | 2 +- .../fingerprint_enroll_find_sensor.xml | 2 +- .../wifi_dpp_qrcode_scanner_fragment.xml | 8 ++++---- res/layout/adb_qrcode_scanner_fragment.xml | 8 ++++---- res/layout/choose_lock_pattern_common.xml | 6 ++++-- res/layout/confirm_lock_password_base.xml | 12 ++++++------ res/layout/confirm_lock_password_normal.xml | 8 ++++---- res/layout/confirm_lock_pattern_base.xml | 15 ++++++++------- res/layout/confirm_lock_pattern_normal_base.xml | 11 ++++++----- res/layout/storage_wizard_init.xml | 4 ++-- res/layout/wifi_dpp_add_device_fragment.xml | 4 ++-- ...fi_dpp_choose_saved_wifi_network_fragment.xml | 4 ++-- .../wifi_dpp_qrcode_generator_fragment.xml | 4 ++-- res/layout/wifi_dpp_qrcode_scanner_fragment.xml | 8 ++++---- 18 files changed, 71 insertions(+), 67 deletions(-) diff --git a/res/layout-land/choose_lock_pattern.xml b/res/layout-land/choose_lock_pattern.xml index df40ed48156..29c3350490c 100644 --- a/res/layout-land/choose_lock_pattern.xml +++ b/res/layout-land/choose_lock_pattern.xml @@ -37,7 +37,7 @@ android:layout_width="0dip" android:layout_height="match_parent" android:layout_weight="1.0" - android:layout_marginStart="?attr/sudMarginSides" + android:layout_marginStart="?attr/sudMarginStart" android:layout_marginBottom="@dimen/sud_content_frame_padding_bottom" android:clipChildren="false" android:clipToPadding="false" diff --git a/res/layout-land/confirm_lock_password.xml b/res/layout-land/confirm_lock_password.xml index 78725855e8c..775f9ad8509 100644 --- a/res/layout-land/confirm_lock_password.xml +++ b/res/layout-land/confirm_lock_password.xml @@ -33,16 +33,16 @@ style="@style/SudDescription.Glif" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginStart="?attr/sudMarginSides" - android:layout_marginEnd="?attr/sudMarginSides" /> + android:layout_marginStart="?attr/sudMarginStart" + android:layout_marginEnd="?attr/sudMarginEnd" />