Skip to content

Commit 30dcd3e

Browse files
committed
Merge pull request #36 from darkon5/dev
3 Line Search List
2 parents b20ae45 + 049a42a commit 30dcd3e

2 files changed

Lines changed: 14 additions & 16 deletions

File tree

app/src/main/res/layout/video_item.xml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515

1616
<TextView android:id="@+id/itemVideoTitleView"
1717
android:layout_width="wrap_content"
18-
android:layout_height="60dp"
18+
android:layout_height="40dp"
1919
android:layout_toRightOf="@id/itemThumbnailView"
2020
android:layout_alignParentTop="true"
2121
android:paddingLeft="6dp"
22+
android:paddingTop="4dp"
2223
android:textAppearance="?android:attr/textAppearanceLarge"
2324
android:textSize="@dimen/text_search_title_size"
24-
android:textStyle="bold"
2525
/>
2626

2727
<TextView android:id="@+id/itemUploaderView"
@@ -33,6 +33,16 @@
3333
android:textAppearance="?android:attr/textAppearanceSmall"
3434
android:textSize="@dimen/text_search_uploader_size"/>
3535

36+
<TextView android:text="itemUploadDateView"
37+
android:layout_width="wrap_content"
38+
android:layout_height="wrap_content"
39+
android:layout_toRightOf="@id/itemThumbnailView"
40+
android:layout_below="@id/itemUploaderView"
41+
android:paddingLeft="6dp"
42+
android:textAppearance="?android:attr/textAppearanceSmall"
43+
android:textSize="@dimen/text_search_uploadtime_size"
44+
/>
45+
3646
<TextView android:id="@+id/itemDurationView"
3747
android:layout_width="wrap_content"
3848
android:layout_height="wrap_content"
@@ -47,19 +57,7 @@
4757
android:textAppearance="?android:attr/textAppearanceSmall"
4858
android:textSize="@dimen/text_search_duration_size"
4959
android:background="@drawable/durationback"
50-
android:textColor="#ffffff"
51-
/>
52-
53-
<TextView android:text="Upload date here"
54-
android:layout_width="wrap_content"
55-
android:layout_height="wrap_content"
56-
android:layout_toRightOf="@id/itemUploaderView"
57-
android:layout_below="@id/itemVideoTitleView"
58-
android:paddingLeft="6dp"
59-
android:textAppearance="?android:attr/textAppearanceSmall"
60-
android:textSize="@dimen/text_search_uploadtime_size"
60+
android:textColor="#f7f7f7"
6161
/>
6262

63-
64-
6563
</RelativeLayout>

app/src/main/res/values/dimentxt.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<dimen name="text_search_title_size">16sp</dimen>
3+
<dimen name="text_search_title_size">14sp</dimen>
44
<dimen name="text_search_duration_size">11sp</dimen>
55
<dimen name="text_search_uploader_size">12sp</dimen>
66
<dimen name="text_search_uploadtime_size">12sp</dimen>

0 commit comments

Comments
 (0)