Index: chrome/android/java/res/layout/translate_menu_divider.xml |
diff --git a/chrome/android/java/res/layout/translate_menu_divider.xml b/chrome/android/java/res/layout/translate_menu_divider.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dad2eb62649b80d155fb0c4d939b4c8749089fd7 |
--- /dev/null |
+++ b/chrome/android/java/res/layout/translate_menu_divider.xml |
@@ -0,0 +1,16 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- Copyright 2017 The Chromium Authors. All rights reserved. |
+ Use of this source code is governed by a BSD-style license that can be |
+ found in the LICENSE file. --> |
+ |
+<!-- Wrap a framelayout because android list view does not respect margins. --> |
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:layout_width="match_parent" |
+ android:layout_height="17dp" > |
gone
2017/04/11 22:45:05
this should be wrap_content
Marti Wong
2017/04/12 02:13:41
Done.
|
+ |
+ <View |
+ android:layout_width="match_parent" |
+ android:layout_height="1dp" |
+ android:layout_gravity="center_vertical" |
gone
2017/04/11 22:45:05
add 8dp top and bottom margins here
Marti Wong
2017/04/12 02:13:41
no margin needed according to static specs.
thanks
|
+ android:background="@color/translate_overflow_menu_divider_color" /> |
+</FrameLayout> |