1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 11:02:35 +01:00

Merge pull request #36 from darkon5/dev

3 Line Search List
This commit is contained in:
Christian Schabesberger 2015-09-20 22:30:41 +02:00
commit 30dcd3eef0
2 changed files with 14 additions and 16 deletions

View File

@ -15,13 +15,13 @@
<TextView android:id="@+id/itemVideoTitleView" <TextView android:id="@+id/itemVideoTitleView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="60dp" android:layout_height="40dp"
android:layout_toRightOf="@id/itemThumbnailView" android:layout_toRightOf="@id/itemThumbnailView"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:paddingLeft="6dp" android:paddingLeft="6dp"
android:paddingTop="4dp"
android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge"
android:textSize="@dimen/text_search_title_size" android:textSize="@dimen/text_search_title_size"
android:textStyle="bold"
/> />
<TextView android:id="@+id/itemUploaderView" <TextView android:id="@+id/itemUploaderView"
@ -33,6 +33,16 @@
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/text_search_uploader_size"/> android:textSize="@dimen/text_search_uploader_size"/>
<TextView android:text="itemUploadDateView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/itemThumbnailView"
android:layout_below="@id/itemUploaderView"
android:paddingLeft="6dp"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/text_search_uploadtime_size"
/>
<TextView android:id="@+id/itemDurationView" <TextView android:id="@+id/itemDurationView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -47,19 +57,7 @@
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/text_search_duration_size" android:textSize="@dimen/text_search_duration_size"
android:background="@drawable/durationback" android:background="@drawable/durationback"
android:textColor="#ffffff" android:textColor="#f7f7f7"
/> />
<TextView android:text="Upload date here"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/itemUploaderView"
android:layout_below="@id/itemVideoTitleView"
android:paddingLeft="6dp"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/text_search_uploadtime_size"
/>
</RelativeLayout> </RelativeLayout>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<dimen name="text_search_title_size">16sp</dimen> <dimen name="text_search_title_size">14sp</dimen>
<dimen name="text_search_duration_size">11sp</dimen> <dimen name="text_search_duration_size">11sp</dimen>
<dimen name="text_search_uploader_size">12sp</dimen> <dimen name="text_search_uploader_size">12sp</dimen>
<dimen name="text_search_uploadtime_size">12sp</dimen> <dimen name="text_search_uploadtime_size">12sp</dimen>