Chromium Code Reviews| Index: chrome/android/java/res/layout/clear_browsing_data_tab_content.xml |
| diff --git a/chrome/android/java/res/layout/clear_browsing_data_tab_content.xml b/chrome/android/java/res/layout/clear_browsing_data_tab_content.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2da30b3071cff215fa71184027a2c2d2b3449f1b |
| --- /dev/null |
| +++ b/chrome/android/java/res/layout/clear_browsing_data_tab_content.xml |
| @@ -0,0 +1,37 @@ |
| +<?xml version="1.0" encoding="utf-8"?> |
| +<!-- Copyright 2017 The Chromium Authors. All rights reserved. |
| + Use of this source code is governed by a BSD-style license that can be |
| + found in the LICENSE file. --> |
| + |
| +<!-- Used by ClearBrowsingDataPreferencesTab to replace the default layout |
| + of a PreferenceFragment and add a footer button. --> |
| + |
| +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| + android:layout_width="match_parent" |
| + android:layout_height="match_parent" |
| + android:orientation="vertical"> |
| + |
| + <ListView |
| + android:id="@android:id/list" |
| + android:layout_width="match_parent" |
| + android:layout_weight="1" |
| + android:layout_height="0dp"/> |
| + |
| + <View style="@style/Divider"/> |
| + |
| + <LinearLayout |
| + style="?android:attr/buttonBarStyle" |
| + android:layout_width="match_parent" |
| + android:layout_height="wrap_content" |
| + android:orientation="horizontal"> |
|
Theresa
2017/01/30 16:21:06
This LinearLayout probably isn't necessary if the
dullweber
2017/02/01 11:47:57
Yes, that works.
|
| + |
| + <Button |
| + android:id="@+id/clear_button" |
| + style="?android:attr/buttonBarButtonStyle" |
| + android:layout_width="match_parent" |
| + android:layout_height="match_parent" |
| + android:focusable="true" |
| + android:text="@string/clear_data_delete" /> |
| + </LinearLayout> |
| + |
| +</LinearLayout> |