diff options
Diffstat (limited to 'samples/SupportLeanbackShowcase/app/src/main/res/layout/detail_view_content.xml')
-rw-r--r-- | samples/SupportLeanbackShowcase/app/src/main/res/layout/detail_view_content.xml | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/samples/SupportLeanbackShowcase/app/src/main/res/layout/detail_view_content.xml b/samples/SupportLeanbackShowcase/app/src/main/res/layout/detail_view_content.xml new file mode 100644 index 000000000..5140ed7e6 --- /dev/null +++ b/samples/SupportLeanbackShowcase/app/src/main/res/layout/detail_view_content.xml @@ -0,0 +1,96 @@ +<?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" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <TextView + android:id="@+id/primary_text" + style="@style/Widget.Leanback.DetailsDescriptionTitleStyle" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="3dp" + android:layout_marginTop="15dp" + android:fontFamily="sans-serif-light" + android:text="Title Text"/> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="14dp" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <TextView + android:id="@+id/secondary_text_first" + style="@style/Widget.Leanback.DetailsDescriptionSubtitleStyle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="16dp" + android:fontFamily="sans-serif-condensed" + android:text="Secondary Text Area"/> + + <TextView + android:id="@+id/secondary_text_second" + style="@style/Widget.Leanback.DetailsDescriptionSubtitleStyle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="16dp" + android:fontFamily="sans-serif-condensed" + android:text="With Icons"/> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="16dp" + android:src="@drawable/ic_cc"/> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_star_on_yellow"/> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_star_on_yellow"/> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_star_on_yellow"/> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_star_off"/> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_star_off"/> + </LinearLayout> + + <TextView + android:id="@+id/extra_text" + style="@style/Widget.Leanback.DetailsDescriptionBodyStyle" + android:layout_width="match_parent" + android:fontFamily="sans-serif-regular" + android:layout_height="wrap_content" + android:text="Filmmaker Guillermo del Toro teas up with Legendary Pictures to bring audiences a unique take on the monster film with this sci/fi production."/> +</LinearLayout>
\ No newline at end of file |