added episode description and is watched status to MediaFragment
This commit is contained in:
@ -18,20 +18,31 @@
|
||||
android:id="@+id/image_episode"
|
||||
android:layout_width="128dp"
|
||||
android:layout_height="72dp"
|
||||
android:contentDescription="@string/component_poster_desc"
|
||||
app:srcCompat="@drawable/ic_baseline_account_box_24" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_episode_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_weight="1"
|
||||
android:text="TextView"
|
||||
android:text="@string/component_episode_title"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image_watched"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_margin="2dp"
|
||||
android:contentDescription="@string/component_watched_desc"
|
||||
app:srcCompat="@drawable/ic_baseline_check_circle_24" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_episode_desc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"/>
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user