From 1fecccd439fbc301257ddfac275baac67d56229e Mon Sep 17 00:00:00 2001 From: Abhijit Adsule Date: Mon, 2 Dec 2024 18:45:50 +0000 Subject: Revert "m3: Refine AlertDialog style" This reverts commit 66c04410260b1f21bc113b59ca37d7a63365477c. Reason for revert: b/381450700 Change-Id: I27158f982ef6c862e3b8287ab650ac031c160d55 --- .../alert_dialog_title_material.xml | 48 ++++--- .../alert_dialog_wear_material3.xml | 145 +++++++++------------ core/res/res/values-w192dp/dimens_material.xml | 4 - core/res/res/values-w195dp/dimens_material.xml | 4 - core/res/res/values-w198dp/dimens_material.xml | 4 - .../values-w204dp-round-watch/dimens_material.xml | 4 - core/res/res/values-w205dp/dimens_material.xml | 4 - core/res/res/values-w208dp/dimens_material.xml | 4 - .../values-w210dp-round-watch/dimens_material.xml | 8 -- core/res/res/values-w211dp/dimens_material.xml | 4 - core/res/res/values-w213dp/dimens_material.xml | 4 - core/res/res/values-w216dp/dimens_material.xml | 24 ---- core/res/res/values-w225dp/dimens_material.xml | 4 - core/res/res/values-w227dp/dimens_material.xml | 4 - core/res/res/values-w228dp/dimens_material.xml | 4 - core/res/res/values-w240dp/dimens_material.xml | 4 - core/res/res/values-watch-v36/dimens_material.xml | 15 --- core/res/res/values-watch-v36/styles_material.xml | 21 --- 18 files changed, 82 insertions(+), 227 deletions(-) delete mode 100644 core/res/res/values-w216dp/dimens_material.xml diff --git a/core/res/res/layout-round-watch/alert_dialog_title_material.xml b/core/res/res/layout-round-watch/alert_dialog_title_material.xml index 75fe7601317b..dac1e324be81 100644 --- a/core/res/res/layout-round-watch/alert_dialog_title_material.xml +++ b/core/res/res/layout-round-watch/alert_dialog_title_material.xml @@ -14,34 +14,30 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License --> - - - - - + + android:minHeight="@dimen/screen_percentage_15"> + - - + diff --git a/core/res/res/layout-watch-v36/alert_dialog_wear_material3.xml b/core/res/res/layout-watch-v36/alert_dialog_wear_material3.xml index af30f1bd164c..8f7545690142 100644 --- a/core/res/res/layout-watch-v36/alert_dialog_wear_material3.xml +++ b/core/res/res/layout-watch-v36/alert_dialog_wear_material3.xml @@ -16,123 +16,98 @@ - - - - - + android:layout_height="match_parent"> - - - - + android:layout_width="match_parent" + android:layout_height="wrap_content"> - - + - - - + + - - - + + - + android:layout_gravity="center"> - -