Index: chrome/android/java/res/layout/tabular_context_menu_row.xml |
diff --git a/chrome/android/java/res/layout/tabular_context_menu_row.xml b/chrome/android/java/res/layout/tabular_context_menu_row.xml |
index 5e4d200f2fdc6f3857bf2a00043407c70c884dd9..3b4a3fe0f33c17a55f84c92dfa9870be6e0c0d57 100644 |
--- a/chrome/android/java/res/layout/tabular_context_menu_row.xml |
+++ b/chrome/android/java/res/layout/tabular_context_menu_row.xml |
@@ -4,17 +4,18 @@ |
found in the LICENSE file. --> |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
xmlns:tools="http://schemas.android.com/tools" |
+ android:id="@+id/context_menu_row" |
android:orientation="horizontal" |
android:layout_width="match_parent" |
android:layout_height="wrap_content" |
- android:paddingStart="15dp" |
- android:paddingEnd="15dp" |
android:minHeight="40dp" |
tools:ignore="UseCompoundDrawables"> |
<ImageView |
android:id="@+id/context_menu_icon" |
android:layout_width="20dp" |
android:layout_height="20dp" |
+ android:layout_marginTop="10dp" |
+ android:layout_marginBottom="10dp" |
android:layout_gravity="center_vertical" |
android:contentDescription="@null" /> |
<TextView |
@@ -28,8 +29,11 @@ |
android:textColor="#dd000000" /> |
<ImageView |
android:id="@+id/context_menu_share_icon" |
- android:layout_width="20dp" |
- android:layout_height="20dp" |
+ android:layout_width="24dp" |
+ android:layout_height="24dp" |
+ android:layout_marginTop="8dp" |
Ted C
2017/05/02 16:51:37
do you want margin or padding? Margin is likely r
ltian
2017/05/02 18:52:28
Sorry I just learn that padding is clickable while
|
+ android:layout_marginBottom="8dp" |
+ android:layout_marginEnd="15dp" |
Ted C
2017/05/02 16:51:37
according to the spec, you also need 12dp start pa
ltian
2017/05/02 18:52:28
Done.
|
android:layout_gravity="center_vertical" |
android:contentDescription="@null" |
android:visibility="gone"/> |