OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 Google Inc. All Rights Reserved. | 2 <!-- Copyright 2015 Google Inc. All Rights Reserved. |
3 | 3 |
4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
5 you may not use this file except in compliance with the License. | 5 you may not use this file except in compliance with the License. |
6 You may obtain a copy of the License at | 6 You may obtain a copy of the License at |
7 | 7 |
8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 |
10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
11 distributed under the License is distributed on an "AS IS" BASIS, | 11 distributed under the License is distributed on an "AS IS" BASIS, |
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 See the License for the specific language governing permissions and | 13 See the License for the specific language governing permissions and |
14 limitations under the License. | 14 limitations under the License. |
15 --> | 15 --> |
16 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 16 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
17 android:layout_width="match_parent" | 17 android:layout_width="match_parent" |
18 android:layout_height="match_parent" | 18 android:layout_height="wrap_content" |
19 android:orientation="vertical" | 19 android:orientation="vertical" |
20 android:paddingBottom="@dimen/activity_vertical_margin" | 20 android:paddingBottom="@dimen/activity_vertical_margin" |
21 android:paddingLeft="@dimen/activity_horizontal_margin" | 21 android:paddingLeft="@dimen/activity_horizontal_margin" |
22 android:paddingRight="@dimen/activity_horizontal_margin" | 22 android:paddingRight="@dimen/activity_horizontal_margin" |
23 android:paddingTop="@dimen/activity_vertical_margin" | 23 android:paddingTop="@dimen/activity_vertical_margin" |
24 android:background="?android:attr/selectableItemBackground"> | 24 android:background="?android:attr/selectableItemBackground"> |
25 | 25 |
26 <TextView | 26 <TextView |
27 android:id="@+id/title" | 27 android:id="@+id/title" |
28 android:layout_width="match_parent" | 28 android:layout_width="match_parent" |
29 android:layout_height="wrap_content" | 29 android:layout_height="wrap_content" |
30 android:textSize="@dimen/abc_text_size_large_material" /> | 30 android:textSize="@dimen/abc_text_size_large_material" /> |
31 | 31 |
32 <TextView | 32 <TextView |
33 android:id="@+id/description" | 33 android:id="@+id/description" |
34 android:layout_width="match_parent" | 34 android:layout_width="match_parent" |
35 android:layout_height="wrap_content" | 35 android:layout_height="wrap_content" |
36 android:textSize="@dimen/abc_text_size_small_material" /> | 36 android:textSize="@dimen/abc_text_size_small_material" /> |
37 </LinearLayout> | 37 </LinearLayout> |
OLD | NEW |