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

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

Issue 2821223004: [Home] Show the app menu icons as a footer (Closed)
Patch Set: Changes from tedchoc@ review 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
Index: chrome/android/java/res/layout/icon_row_menu_footer.xml
diff --git a/chrome/android/java/res/layout/icon_row_menu_footer.xml b/chrome/android/java/res/layout/icon_row_menu_footer.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ca37c40b53438593f62d75436bb47b0be2cfbb88
--- /dev/null
+++ b/chrome/android/java/res/layout/icon_row_menu_footer.xml
@@ -0,0 +1,58 @@
+<?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.
+-->
+<org.chromium.chrome.browser.appmenu.AppMenuIconRowFooter
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <View style="@style/Divider" />
+
+ <!-- TODO(twellington): find a way to merge this with icon_row_menu_item.xml -->
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="?android:attr/listPreferredItemHeightSmall"
+ android:orientation="horizontal"
+ android:id="@+id/menu_items" >
+
+ <org.chromium.chrome.browser.widget.TintedImageButton
+ android:id="@+id/forward_menu_id"
+ style="@style/OverflowMenuButton"
+ android:src="@drawable/btn_forward"
+ android:contentDescription="@string/accessibility_menu_forward"
+ chrome:tint="@color/app_menu_button_tint" />
+
+ <org.chromium.chrome.browser.widget.TintedImageButton
+ android:id="@+id/bookmark_this_page_id"
+ style="@style/OverflowMenuButton"
+ android:src="@drawable/btn_star"
+ android:contentDescription="@string/accessibility_menu_bookmark"
+ chrome:tint="@color/app_menu_button_tint" />
+
+ <org.chromium.chrome.browser.widget.TintedImageButton
+ android:id="@+id/offline_page_id"
+ style="@style/OverflowMenuButton"
+ android:src="@drawable/ic_file_download_white_24dp"
+ android:contentDescription="@string/download_page"
+ chrome:tint="@color/app_menu_button_tint" />
+
+ <org.chromium.chrome.browser.widget.TintedImageButton
+ android:id="@+id/info_menu_id"
+ style="@style/OverflowMenuButton"
+ android:src="@drawable/btn_info"
+ android:contentDescription="@string/accessibility_menu_info"
+ chrome:tint="@color/app_menu_button_tint" />
+
+ <org.chromium.chrome.browser.widget.TintedImageButton
+ android:id="@+id/reload_menu_id"
+ style="@style/OverflowMenuButton"
+ android:src="@drawable/btn_reload_stop"
+ android:contentDescription="@string/accessibility_btn_refresh"
+ chrome:tint="@color/app_menu_button_tint" />
+ </LinearLayout>
+</org.chromium.chrome.browser.appmenu.AppMenuIconRowFooter>

Powered by Google App Engine
This is Rietveld 408576698