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

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

Issue 79573003: Upstreaming AppMenu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually add tvdpi Created 7 years, 1 month 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/menu_icon_row.xml
diff --git a/chrome/android/java/res/layout/menu_icon_row.xml b/chrome/android/java/res/layout/menu_icon_row.xml
new file mode 100644
index 0000000000000000000000000000000000000000..1cd56a912d0b320271e3f0d614a9e6a68cf3af04
--- /dev/null
+++ b/chrome/android/java/res/layout/menu_icon_row.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2011 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.
+-->
+<!-- Layout for the first row of icons in menu popup -->
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:orientation="horizontal"
+ android:layout_height="?android:attr/listPreferredItemHeightSmall"
+ android:layout_gravity="top|start">
+ <ImageButton
+ android:src="@drawable/back_button_selector"
+ android:layout_weight="1"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:scaleType="center"
+ android:id="@+id/menu_item_back"
+ android:background="?android:attr/selectableItemBackground"
+ android:contentDescription="@string/accessibility_menu_back" />
+ <View android:background="?android:attr/listDivider"
+ android:layout_height="match_parent"
+ android:layout_width="@dimen/menu_item_divider_width"
+ android:layout_marginBottom="@dimen/menu_item_divider_width" />
+ <ImageButton
+ android:src="@drawable/forward_button_selector"
+ android:layout_weight="1"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:scaleType="center"
+ android:id="@+id/menu_item_forward"
+ android:background="?android:attr/selectableItemBackground"
+ android:contentDescription="@string/accessibility_menu_forward" />
+ <View android:background="?android:attr/listDivider"
+ android:layout_height="match_parent"
+ android:layout_width="@dimen/menu_item_divider_width"
+ android:layout_marginBottom="@dimen/menu_item_divider_width" />
+ <ImageButton
+ android:src="@drawable/star"
+ android:layout_weight="1"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:scaleType="center"
+ android:id="@+id/menu_item_bookmark"
+ android:background="?android:attr/selectableItemBackground"
+ android:contentDescription="@string/accessibility_menu_bookmark" />
+ </LinearLayout>
+ <View android:background="?android:attr/listDivider"
+ android:layout_height="@dimen/menu_item_divider_width"
+ android:layout_width="match_parent"
+ android:layout_gravity="bottom|start" />
+</FrameLayout>
« no previous file with comments | « chrome/android/java/res/drawable/forward_button_selector.xml ('k') | chrome/android/java/res/layout/menu_item.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698