OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. |
4 | 4 |
5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
6 found in the LICENSE file. | 6 found in the LICENSE file. |
7 --> | 7 --> |
8 | 8 |
9 <org.chromium.chrome.browser.widget.accessibility.AccessibilityTabModelListItem | 9 <org.chromium.chrome.browser.widget.accessibility.AccessibilityTabModelListItem |
10 xmlns:android="http://schemas.android.com/apk/res/android" | 10 xmlns:android="http://schemas.android.com/apk/res/android" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 android:textSize="18sp" /> | 42 android:textSize="18sp" /> |
43 <ImageButton | 43 <ImageButton |
44 android:id="@+id/close_btn" | 44 android:id="@+id/close_btn" |
45 android:scaleType="centerInside" | 45 android:scaleType="centerInside" |
46 android:layout_width="wrap_content" | 46 android:layout_width="wrap_content" |
47 android:layout_height="match_parent" | 47 android:layout_height="match_parent" |
48 android:minWidth="48dp" | 48 android:minWidth="48dp" |
49 android:padding="4dp" | 49 android:padding="4dp" |
50 android:background="?android:attr/selectableItemBackground" | 50 android:background="?android:attr/selectableItemBackground" |
51 android:contentDescription="@string/accessibility_tabstrip_btn_close
_tab" | 51 android:contentDescription="@string/accessibility_tabstrip_btn_close
_tab" |
52 android:src="@drawable/close_tab_incognito" | 52 android:src="@drawable/btn_tab_close" |
53 android:gravity="end|center_vertical" /> | 53 android:gravity="end|center_vertical" /> |
54 </LinearLayout> | 54 </LinearLayout> |
55 | 55 |
56 <LinearLayout | 56 <LinearLayout |
57 android:id="@+id/undo_contents" | 57 android:id="@+id/undo_contents" |
58 android:orientation="horizontal" | 58 android:orientation="horizontal" |
59 android:layout_width="match_parent" | 59 android:layout_width="match_parent" |
60 android:layout_height="match_parent" | 60 android:layout_height="match_parent" |
61 android:visibility="invisible"> | 61 android:visibility="invisible"> |
62 | 62 |
63 <Button | 63 <Button |
64 android:id="@+id/undo_button" | 64 android:id="@+id/undo_button" |
65 android:layout_height="match_parent" | 65 android:layout_height="match_parent" |
66 android:layout_width="0dp" | 66 android:layout_width="0dp" |
67 android:layout_weight="1" | 67 android:layout_weight="1" |
68 android:layout_gravity="center_vertical" | 68 android:layout_gravity="center_vertical" |
69 android:paddingStart="48dp" | 69 android:paddingStart="48dp" |
70 android:textAlignment="viewStart" | 70 android:textAlignment="viewStart" |
71 android:text="@string/accessibility_tab_switcher_undo_tab_closed" | 71 android:text="@string/accessibility_tab_switcher_undo_tab_closed" |
72 android:contentDescription="@string/accessibility_tab_switcher_undo_
tab_closed" | 72 android:contentDescription="@string/accessibility_tab_switcher_undo_
tab_closed" |
73 android:textColor="@color/accessibility_close_undo_text" | 73 android:textColor="@color/accessibility_close_undo_text" |
74 android:textSize="18sp" | 74 android:textSize="18sp" |
75 android:background="?android:attr/selectableItemBackground" /> | 75 android:background="?android:attr/selectableItemBackground" /> |
76 </LinearLayout> | 76 </LinearLayout> |
77 | 77 |
78 </org.chromium.chrome.browser.widget.accessibility.AccessibilityTabModelListItem
> | 78 </org.chromium.chrome.browser.widget.accessibility.AccessibilityTabModelListItem
> |
OLD | NEW |