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

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

Issue 203173008: Cleanup Icon Row custom code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests Created 6 years, 9 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
Index: chrome/android/java/res/layout/title_button_menu_item.xml
diff --git a/chrome/android/java/res/layout/title_button_menu_item.xml b/chrome/android/java/res/layout/title_button_menu_item.xml
new file mode 100644
index 0000000000000000000000000000000000000000..33051988f6b3ebe87d3cdbddffc73c7bbe12fd1f
--- /dev/null
+++ b/chrome/android/java/res/layout/title_button_menu_item.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2014 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.
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="?android:attr/listPreferredItemHeightSmall"
+ android:background="?android:attr/selectableItemBackground" >
+
+ <Button
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="?android:attr/listPreferredItemHeightSmall"
+ android:layout_gravity="start"
+ android:layout_weight="1"
+ android:background="?android:attr/selectableItemBackground"
+ android:gravity="center_vertical"
+ android:paddingEnd="9dp"
+ android:paddingStart="9dp"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceLargePopupMenu" />
+
+ <View
+ android:layout_width="@dimen/menu_item_divider_width"
+ android:layout_height="match_parent"
+ android:layout_marginBottom="@dimen/menu_item_divider_width"
+ android:background="?android:attr/listDivider" />
+
+ <ImageButton
+ android:id="@+id/button"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:background="?android:attr/selectableItemBackground"
+ android:paddingEnd="10dp"
+ android:paddingStart="10dp"
+ android:scaleType="center" />
+
+</LinearLayout>
« no previous file with comments | « chrome/android/java/res/layout/three_button_menu_item.xml ('k') | chrome/android/java/res/values/values.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698