| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2014 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| style="@style/SelectableItem" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" > |
| |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/divider_line_height" |
| android:background="@color/divider_line_color_light" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" > |
| |
| <ImageView |
| android:id="@+id/arrow" |
| android:src="@drawable/expanding_entry_card_expand_white_24" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginStart="@dimen/expanding_entry_card_item_padding_start" |
| android:paddingBottom="@dimen/expanding_entry_card_button_padding_vertical" |
| android:paddingTop="@dimen/expanding_entry_card_button_padding_vertical" |
| android:layout_weight="0" /> |
| |
| <TextView |
| android:id="@+id/text" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:paddingStart="@dimen/expanding_entry_card_item_image_spacing" |
| android:gravity="center_vertical" |
| android:layout_weight="0" |
| android:paddingBottom="@dimen/expanding_entry_card_button_padding_vertical" |
| android:paddingTop="@dimen/expanding_entry_card_button_padding_vertical" |
| android:textColor="@color/expanding_entry_card_button_text_color" |
| android:textSize="@dimen/expanding_entry_card_title_text_size" /> |
| |
| <LinearLayout |
| android:id="@+id/badge_container" |
| android:gravity="end" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginRight="11dp" |
| android:layout_marginTop="@dimen/expanding_entry_card_button_padding_vertical" |
| android:layout_weight="1" |
| android:alpha=".3" |
| android:orientation="horizontal" /> |
| </LinearLayout> |
| |
| </LinearLayout> |