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

Side by Side Diff: chrome/android/java/res/layout/accessibility_tab_switcher.xml

Issue 276483004: Upstream accessibility tab switcher and related resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
4
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
8
9 <org.chromium.chrome.browser.widget.accessibility.AccessibilityTabModelWrapper
10 xmlns:android="http://schemas.android.com/apk/res/android"
11 android:layout_width="match_parent"
12 android:layout_height="match_parent"
13 android:orientation="vertical"
14 android:id="@+id/wrapper"
15 android:background="@color/tab_switcher_background"
16 android:divider="@drawable/accessibility_tab_switcher_divider"
17 android:showDividers="middle">
18
19 <org.chromium.chrome.browser.widget.accessibility.AccessibilityTabModelListV iew
20 android:id="@+id/list_view"
21 android:layout_width="match_parent"
22 android:layout_height="0dp"
23 android:layout_weight="1"
24 android:contentDescription="@string/accessibility_tab_switcher_standard_ stack" />
25
26 <LinearLayout
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 android:orientation="horizontal"
30 android:id="@+id/button_wrapper"
31 android:visibility="gone">
32
33 <ImageButton
34 android:id="@+id/standard_tabs_button"
35 android:layout_width="0dp"
36 android:layout_height="wrap_content"
37 android:layout_weight="1"
38 android:background="@drawable/ntp_toolbar_button_background_selected "
39 android:src="@drawable/tabstrip_incognito_switch_normal"
40 android:contentDescription="@string/accessibility_tab_switcher_stand ard_stack"
41 style="?android:attr/borderlessButtonStyle" />
42
43 <ImageView
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:layout_gravity="center_vertical"
47 android:src="@drawable/incognito_separator"
48 android:contentDescription="@null" />
49
50 <ImageButton
51 android:id="@+id/incognito_tabs_button"
52 android:layout_width="0dp"
53 android:layout_height="wrap_content"
54 android:layout_weight="1"
55 android:src="@drawable/tabstrip_incognito_switch_incognito"
56 android:background="@drawable/ntp_toolbar_button_background"
57 android:contentDescription="@string/accessibility_tab_switcher_incog nito_stack"
58 style="?android:attr/borderlessButtonStyle" />
59 </LinearLayout>
60 </org.chromium.chrome.browser.widget.accessibility.AccessibilityTabModelWrapper>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698