OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <org.chromium.chrome.browser.ntp.NewTabPageView | 6 <org.chromium.chrome.browser.ntp.NewTabPageView |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
8 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
9 android:layout_height="match_parent" | 9 android:layout_height="match_parent" |
10 android:paddingTop="@dimen/tab_strip_height" > | 10 android:paddingTop="@dimen/tab_strip_height" > |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 android:layout_width="wrap_content" | 42 android:layout_width="wrap_content" |
43 android:layout_height="match_parent" | 43 android:layout_height="match_parent" |
44 android:layout_gravity="center_horizontal" | 44 android:layout_gravity="center_horizontal" |
45 android:drawablePadding="8dp" | 45 android:drawablePadding="8dp" |
46 android:gravity="center_vertical" | 46 android:gravity="center_vertical" |
47 android:text="@null" | 47 android:text="@null" |
48 android:textSize="12sp" | 48 android:textSize="12sp" |
49 android:textColor="#5a5a5a" /> | 49 android:textColor="#5a5a5a" /> |
50 </FrameLayout> | 50 </FrameLayout> |
51 <FrameLayout | 51 <FrameLayout |
52 android:id="@+id/interests_button" | |
53 android:layout_width="0dp" | |
54 android:layout_height="match_parent" | |
55 android:layout_weight="1" | |
56 android:background="?attr/listChoiceBackgroundIndicator" | |
57 android:contentDescription="@string/accessibility_ntp_toolbar_btn_in
terests" | |
58 android:paddingBottom="12dp" | |
59 android:paddingTop="12dp" | |
60 android:visibility="gone" > | |
61 <TextView | |
62 android:layout_gravity="center_horizontal" | |
63 android:layout_height="match_parent" | |
64 android:layout_width="wrap_content" | |
65 android:drawablePadding="8dp" | |
66 android:gravity="center_vertical" | |
67 android:text="@string/ntp_interests" | |
68 android:textColor="#5a5a5a" | |
69 android:textSize="12sp" /> | |
70 </FrameLayout> | |
71 <FrameLayout | |
72 android:id="@+id/recent_tabs_button" | 52 android:id="@+id/recent_tabs_button" |
73 android:layout_width="0dp" | 53 android:layout_width="0dp" |
74 android:layout_height="match_parent" | 54 android:layout_height="match_parent" |
75 android:layout_weight="1" | 55 android:layout_weight="1" |
76 android:background="?attr/listChoiceBackgroundIndicator" | 56 android:background="?attr/listChoiceBackgroundIndicator" |
77 android:contentDescription="@string/accessibility_ntp_toolbar_btn_re
cent_tabs" | 57 android:contentDescription="@string/accessibility_ntp_toolbar_btn_re
cent_tabs" |
78 android:paddingTop="12dp" | 58 android:paddingTop="12dp" |
79 android:paddingBottom="12dp" > | 59 android:paddingBottom="12dp" > |
80 <TextView | 60 <TextView |
81 android:layout_width="wrap_content" | 61 android:layout_width="wrap_content" |
82 android:layout_height="match_parent" | 62 android:layout_height="match_parent" |
83 android:layout_gravity="center_horizontal" | 63 android:layout_gravity="center_horizontal" |
84 android:drawablePadding="8dp" | 64 android:drawablePadding="8dp" |
85 android:gravity="center_vertical" | 65 android:gravity="center_vertical" |
86 android:text="@string/recent_tabs" | 66 android:text="@string/recent_tabs" |
87 android:textSize="12sp" | 67 android:textSize="12sp" |
88 android:textColor="#5a5a5a" /> | 68 android:textColor="#5a5a5a" /> |
89 </FrameLayout> | 69 </FrameLayout> |
90 </org.chromium.chrome.browser.ntp.NewTabPageToolbar> | 70 </org.chromium.chrome.browser.ntp.NewTabPageToolbar> |
91 </org.chromium.chrome.browser.ntp.NewTabPageView> | 71 </org.chromium.chrome.browser.ntp.NewTabPageView> |
OLD | NEW |