OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. |
3 | 3 |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
10 android:layout_height="wrap_content" | 10 android:layout_height="wrap_content" |
(...skipping 14 matching lines...) Expand all Loading... |
25 android:id="@+id/dropdown_label" | 25 android:id="@+id/dropdown_label" |
26 android:layout_width="wrap_content" | 26 android:layout_width="wrap_content" |
27 android:layout_height="wrap_content" | 27 android:layout_height="wrap_content" |
28 android:layout_marginEnd="10dp" | 28 android:layout_marginEnd="10dp" |
29 android:layout_marginStart="10dp" | 29 android:layout_marginStart="10dp" |
30 android:ellipsize="end" | 30 android:ellipsize="end" |
31 android:includeFontPadding="false" | 31 android:includeFontPadding="false" |
32 android:singleLine="true" | 32 android:singleLine="true" |
33 android:textAlignment="viewStart" | 33 android:textAlignment="viewStart" |
34 android:textColor="@drawable/dropdown_label_color" | 34 android:textColor="@drawable/dropdown_label_color" |
35 android:textSize="18sp" /> | 35 android:textSize="@dimen/dropdown_item_label_font_size" /> |
36 | 36 |
37 <TextView | 37 <TextView |
38 android:id="@+id/dropdown_sublabel" | 38 android:id="@+id/dropdown_sublabel" |
39 android:layout_width="wrap_content" | 39 android:layout_width="wrap_content" |
40 android:layout_height="wrap_content" | 40 android:layout_height="wrap_content" |
41 android:layout_marginEnd="10dp" | 41 android:layout_marginEnd="10dp" |
42 android:layout_marginStart="10dp" | 42 android:layout_marginStart="10dp" |
43 android:ellipsize="end" | 43 android:ellipsize="end" |
44 android:includeFontPadding="false" | 44 android:includeFontPadding="false" |
45 android:singleLine="true" | 45 android:singleLine="true" |
46 android:textAlignment="viewStart" | 46 android:textAlignment="viewStart" |
47 android:textColor="#646464" | 47 android:textColor="#646464" |
48 android:textSize="14sp" /> | 48 android:textSize="14sp" /> |
49 </LinearLayout> | 49 </LinearLayout> |
50 | 50 |
51 <ImageView | 51 <ImageView |
52 android:id="@+id/dropdown_icon" | 52 android:id="@+id/dropdown_icon" |
53 android:layout_width="wrap_content" | 53 android:layout_width="wrap_content" |
54 android:layout_height="wrap_content" | 54 android:layout_height="wrap_content" |
55 android:layout_margin="8dp" | 55 android:layout_margin="8dp" |
56 android:contentDescription="@null" /> | 56 android:contentDescription="@null" /> |
57 | 57 |
58 </LinearLayout> | 58 </LinearLayout> |
OLD | NEW |