mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-22 21:38:29 +01:00
adding the video duration at list view too
This commit is contained in:
parent
4f7718dbd8
commit
7aa1945795
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/media_item_holder"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@ -53,6 +54,20 @@
|
||||
android:src="@drawable/img_play_outline_empty"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/video_duration"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="6dp"
|
||||
android:layout_toLeftOf="@+id/play_outline"
|
||||
android:paddingLeft="@dimen/small_margin"
|
||||
android:paddingRight="@dimen/small_margin"
|
||||
android:paddingBottom="@dimen/small_margin"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/normal_text_size"
|
||||
tools:text="00:05"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/dir_list_divider"
|
||||
android:layout_width="match_parent"
|
||||
|
Loading…
Reference in New Issue
Block a user