Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3687)

Unified Diff: chrome/android/java/res/layout/translate_menu_divider.xml

Issue 2806273002: Make the Translate Overflow Menu using ListPopupWindow (Closed)
Patch Set: fix according the comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/layout/translate_menu_item.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a2d287bdfd7b6184b63c88c5bc41bc624c1901d0
--- /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="wrap_content" >
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:layout_gravity="center_vertical"
+ android:background="@color/translate_overflow_menu_divider_color" />
+</FrameLayout>
« no previous file with comments | « no previous file | chrome/android/java/res/layout/translate_menu_item.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698