lets show more info at the Recents tab

This commit is contained in:
tibbi
2020-05-08 21:01:28 +02:00
parent 73c939b435
commit d5e34f7dc9
2 changed files with 34 additions and 8 deletions

View File

@ -13,8 +13,6 @@
android:id="@+id/item_recents_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/min_row_height"
android:paddingStart="@dimen/tiny_margin"
android:paddingTop="@dimen/medium_margin"
android:paddingEnd="@dimen/activity_margin"
android:paddingBottom="@dimen/medium_margin">
@ -25,22 +23,42 @@
android:layout_height="@dimen/normal_icon_size"
android:layout_centerVertical="true"
android:layout_marginStart="@dimen/small_margin"
android:padding="@dimen/tiny_margin"
android:layout_marginEnd="@dimen/small_margin"
android:padding="@dimen/small_margin"
android:src="@drawable/ic_person_vector" />
<TextView
android:id="@+id/item_recents_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toEndOf="@+id/item_recents_image"
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="1"
android:paddingStart="@dimen/medium_margin"
android:paddingEnd="@dimen/activity_margin"
android:textSize="@dimen/bigger_text_size"
tools:text="John Doe" />
<TextView
android:id="@+id/item_recents_date_time"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/item_recents_name"
android:layout_alignStart="@+id/item_recents_name"
android:layout_toStartOf="@+id/item_recents_duration"
android:layout_toEndOf="@+id/item_recents_image"
android:alpha="0.6"
android:maxLines="1"
android:textSize="@dimen/normal_text_size"
tools:text="0123 456 789" />
<TextView
android:id="@+id/item_recents_duration"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/item_recents_name"
android:layout_alignParentEnd="true"
android:alpha="0.6"
android:textSize="@dimen/normal_text_size"
tools:text="00:10" />
</RelativeLayout>
</FrameLayout>