OLD | NEW |
---|---|
(Empty) | |
1 <?xml version="1.0" encoding="utf-8"?> | |
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"> | |
11 | |
12 <ListView android:id="@android:id/list" | |
13 android:layout_width="match_parent" | |
14 android:layout_height="0px" | |
15 android:layout_weight="1" | |
16 android:paddingTop="0dp" | |
17 android:paddingBottom="0dp" | |
18 android:clipToPadding="false" | |
Ted C
2016/05/16 23:32:07
the padding is 0, why do we need this?
dmurph
2016/05/18 23:27:59
Dunno, copied this file.
| |
19 android:cacheColorHint="@android:color/transparent"/> | |
Ted C
2016/05/16 23:32:07
what is this accomplishing?
in particular, it sta
dmurph
2016/05/18 23:27:59
Dunno, I copied this from the default style.
| |
20 | |
21 <TextView android:id="@android:id/empty" | |
22 android:layout_width="match_parent" | |
23 android:layout_height="match_parent" | |
24 android:padding="8dp" | |
25 android:textAppearance="?android:attr/textAppearanceMedium" | |
26 android:gravity="center" | |
27 android:visibility="gone"/> | |
28 | |
29 <Button android:id="@+id/clear_button" | |
30 android:layout_width="match_parent" | |
31 android:layout_height="wrap_content" | |
32 android:layout_weight="0" | |
Ted C
2016/05/16 23:32:07
I think we typically don't specify 0 as it is the
dmurph
2016/05/18 23:27:59
Done.
| |
33 android:text="@string/storage_clear_button_title" | |
34 style="?android:attr/borderlessButtonStyle"/> | |
35 </LinearLayout> | |
OLD | NEW |