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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
3
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
6 -->
7 <org.chromium.chrome.browser.appmenu.AppMenuIconRowFooter
8 xmlns:android="http://schemas.android.com/apk/res/android"
9 xmlns:chrome="http://schemas.android.com/apk/res-auto"
10 android:layout_width="match_parent"
11 android:layout_height="wrap_content"
12 android:orientation="vertical" >
13
14 <View style="@style/Divider" />
15
16 <LinearLayout
Ted C 2017/04/18 22:58:46 I was thinking it would be nice to share icon_row_
Theresa 2017/04/18 23:30:59 I agree. Added a TODO.
17 android:layout_width="match_parent"
18 android:layout_height="?android:attr/listPreferredItemHeightSmall"
19 android:orientation="horizontal"
20 android:id="@+id/menu_items" >
21
22 <org.chromium.chrome.browser.widget.TintedImageButton
23 android:id="@+id/forward_menu_id"
24 style="@style/AppMenuIconRowIcon"
25 android:src="@drawable/btn_forward"
26 android:contentDescription="@string/accessibility_menu_forward"
27 chrome:tint="@color/app_menu_button_tint" />
28
29 <org.chromium.chrome.browser.widget.TintedImageButton
30 android:id="@+id/bookmark_this_page_id"
31 style="@style/AppMenuIconRowIcon"
32 android:src="@drawable/btn_star"
33 android:contentDescription="@string/accessibility_menu_bookmark"
34 chrome:tint="@color/app_menu_button_tint" />
35
36 <org.chromium.chrome.browser.widget.TintedImageButton
37 android:id="@+id/offline_page_id"
38 style="@style/AppMenuIconRowIcon"
39 android:src="@drawable/ic_file_download_white_24dp"
40 android:contentDescription="@string/download_page"
41 chrome:tint="@color/app_menu_button_tint" />
42
43 <org.chromium.chrome.browser.widget.TintedImageButton
44 android:id="@+id/info_menu_id"
45 style="@style/AppMenuIconRowIcon"
46 android:src="@drawable/btn_info"
47 android:contentDescription="@string/accessibility_menu_info"
48 chrome:tint="@color/app_menu_button_tint" />
49
50 <org.chromium.chrome.browser.widget.TintedImageButton
51 android:id="@+id/reload_menu_id"
52 style="@style/AppMenuIconRowIcon"
53 android:src="@drawable/btn_reload_stop"
54 android:contentDescription="@string/accessibility_btn_refresh"
55 chrome:tint="@color/app_menu_button_tint" />
56 </LinearLayout>
57 </org.chromium.chrome.browser.appmenu.AppMenuIconRowFooter>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698