Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: chrome/android/java/res/layout/storage_preference_fragment.xml

Issue 1465363002: [Storage] Android - ManageSpace UI, Important Origins, and CBD Dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile & comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
Ted C 2016/06/06 23:53:55 storage_preference_fragment doesn't seem to be con
dmurph 2016/06/07 17:57:01 Done.
2 <!-- Copyright 2016 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 android:orientation="vertical"
8 android:layout_height="match_parent"
9 android:layout_width="match_parent"
10 android:background="@android:color/transparent">
Ted C 2016/06/06 23:53:54 why do you need to specify a background? could yo
dmurph 2016/06/07 17:57:01 This is from the default layout xml. I can remove.
11
12 <ListView android:id="@android:id/list"
13 android:layout_width="match_parent"
14 android:layout_height="0dp"
15 android:layout_weight="1"
16 android:paddingTop="0dp"
Ted C 2016/06/06 23:53:54 shouldn't 0 be the default padding? why adding th
dmurph 2016/06/07 17:57:01 Copied this from the system layout file.
17 android:paddingBottom="0dp"/>
18
19 <TextView android:id="@android:id/empty"
Ted C 2016/06/06 23:53:54 do you actually need this? I don't see it set any
dmurph 2016/06/07 17:57:01 Yes, when the list is empty we display this text.
20 android:layout_width="match_parent"
21 android:layout_height="match_parent"
22 android:padding="8dp"
23 android:textAppearance="?android:attr/textAppearanceMedium"
24 android:gravity="center"
25 android:visibility="gone"/>
26
27 <Button android:id="@+id/clear_button"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:text="@string/storage_clear_button_title"
31 style="@style/FlushFooterButton"/>
32 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698