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

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: 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 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 <!-- TODO(twellington): find a way to merge this with icon_row_menu_item.xml -->
17 <LinearLayout
18 android:layout_width="match_parent"
19 android:layout_height="?android:attr/listPreferredItemHeightSmall"
20 android:orientation="horizontal"
21 android:id="@+id/menu_items" >
22
23 <org.chromium.chrome.browser.widget.TintedImageButton
24 android:id="@+id/forward_menu_id"
25 style="@style/OverflowMenuButton"
26 android:src="@drawable/btn_forward"
27 android:contentDescription="@string/accessibility_menu_forward"
28 chrome:tint="@color/app_menu_button_tint" />
29
30 <org.chromium.chrome.browser.widget.TintedImageButton
31 android:id="@+id/bookmark_this_page_id"
32 style="@style/OverflowMenuButton"
33 android:src="@drawable/btn_star"
34 android:contentDescription="@string/accessibility_menu_bookmark"
35 chrome:tint="@color/app_menu_button_tint" />
36
37 <org.chromium.chrome.browser.widget.TintedImageButton
38 android:id="@+id/offline_page_id"
39 style="@style/OverflowMenuButton"
40 android:src="@drawable/ic_file_download_white_24dp"
41 android:contentDescription="@string/download_page"
42 chrome:tint="@color/app_menu_button_tint" />
43
44 <org.chromium.chrome.browser.widget.TintedImageButton
45 android:id="@+id/info_menu_id"
46 style="@style/OverflowMenuButton"
47 android:src="@drawable/btn_info"
48 android:contentDescription="@string/accessibility_menu_info"
49 chrome:tint="@color/app_menu_button_tint" />
50
51 <org.chromium.chrome.browser.widget.TintedImageButton
52 android:id="@+id/reload_menu_id"
53 style="@style/OverflowMenuButton"
54 android:src="@drawable/btn_reload_stop"
55 android:contentDescription="@string/accessibility_btn_refresh"
56 chrome:tint="@color/app_menu_button_tint" />
57 </LinearLayout>
58 </org.chromium.chrome.browser.appmenu.AppMenuIconRowFooter>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698