Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | |
|
Finnur
2016/03/03 14:15:42
Nit: 2016
dmurph
2016/04/26 21:43:12
Done.
| |
| 3 Use of this source code is governed by a BSD-style license that can be | |
| 4 found in the LICENSE file. --> | |
| 5 | |
| 6 <!-- Based on Android framework file here: | |
| 7 platform_frameworks_base/core/res/res/layout/preference_list_fragment.xml | |
| 8 --> | |
| 9 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 10 android:orientation="vertical" | |
| 11 android:layout_height="match_parent" | |
| 12 android:layout_width="match_parent" | |
| 13 android:background="@android:color/transparent"> | |
| 14 | |
| 15 <ListView android:id="@android:id/list" | |
| 16 android:layout_width="match_parent" | |
| 17 android:layout_height="0px" | |
| 18 android:layout_weight="1" | |
| 19 android:paddingTop="0dip" | |
| 20 android:paddingBottom="0dp" | |
| 21 android:clipToPadding="false" | |
| 22 android:drawSelectorOnTop="false" | |
| 23 android:cacheColorHint="@android:color/transparent" | |
| 24 android:scrollbarAlwaysDrawVerticalTrack="true" /> | |
| 25 | |
| 26 <TextView android:id="@android:id/empty" | |
| 27 android:layout_width="match_parent" | |
| 28 android:layout_height="match_parent" | |
| 29 android:padding="8dip" | |
| 30 android:textAppearance="?android:attr/textAppearanceMedium" | |
| 31 android:gravity="center" | |
| 32 android:visibility="gone" | |
| 33 /> | |
| 34 | |
| 35 <RelativeLayout android:id="@+id/button_bar" | |
| 36 android:layout_height="wrap_content" | |
| 37 android:layout_width="match_parent" | |
| 38 android:layout_weight="0"> | |
| 39 | |
| 40 <Button android:id="@+id/clear_button" | |
| 41 android:layout_width="match_parent" | |
| 42 android:layout_height="wrap_content" | |
| 43 android:layout_margin="5dip" | |
| 44 android:text="@string/storage_clear_button_title" | |
| 45 /> | |
| 46 </RelativeLayout> | |
| 47 </LinearLayout> | |
| OLD | NEW |