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

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

Issue 267863006: Add support for 4-item AppMenu row. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/four_button_menu_item.xml
diff --git a/chrome/android/java/res/layout/three_button_menu_item.xml b/chrome/android/java/res/layout/four_button_menu_item.xml
similarity index 77%
copy from chrome/android/java/res/layout/three_button_menu_item.xml
copy to chrome/android/java/res/layout/four_button_menu_item.xml
index ebc73532fb5ffdd57875b4a25612b9058e67aefe..abe580b6b6db6fb5792016a511b40fb36fa66dd1 100644
--- a/chrome/android/java/res/layout/three_button_menu_item.xml
+++ b/chrome/android/java/res/layout/four_button_menu_item.xml
@@ -43,5 +43,18 @@
android:layout_weight="1"
android:background="?android:attr/selectableItemBackground"
android:scaleType="center" />
+
+ <View
+ android:layout_width="1dp"
+ android:layout_height="?android:attr/listPreferredItemHeightSmall"
+ android:background="?android:attr/listDivider" />
+
+ <ImageButton
+ android:id="@+id/button_four"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="?android:attr/selectableItemBackground"
+ android:scaleType="center" />
</LinearLayout>
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698