Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 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 | |
| 4 found in the LICENSE file. --> | |
| 5 | |
| 6 <!-- Used by ClearBrowsingDataPreferencesTab to replace the default layout | |
| 7 of a PreferenceFragment and add a footer button. --> | |
| 8 | |
| 9 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 10 android:layout_width="match_parent" | |
| 11 android:layout_height="match_parent" | |
| 12 android:orientation="vertical"> | |
| 13 | |
| 14 <ListView | |
| 15 android:id="@android:id/list" | |
| 16 android:layout_width="match_parent" | |
| 17 android:layout_weight="1" | |
| 18 android:layout_height="0dp"/> | |
| 19 | |
| 20 <View style="@style/Divider"/> | |
| 21 | |
| 22 <LinearLayout | |
| 23 style="?android:attr/buttonBarStyle" | |
| 24 android:layout_width="match_parent" | |
| 25 android:layout_height="wrap_content" | |
| 26 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.
| |
| 27 | |
| 28 <Button | |
| 29 android:id="@+id/clear_button" | |
| 30 style="?android:attr/buttonBarButtonStyle" | |
| 31 android:layout_width="match_parent" | |
| 32 android:layout_height="match_parent" | |
| 33 android:focusable="true" | |
| 34 android:text="@string/clear_data_delete" /> | |
| 35 </LinearLayout> | |
| 36 | |
| 37 </LinearLayout> | |
| OLD | NEW |