OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2017 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 <!-- Used by ClearBrowsingDataPreferencesTab to replace the default layout | 6 <!-- Used by ClearBrowsingDataPreferencesTab to replace the default layout |
7 of a PreferenceFragment and add a footer button. --> | 7 of a PreferenceFragment and add a footer button. --> |
8 | 8 |
9 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 9 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
10 android:layout_width="match_parent" | 10 android:layout_width="match_parent" |
11 android:layout_height="match_parent" | 11 android:layout_height="match_parent" |
12 android:orientation="vertical"> | 12 android:orientation="vertical"> |
13 | 13 |
14 <ListView | 14 <ListView |
15 android:id="@android:id/list" | 15 android:id="@android:id/list" |
16 android:layout_width="match_parent" | 16 android:layout_width="match_parent" |
17 android:layout_weight="1" | 17 android:layout_weight="1" |
18 android:layout_height="0dp"/> | 18 android:layout_height="0dp"/> |
19 | 19 |
20 <View style="@style/Divider"/> | 20 <View style="@style/Divider"/> |
21 | 21 |
22 <Button | 22 <Button |
23 android:id="@+id/clear_button" | 23 android:id="@+id/clear_button" |
| 24 android:layout_gravity="end" |
24 style="?android:attr/buttonBarButtonStyle" | 25 style="?android:attr/buttonBarButtonStyle" |
25 android:layout_width="match_parent" | 26 android:layout_width="wrap_content" |
26 android:layout_height="wrap_content" | 27 android:layout_height="wrap_content" |
| 28 android:padding="8dp" |
| 29 android:minHeight="48dp" |
| 30 android:layout_marginEnd="8dp" |
27 android:focusable="true" | 31 android:focusable="true" |
28 android:text="@string/clear_data_delete" /> | 32 android:text="@string/clear_data_delete" /> |
29 | 33 |
30 </LinearLayout> | 34 </LinearLayout> |
OLD | NEW |