Index: chrome/android/java/res/layout/storage_preference_fragment.xml |
diff --git a/chrome/android/java/res/layout/storage_preference_fragment.xml b/chrome/android/java/res/layout/storage_preference_fragment.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d406043ab83612be696734a6b85f56389e7a5510 |
--- /dev/null |
+++ b/chrome/android/java/res/layout/storage_preference_fragment.xml |
@@ -0,0 +1,40 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- Copyright 2016 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. --> |
+ |
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:orientation="vertical" |
+ android:layout_height="match_parent" |
+ android:layout_width="match_parent" |
+ android:background="@android:color/transparent"> |
+ |
+ <ListView android:id="@android:id/list" |
+ android:layout_width="match_parent" |
+ android:layout_height="0px" |
+ android:layout_weight="1" |
+ android:paddingTop="0dp" |
+ android:paddingBottom="0dp" |
+ android:clipToPadding="false" |
+ android:cacheColorHint="@android:color/transparent"/> |
+ |
+ <TextView android:id="@android:id/empty" |
+ android:layout_width="match_parent" |
+ android:layout_height="match_parent" |
+ android:padding="8dp" |
+ android:textAppearance="?android:attr/textAppearanceMedium" |
+ android:gravity="center" |
+ android:visibility="gone"/> |
+ |
+ <RelativeLayout android:id="@+id/button_bar" |
Theresa
2016/05/13 06:02:30
Can this be a FrameLayout instead of a RelativeLay
dmurph
2016/05/13 23:46:23
Done.
Theresa
2016/05/14 00:05:38
On second thought - or just the child. Does it nee
dmurph
2016/05/16 22:38:25
Done.
|
+ android:layout_height="wrap_content" |
+ android:layout_width="match_parent" |
+ android:layout_weight="0"> |
+ |
+ <Button android:id="@+id/clear_button" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:layout_margin="5dp" |
+ android:text="@string/storage_clear_button_title"/> |
+ </RelativeLayout> |
+</LinearLayout> |