OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2014 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 <!-- Layout used by ButtonPreference for the button widget style. --> | |
7 | |
8 <LinearLayout | 6 <LinearLayout |
9 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
10 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
11 style="@style/PreferenceLayout" | |
12 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
13 android:layout_height="wrap_content" | 10 android:layout_height="wrap_content" |
14 android:clipToPadding="false" | 11 android:orientation="vertical" |
15 android:gravity="center_vertical" | 12 android:paddingTop="10dp" |
16 android:orientation="vertical"> | 13 android:paddingBottom="28dp" > |
| 14 |
| 15 <TextView |
| 16 android:id="@+id/text_view" |
| 17 android:layout_width="match_parent" |
| 18 android:layout_height="wrap_content" |
| 19 android:textSize="14sp" /> |
17 | 20 |
18 <org.chromium.chrome.browser.widget.ButtonCompat | 21 <org.chromium.chrome.browser.widget.ButtonCompat |
19 android:id="@+id/button_preference" | 22 android:id="@+id/enable_sync_button" |
| 23 android:layout_width="wrap_content" |
20 android:layout_height="wrap_content" | 24 android:layout_height="wrap_content" |
21 android:layout_width="wrap_content" | 25 android:layout_marginTop="24dp" |
22 android:minHeight="40dp" | 26 android:text="@string/ntp_recent_tabs_sync_enable_sync_button" |
23 android:textColor="#fff" | 27 android:textColor="#fff" |
24 chrome:buttonColor="@color/pref_accent_color" /> | 28 chrome:buttonColor="@color/light_active_color" /> |
25 | 29 |
26 </LinearLayout> | 30 </LinearLayout> |
OLD | NEW |