Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2014 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (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 |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 18 | style="@style/SelectableItem" |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="wrap_content" |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 21 | android:orientation="vertical" > |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 22 | |
| 23 | <View |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="@dimen/expanding_entry_card_item_separator_height" |
| 26 | android:background="@color/expanding_entry_card_item_separator_color" /> |
| 27 | |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 28 | <LinearLayout |
| 29 | android:layout_width="match_parent" |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 30 | android:layout_height="wrap_content" |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 31 | android:orientation="horizontal" > |
| 32 | |
| 33 | <TextView |
| 34 | android:id="@+id/text" |
| 35 | android:layout_width="wrap_content" |
| 36 | android:layout_height="wrap_content" |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame^] | 37 | android:drawablePadding="@dimen/expanding_entry_card_item_image_spacing" |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 38 | android:gravity="center_vertical" |
| 39 | android:layout_weight="0" |
| 40 | android:paddingBottom="@dimen/expanding_entry_card_button_padding_vertical" |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame^] | 41 | android:paddingStart="@dimen/expanding_entry_card_item_padding_start" |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 42 | android:paddingTop="@dimen/expanding_entry_card_button_padding_vertical" |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame^] | 43 | android:textColor="@color/expanding_entry_card_button_text_color" |
| 44 | android:textSize="@dimen/expanding_entry_card_title_text_size" /> |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 45 | |
| 46 | <LinearLayout |
| 47 | android:id="@+id/badge_container" |
| 48 | android:gravity="end" |
| 49 | android:layout_width="wrap_content" |
| 50 | android:layout_height="wrap_content" |
| 51 | android:layout_marginRight="11dp" |
| 52 | android:layout_marginTop="@dimen/expanding_entry_card_button_padding_vertical" |
| 53 | android:layout_weight="1" |
| 54 | android:alpha=".3" |
| 55 | android:orientation="horizontal" /> |
| 56 | </LinearLayout> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 57 | |
| 58 | </LinearLayout> |