| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2015 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" |
| xmlns:lb="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/container" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <ImageView |
| android:id="@+id/main_image" |
| android:layout_width="144dp" |
| android:layout_height="144dp" |
| lb:layout_viewType="main" |
| /> |
| |
| <LinearLayout |
| android:id="@+id/info" |
| android:layout_width="144dp" |
| android:layout_height="match_parent" |
| android:orientation="vertical" |
| android:paddingLeft="11dp" |
| android:paddingRight="11dp" |
| android:paddingTop="7dp" |
| android:background="@color/default_card_footer_background_color"> |
| |
| <TextView |
| android:id="@+id/primary_text" |
| style="@style/Widget.Leanback.ImageCardView.TitleStyle" |
| android:fontFamily="sans-serif-condensed" |
| android:maxLines="2" |
| android:textSize="16sp"/> |
| |
| <TextView |
| android:id="@+id/secondary_text" |
| style="@style/Widget.Leanback.ImageCardView.ContentStyle" |
| android:layout_marginTop="4dp" |
| android:fontFamily="sans-serif-condensed" |
| android:maxLines="1" |
| android:textColor="#EEEEEE"/> |
| |
| <TextView |
| android:id="@+id/extra_text" |
| style="@style/Widget.Leanback.ImageCardView.ContentStyle" |
| android:layout_marginTop="6dp" |
| android:fontFamily="sans-serif-condensed" |
| android:maxLines="5"/> |
| </LinearLayout> |
| </LinearLayout> |