You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
3.3 KiB
78 lines
3.3 KiB
<?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.
|
|
-->
|
|
<com.android.tv.settings.widget.FrameLayoutWithShadows xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/shadow_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
settings:defaultShadow="@drawable/art_frame_shadow" >
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingStart="@dimen/content_fragment_start_padding"
|
|
android:paddingEnd="@dimen/content_fragment_delimiter_padding" >
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
style="@style/Canvas.Image.Dialog.Content.Icon"
|
|
android:layout_width="@dimen/content_fragment_icon_width"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="@dimen/content_fragment_delimiter_padding"
|
|
android:padding="@dimen/icon_padding"
|
|
android:scaleType="fitCenter"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
style="@style/Canvas.Text.Dialog.Content.Title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignWithParentIfMissing="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toStartOf="@id/icon"
|
|
android:ellipsize="end"
|
|
android:gravity="end"
|
|
android:maxLines="2" />
|
|
|
|
<TextView
|
|
android:id="@+id/breadcrumb"
|
|
style="@style/Canvas.Text.Dialog.Content.Breadcrumb"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@id/title"
|
|
android:layout_alignWithParentIfMissing="true"
|
|
android:layout_toStartOf="@id/icon"
|
|
android:ellipsize="end"
|
|
android:singleLine="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/description"
|
|
style="@style/Canvas.Text.Dialog.Content.Description"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignWithParentIfMissing="true"
|
|
android:layout_below="@id/title"
|
|
android:layout_toStartOf="@id/icon"
|
|
android:ellipsize="end"
|
|
android:maxLines="6" />
|
|
</RelativeLayout>
|
|
|
|
</com.android.tv.settings.widget.FrameLayoutWithShadows>
|