summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chip Fukuhara <cfukuhara@google.com> 2023-04-03 23:32:50 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-04-03 23:32:50 +0000
commit1c715ceb84b124baa528dc7c080a89e9d87850c9 (patch)
tree01c7fa4610cfb9260302f6a25ba8703281f3b1e7
parente3ca58ff642fd34bf5964d5abf117ddfb50617fd (diff)
parentce772ea8b92b448172483ba9a3d4fc9e60cf5877 (diff)
Merge "restrict items in PowerMenu to a max height"
-rw-r--r--core/res/res/layout-watch/global_actions_item.xml11
1 files changed, 4 insertions, 7 deletions
diff --git a/core/res/res/layout-watch/global_actions_item.xml b/core/res/res/layout-watch/global_actions_item.xml
index 3d3f34136801..f964a4a53d4f 100644
--- a/core/res/res/layout-watch/global_actions_item.xml
+++ b/core/res/res/layout-watch/global_actions_item.xml
@@ -15,21 +15,18 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="52dp"
android:gravity="center"
- android:minHeight="52dp"
android:minWidth="172dp"
- android:paddingStart="12dp"
- android:paddingEnd="12dp"
- android:paddingTop="6dp"
- android:paddingBottom="6dp"
+ android:paddingStart="14dp"
+ android:paddingEnd="14dp"
android:background="@drawable/global_actions_item_grey_background">
<ImageView android:id="@+id/icon"
android:duplicateParentState="true"
android:scaleType="centerInside"
android:gravity="center"
- android:layout_marginEnd="8dp"
+ android:layout_marginEnd="6dp"
android:layout_width="24dp"
android:layout_height="24dp"/>