aboutsummaryrefslogtreecommitdiff
path: root/res/layout/dvr_recording_card_view.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/dvr_recording_card_view.xml')
-rw-r--r--res/layout/dvr_recording_card_view.xml37
1 files changed, 27 insertions, 10 deletions
diff --git a/res/layout/dvr_recording_card_view.xml b/res/layout/dvr_recording_card_view.xml
index d3808a31..53a7cf3d 100644
--- a/res/layout/dvr_recording_card_view.xml
+++ b/res/layout/dvr_recording_card_view.xml
@@ -16,12 +16,12 @@
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tv="http://schemas.android.com/apk/res/com.android.tv"
- android:layout_width="@dimen/dvr_card_layout_width"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content">
<FrameLayout
- android:layout_width="@dimen/dvr_card_image_layout_width"
- android:layout_height="@dimen/dvr_card_image_layout_height"
+ android:layout_width="@dimen/dvr_library_card_image_layout_width"
+ android:layout_height="@dimen/dvr_library_card_image_layout_height"
android:layout_margin="2dp">
<ImageView android:id="@+id/image"
@@ -35,7 +35,7 @@
<ProgressBar android:id="@+id/recording_progress"
style="@android:style/Widget.ProgressBar.Horizontal"
android:layout_width="match_parent"
- android:layout_height="@dimen/dvr_card_progress_height"
+ android:layout_height="@dimen/dvr_library_card_progress_height"
android:mirrorForRtl="false"
android:progressTint="@color/play_controls_progress_bar_watched"
android:progressDrawable="@drawable/progress_horizontal"
@@ -70,13 +70,30 @@
android:background="@color/dvr_card_info"
tv:layout_viewType="info">
- <TextView android:id="@+id/title"
+ <FrameLayout android:id="@+id/title_area"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="1dp"
- android:gravity="start"
- style="@style/dvr_card_view_title_text"
- tv:layout_viewType="main"/>
+ android:layout_height="@dimen/dvr_library_card_folded_title_height">
+
+ <TextView android:id="@+id/title_one_line"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="1dp"
+ android:gravity="start"
+ android:maxLines="1"
+ style="@style/dvr_card_view_title_text"
+ tv:layout_viewType="main"/>
+
+ <TextView android:id="@+id/title_two_lines"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="1dp"
+ android:gravity="start"
+ android:maxLines="2"
+ android:alpha="0"
+ style="@style/dvr_card_view_title_text"
+ tv:layout_viewType="main"/>
+
+ </FrameLayout>
<RelativeLayout
android:layout_width="match_parent"