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" |
Brian Attwell | daa2058 | 2014-11-25 20:45:44 -0800 | [diff] [blame^] | 25 | android:layout_height="@dimen/divider_line_height" |
| 26 | android:background="@color/divider_line_color_light" /> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 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 | |
Paul Soulos | c205cf1 | 2014-08-04 14:35:56 -0700 | [diff] [blame] | 33 | <ImageView |
| 34 | android:id="@+id/arrow" |
| 35 | android:src="@drawable/expanding_entry_card_expand_white_24" |
| 36 | android:layout_width="wrap_content" |
| 37 | android:layout_height="wrap_content" |
| 38 | android:layout_marginStart="@dimen/expanding_entry_card_item_padding_start" |
| 39 | android:paddingBottom="@dimen/expanding_entry_card_button_padding_vertical" |
| 40 | android:paddingTop="@dimen/expanding_entry_card_button_padding_vertical" |
| 41 | android:layout_weight="0" /> |
| 42 | |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 43 | <TextView |
| 44 | android:id="@+id/text" |
| 45 | android:layout_width="wrap_content" |
| 46 | android:layout_height="wrap_content" |
Paul Soulos | c205cf1 | 2014-08-04 14:35:56 -0700 | [diff] [blame] | 47 | android:paddingStart="@dimen/expanding_entry_card_item_image_spacing" |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 48 | android:gravity="center_vertical" |
| 49 | android:layout_weight="0" |
| 50 | android:paddingBottom="@dimen/expanding_entry_card_button_padding_vertical" |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 51 | android:paddingTop="@dimen/expanding_entry_card_button_padding_vertical" |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 52 | android:textColor="@color/expanding_entry_card_button_text_color" |
| 53 | android:textSize="@dimen/expanding_entry_card_title_text_size" /> |
Paul Soulos | 6b63289 | 2014-07-28 14:05:11 -0700 | [diff] [blame] | 54 | |
| 55 | <LinearLayout |
| 56 | android:id="@+id/badge_container" |
| 57 | android:gravity="end" |
| 58 | android:layout_width="wrap_content" |
| 59 | android:layout_height="wrap_content" |
| 60 | android:layout_marginRight="11dp" |
| 61 | android:layout_marginTop="@dimen/expanding_entry_card_button_padding_vertical" |
| 62 | android:layout_weight="1" |
| 63 | android:alpha=".3" |
| 64 | android:orientation="horizontal" /> |
| 65 | </LinearLayout> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 66 | |
| 67 | </LinearLayout> |