mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 02:53:09 +01:00
commit
658ef2ef26
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@
|
|||||||
/captures
|
/captures
|
||||||
/app/app.iml
|
/app/app.iml
|
||||||
/.idea
|
/.idea
|
||||||
|
/*.iml
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
|
|
||||||
<solid android:color="#000000" />
|
|
||||||
<stroke android:width="1dip" android:color="#888"/>
|
|
||||||
</shape>
|
|
@ -3,8 +3,9 @@
|
|||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
style="?android:attr/textAppearanceLarge"
|
|
||||||
tools:context=".VideoItemDetailFragment"
|
tools:context=".VideoItemDetailFragment"
|
||||||
|
android:textIsSelectable="true"
|
||||||
|
style="?android:attr/textAppearanceLarge"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/videoitem_detail">
|
android:id="@+id/videoitem_detail">
|
||||||
@ -19,125 +20,131 @@
|
|||||||
android:id="@+id/detailMainContent"
|
android:id="@+id/detailMainContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:textIsSelectable="true"
|
|
||||||
android:visibility="invisible">
|
android:visibility="invisible">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
android:padding="16dp">
|
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbnailView"
|
<RelativeLayout android:id="@+id/detailVideoInfo"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:src="@drawable/dummy_thumbnail"/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailVideoTitleView"
|
<ImageView android:id="@+id/detailThumbnailView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailThumbnailView"
|
android:scaleType="centerInside"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingLeft="6dp"
|
android:layout_alignParentTop="true"
|
||||||
android:paddingRight="6dp"
|
android:adjustViewBounds="true"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
android:src="@drawable/dummy_thumbnail"/>
|
||||||
android:text="Bla blabla !!!"/>
|
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
<RelativeLayout
|
||||||
android:layout_width="80dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="100dp"
|
android:layout_height="wrap_content"
|
||||||
android:paddingTop="25dp"
|
android:layout_below="@id/detailThumbnailView"
|
||||||
android:paddingLeft="5dp"
|
android:paddingTop="10dp"
|
||||||
android:paddingRight="5dp"
|
android:paddingBottom="10dp"
|
||||||
android:layout_below="@id/detailVideoTitleView"
|
android:paddingRight="10dp"
|
||||||
android:layout_alignParentLeft="true"
|
android:paddingLeft="10dp">
|
||||||
android:src="@drawable/buddy" />
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailUploaderView"
|
<TextView android:id="@+id/detailVideoTitleView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailUploaderThumbnailView"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentLeft="true"
|
android:textStyle="bold"
|
||||||
android:paddingLeft="6dp"
|
android:paddingBottom="5dp"
|
||||||
android:paddingRight="6dp"
|
android:textSize="@dimen/text_video_title_land_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
android:text="Herr von Gurken" />
|
android:text="Video title placeholder"/>
|
||||||
|
|
||||||
<View android:id="@+id/textSeperationLine"
|
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="100dp"
|
||||||
android:layout_height="1dp"
|
android:layout_height="100dp"
|
||||||
android:background="@android:color/darker_gray"
|
android:layout_below="@id/detailVideoTitleView"
|
||||||
android:layout_below="@id/detailUploaderView"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingTop="20dp"
|
android:src="@drawable/buddy" />
|
||||||
android:layout_alignParentLeft="true" />
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailViewCountView"
|
<TextView android:id="@+id/detailUploaderView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailVideoTitleView"
|
android:layout_below="@id/detailUploaderThumbnailView"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingTop="70dp"
|
android:textStyle="bold"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
android:textSize="@dimen/text_video_uploader_land_size"
|
||||||
android:text="1.000.115 views" />
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
|
android:text="username" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailThumbsDownCountView"
|
<TextView android:id="@+id/detailViewCountView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:paddingBottom="5dp"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_below="@id/detailVideoTitleView"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:layout_alignParentRight="true"
|
||||||
android:text="5.000" />
|
android:textSize="@dimen/text_video_views_land_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
|
android:text="81,754 views" />
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbsDownImgView"
|
<TextView android:id="@+id/detailThumbsDownCountView"
|
||||||
android:layout_width="40dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="20dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_toLeftOf="@id/detailThumbsDownCountView"
|
android:layout_alignParentRight="true"
|
||||||
android:src="@drawable/thumbs_down" />
|
android:textSize="@dimen/text_video_like_land_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:text="1,000" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailThumbsUpCountView"
|
<ImageView android:id="@+id/detailThumbsDownImgView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="40dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="20dp"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_toLeftOf="@id/detailThumbsDownImgView"
|
android:layout_toLeftOf="@id/detailThumbsDownCountView"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:paddingRight="10dp"
|
||||||
android:text="111.111" />
|
android:src="@drawable/thumbs_down" />
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbsUpImgView"
|
<TextView android:id="@+id/detailThumbsUpCountView"
|
||||||
android:layout_width="40dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="20dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_toLeftOf="@id/detailThumbsUpCountView"
|
android:layout_toLeftOf="@id/detailThumbsDownImgView"
|
||||||
android:src="@drawable/thumbs_up" />
|
android:paddingRight="10dp"
|
||||||
|
android:textSize="@dimen/text_video_like_land_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:text="200" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailUploadDateView"
|
<ImageView android:id="@+id/detailThumbsUpImgView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="40dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="20dp"
|
||||||
android:layout_below="@id/detailUploaderView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_alignParentLeft="true"
|
android:paddingRight="10dp"
|
||||||
android:paddingLeft="6dp"
|
android:layout_toLeftOf="@id/detailThumbsUpCountView"
|
||||||
android:paddingRight="6dp"
|
android:src="@drawable/thumbs_up" />
|
||||||
android:paddingTop="20dp"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="Uploaded at: 45.64.1285" />
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailDescriptionView"
|
<TextView android:id="@+id/detailUploadDateView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailUploadDateView"
|
android:layout_below="@id/detailUploaderView"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingLeft="6dp"
|
android:textSize="@dimen/text_video_upload_date_land_size"
|
||||||
android:paddingRight="6dp"
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:text="Uploaded at Jan 01 1975" />
|
||||||
android:text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodtempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. "
|
|
||||||
/>
|
|
||||||
|
|
||||||
|
<TextView android:id="@+id/detailDescriptionView"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_below="@id/detailUploadDateView"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
|
android:textSize="@dimen/text_video_description_land_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodtempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. "
|
||||||
|
/>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
</RelativeLayout>
|
||||||
<RelativeLayout android:id="@+id/detailNextVideoRootLayout"
|
<RelativeLayout android:id="@+id/detailNextVideoRootLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailDescriptionView" >
|
android:layout_below="@id/detailVideoInfo" >
|
||||||
|
|
||||||
<TextView android:id="@+id/detailNextVideoTitle"
|
<TextView android:id="@+id/detailNextVideoTitle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -152,19 +159,10 @@
|
|||||||
android:text="@string/nextVideoTitle"
|
android:text="@string/nextVideoTitle"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<View android:id="@+id/detailNextVideoSeperationLine"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_marginLeft="6dp"
|
|
||||||
android:layout_marginRight="6dp"
|
|
||||||
android:background="@android:color/darker_gray"
|
|
||||||
android:layout_below="@id/detailNextVideoTitle"
|
|
||||||
android:layout_alignParentLeft="true" />
|
|
||||||
|
|
||||||
<RelativeLayout android:id="@+id/detailNextVidButtonAndContantLayout"
|
<RelativeLayout android:id="@+id/detailNextVidButtonAndContantLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailNextVideoSeperationLine">
|
android:layout_below="@id/detailNextVideoTitle">
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/detailNextVideoFrame"
|
android:id="@+id/detailNextVideoFrame"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -178,14 +176,6 @@
|
|||||||
android:background="?attr/selectableItemBackground"/>
|
android:background="?attr/selectableItemBackground"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<View android:id="@+id/detailNextVideoSeperationLineEnd"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_marginLeft="6dp"
|
|
||||||
android:layout_marginRight="6dp"
|
|
||||||
android:background="@android:color/darker_gray"
|
|
||||||
android:layout_below="@id/detailNextVidButtonAndContantLayout"
|
|
||||||
android:layout_alignParentLeft="true" />
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<Button android:id="@+id/detailShowSimilarButton"
|
<Button android:id="@+id/detailShowSimilarButton"
|
||||||
@ -195,12 +185,6 @@
|
|||||||
android:layout_marginRight="6dp"
|
android:layout_marginRight="6dp"
|
||||||
android:layout_below="@id/detailNextVideoRootLayout"
|
android:layout_below="@id/detailNextVideoRootLayout"
|
||||||
android:text="@string/showSimilarVideosButtonText"/>
|
android:text="@string/showSimilarVideosButtonText"/>
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="90dp"
|
|
||||||
android:layout_below="@id/detailShowSimilarButton"/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
|
@ -3,8 +3,9 @@
|
|||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
style="?android:attr/textAppearanceLarge"
|
|
||||||
tools:context=".VideoItemDetailFragment"
|
tools:context=".VideoItemDetailFragment"
|
||||||
|
android:textIsSelectable="true"
|
||||||
|
style="?android:attr/textAppearanceLarge"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/videoitem_detail">
|
android:id="@+id/videoitem_detail">
|
||||||
@ -19,125 +20,131 @@
|
|||||||
android:id="@+id/detailMainContent"
|
android:id="@+id/detailMainContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:textIsSelectable="true"
|
|
||||||
android:visibility="invisible">
|
android:visibility="invisible">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
android:padding="16dp">
|
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbnailView"
|
<RelativeLayout android:id="@+id/detailVideoInfo"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:src="@drawable/dummy_thumbnail"/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailVideoTitleView"
|
<ImageView android:id="@+id/detailThumbnailView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailThumbnailView"
|
android:scaleType="centerInside"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingLeft="6dp"
|
android:layout_alignParentTop="true"
|
||||||
android:paddingRight="6dp"
|
android:adjustViewBounds="true"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
android:src="@drawable/dummy_thumbnail"/>
|
||||||
android:text="Bla blabla !!!"/>
|
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
<RelativeLayout
|
||||||
android:layout_width="80dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="100dp"
|
android:layout_height="wrap_content"
|
||||||
android:paddingTop="25dp"
|
android:layout_below="@id/detailThumbnailView"
|
||||||
android:paddingLeft="5dp"
|
android:paddingTop="10dp"
|
||||||
android:paddingRight="5dp"
|
android:paddingBottom="10dp"
|
||||||
android:layout_below="@id/detailVideoTitleView"
|
android:paddingRight="10dp"
|
||||||
android:layout_alignParentLeft="true"
|
android:paddingLeft="10dp">
|
||||||
android:src="@drawable/buddy" />
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailUploaderView"
|
<TextView android:id="@+id/detailVideoTitleView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailUploaderThumbnailView"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentLeft="true"
|
android:textStyle="bold"
|
||||||
android:paddingLeft="6dp"
|
android:paddingBottom="5dp"
|
||||||
android:paddingRight="6dp"
|
android:textSize="@dimen/text_video_title_sw600dp_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
android:text="Herr von Gurken" />
|
android:text="Video title placeholder"/>
|
||||||
|
|
||||||
<View android:id="@+id/textSeperationLine"
|
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="100dp"
|
||||||
android:layout_height="1dp"
|
android:layout_height="100dp"
|
||||||
android:background="@android:color/darker_gray"
|
android:layout_below="@id/detailVideoTitleView"
|
||||||
android:layout_below="@id/detailUploaderView"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingTop="20dp"
|
android:src="@drawable/buddy" />
|
||||||
android:layout_alignParentLeft="true" />
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailViewCountView"
|
<TextView android:id="@+id/detailUploaderView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailVideoTitleView"
|
android:layout_below="@id/detailUploaderThumbnailView"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingTop="70dp"
|
android:textStyle="bold"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
android:textSize="@dimen/text_video_uploader_sw600dp_size"
|
||||||
android:text="1.000.115 views" />
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
|
android:text="username" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailThumbsDownCountView"
|
<TextView android:id="@+id/detailViewCountView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:paddingBottom="5dp"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_below="@id/detailVideoTitleView"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:layout_alignParentRight="true"
|
||||||
android:text="5.000" />
|
android:textSize="@dimen/text_video_views_sw600dp_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
|
android:text="81,754 views" />
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbsDownImgView"
|
<TextView android:id="@+id/detailThumbsDownCountView"
|
||||||
android:layout_width="40dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="20dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_toLeftOf="@id/detailThumbsDownCountView"
|
android:layout_alignParentRight="true"
|
||||||
android:src="@drawable/thumbs_down" />
|
android:textSize="@dimen/text_video_like_sw600dp_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:text="1,000" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailThumbsUpCountView"
|
<ImageView android:id="@+id/detailThumbsDownImgView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="40dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="20dp"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_toLeftOf="@id/detailThumbsDownImgView"
|
android:layout_toLeftOf="@id/detailThumbsDownCountView"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:paddingRight="10dp"
|
||||||
android:text="111.111" />
|
android:src="@drawable/thumbs_down" />
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbsUpImgView"
|
<TextView android:id="@+id/detailThumbsUpCountView"
|
||||||
android:layout_width="40dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="20dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_toLeftOf="@id/detailThumbsUpCountView"
|
android:layout_toLeftOf="@id/detailThumbsDownImgView"
|
||||||
android:src="@drawable/thumbs_up" />
|
android:paddingRight="10dp"
|
||||||
|
android:textSize="@dimen/text_video_like_sw600dp_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:text="200" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailUploadDateView"
|
<ImageView android:id="@+id/detailThumbsUpImgView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="40dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="20dp"
|
||||||
android:layout_below="@id/detailUploaderView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_alignParentLeft="true"
|
android:paddingRight="10dp"
|
||||||
android:paddingLeft="6dp"
|
android:layout_toLeftOf="@id/detailThumbsUpCountView"
|
||||||
android:paddingRight="6dp"
|
android:src="@drawable/thumbs_up" />
|
||||||
android:paddingTop="20dp"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="Uploaded at: 45.64.1285" />
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailDescriptionView"
|
<TextView android:id="@+id/detailUploadDateView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailUploadDateView"
|
android:layout_below="@id/detailUploaderView"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingLeft="6dp"
|
android:textSize="@dimen/text_video_upload_date_sw600dp_size"
|
||||||
android:paddingRight="6dp"
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:text="Uploaded at Jan 01 1975" />
|
||||||
android:text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodtempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. "
|
|
||||||
/>
|
|
||||||
|
|
||||||
|
<TextView android:id="@+id/detailDescriptionView"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_below="@id/detailUploadDateView"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
|
android:textSize="@dimen/text_video_description_sw600dp_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodtempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. "
|
||||||
|
/>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
</RelativeLayout>
|
||||||
<RelativeLayout android:id="@+id/detailNextVideoRootLayout"
|
<RelativeLayout android:id="@+id/detailNextVideoRootLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailDescriptionView" >
|
android:layout_below="@id/detailVideoInfo" >
|
||||||
|
|
||||||
<TextView android:id="@+id/detailNextVideoTitle"
|
<TextView android:id="@+id/detailNextVideoTitle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -152,19 +159,10 @@
|
|||||||
android:text="@string/nextVideoTitle"
|
android:text="@string/nextVideoTitle"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<View android:id="@+id/detailNextVideoSeperationLine"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_marginLeft="6dp"
|
|
||||||
android:layout_marginRight="6dp"
|
|
||||||
android:background="@android:color/darker_gray"
|
|
||||||
android:layout_below="@id/detailNextVideoTitle"
|
|
||||||
android:layout_alignParentLeft="true" />
|
|
||||||
|
|
||||||
<RelativeLayout android:id="@+id/detailNextVidButtonAndContantLayout"
|
<RelativeLayout android:id="@+id/detailNextVidButtonAndContantLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailNextVideoSeperationLine">
|
android:layout_below="@id/detailNextVideoTitle">
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/detailNextVideoFrame"
|
android:id="@+id/detailNextVideoFrame"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -178,16 +176,7 @@
|
|||||||
android:background="?attr/selectableItemBackground"/>
|
android:background="?attr/selectableItemBackground"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<View android:id="@+id/detailNextVideoSeperationLineEnd"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_marginLeft="6dp"
|
|
||||||
android:layout_marginRight="6dp"
|
|
||||||
android:background="@android:color/darker_gray"
|
|
||||||
android:layout_below="@id/detailNextVidButtonAndContantLayout"
|
|
||||||
android:layout_alignParentLeft="true" />
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<Button android:id="@+id/detailShowSimilarButton"
|
<Button android:id="@+id/detailShowSimilarButton"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -195,12 +184,6 @@
|
|||||||
android:layout_marginRight="6dp"
|
android:layout_marginRight="6dp"
|
||||||
android:layout_below="@id/detailNextVideoRootLayout"
|
android:layout_below="@id/detailNextVideoRootLayout"
|
||||||
android:text="@string/showSimilarVideosButtonText"/>
|
android:text="@string/showSimilarVideosButtonText"/>
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="90dp"
|
|
||||||
android:layout_below="@id/detailShowSimilarButton"/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
|
@ -26,152 +26,145 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbnailView"
|
<RelativeLayout android:id="@+id/detailVideoInfo"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
android:scaleType="centerInside"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:src="@drawable/dummy_thumbnail"/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailVideoTitleView"
|
<ImageView android:id="@+id/detailThumbnailView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailThumbnailView"
|
android:scaleType="centerInside"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingLeft="6dp"
|
android:layout_alignParentTop="true"
|
||||||
android:paddingRight="6dp"
|
android:adjustViewBounds="true"
|
||||||
android:paddingBottom="0dp"
|
android:src="@drawable/dummy_thumbnail"/>
|
||||||
android:paddingTop="3dp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="Video title placeholder"/>
|
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
<RelativeLayout
|
||||||
android:layout_width="85dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="100dp"
|
android:layout_height="wrap_content"
|
||||||
android:paddingTop="0dp"
|
android:layout_below="@id/detailThumbnailView"
|
||||||
android:paddingLeft="2dp"
|
android:paddingTop="5dp"
|
||||||
android:paddingRight="2dp"
|
android:paddingBottom="5dp"
|
||||||
android:layout_below="@id/detailVideoTitleView"
|
android:paddingRight="5dp"
|
||||||
android:layout_alignParentLeft="true"
|
android:paddingLeft="5dp">
|
||||||
android:src="@drawable/buddy" />
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailUploaderView"
|
<TextView android:id="@+id/detailVideoTitleView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailUploaderThumbnailView"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentLeft="true"
|
android:textStyle="bold"
|
||||||
android:paddingLeft="6dp"
|
android:paddingBottom="3dp"
|
||||||
android:paddingRight="6dp"
|
android:textSize="@dimen/text_video_title_size"
|
||||||
android:textStyle="bold"
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
android:textSize="@dimen/text_video_uploader_size"
|
android:text="Video title placeholder"/>
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="username" />
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailViewCountView"
|
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="80dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="80dp"
|
||||||
android:paddingTop="6dp"
|
android:layout_below="@id/detailVideoTitleView"
|
||||||
android:layout_below="@id/detailVideoTitleView"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentRight="true"
|
android:src="@drawable/buddy" />
|
||||||
android:paddingRight="16dp"
|
|
||||||
android:paddingLeft="16dp"
|
|
||||||
android:textSize="@dimen/text_video_visits_size"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="81,754 views" />
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailThumbsDownCountView"
|
<TextView android:id="@+id/detailUploaderView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailUploaderThumbnailView"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingRight="16dp"
|
android:textStyle="bold"
|
||||||
android:paddingLeft="16dp"
|
android:textSize="@dimen/text_video_uploader_size"
|
||||||
android:textSize="@dimen/text_video_like_size"
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:text="username" />
|
||||||
android:text="100" />
|
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbsDownImgView"
|
<TextView android:id="@+id/detailViewCountView"
|
||||||
android:layout_width="40dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="20dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:paddingBottom="3dp"
|
||||||
android:layout_toLeftOf="@id/detailThumbsDownCountView"
|
android:layout_below="@id/detailVideoTitleView"
|
||||||
android:src="@drawable/thumbs_down" />
|
android:layout_alignParentRight="true"
|
||||||
|
android:textSize="@dimen/text_video_views_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
|
android:text="81,754 views" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailThumbsUpCountView"
|
<TextView android:id="@+id/detailThumbsDownCountView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_toLeftOf="@id/detailThumbsDownImgView"
|
android:layout_alignParentRight="true"
|
||||||
android:textSize="@dimen/text_video_like_size"
|
android:textSize="@dimen/text_video_like_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:text="20" />
|
android:text="1,000" />
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbsUpImgView"
|
<ImageView android:id="@+id/detailThumbsDownImgView"
|
||||||
android:layout_width="40dp"
|
android:layout_width="30dp"
|
||||||
android:layout_height="20dp"
|
android:layout_height="15dp"
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_toLeftOf="@id/detailThumbsUpCountView"
|
android:layout_toLeftOf="@id/detailThumbsDownCountView"
|
||||||
android:src="@drawable/thumbs_up" />
|
android:paddingRight="5dp"
|
||||||
|
android:src="@drawable/thumbs_down" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailUploadDateView"
|
<TextView android:id="@+id/detailThumbsUpCountView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailUploaderView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_toLeftOf="@id/detailThumbsDownImgView"
|
||||||
android:paddingLeft="6dp"
|
android:paddingRight="5dp"
|
||||||
android:paddingRight="6dp"
|
android:textSize="@dimen/text_video_like_size"
|
||||||
android:paddingTop="0dp"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:textSize="@dimen/text_video_uploadtime_size"
|
android:text="200" />
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="Published on Jan 01 1975" />
|
|
||||||
|
|
||||||
<TextView android:id="@+id/detailDescriptionView"
|
<ImageView android:id="@+id/detailThumbsUpImgView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="30dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="15dp"
|
||||||
android:layout_below="@id/detailUploadDateView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_toLeftOf="@id/detailThumbsUpCountView"
|
||||||
android:paddingTop="3dp"
|
android:paddingRight="5dp"
|
||||||
android:paddingLeft="6dp"
|
android:src="@drawable/thumbs_up" />
|
||||||
android:paddingRight="6dp"
|
|
||||||
android:textSize="@dimen/text_video_description_size"
|
<TextView android:id="@+id/detailUploadDateView"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:layout_width="wrap_content"
|
||||||
android:text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodtempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. "
|
android:layout_height="wrap_content"
|
||||||
/>
|
android:layout_below="@id/detailUploaderView"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
|
android:textSize="@dimen/text_video_upload_date_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
|
android:text="Uploaded at Jan 01 1975" />
|
||||||
|
|
||||||
|
<TextView android:id="@+id/detailDescriptionView"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_below="@id/detailUploadDateView"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
|
android:textSize="@dimen/text_video_description_size"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodtempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. "
|
||||||
|
/>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
<RelativeLayout android:id="@+id/detailNextVideoRootLayout"
|
<RelativeLayout android:id="@+id/detailNextVideoRootLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailDescriptionView" >
|
android:paddingTop="10dp"
|
||||||
|
android:paddingBottom="10dp"
|
||||||
|
android:paddingLeft="5dp"
|
||||||
|
android:paddingRight="5dp"
|
||||||
|
android:layout_below="@id/detailVideoInfo" >
|
||||||
|
|
||||||
<TextView android:id="@+id/detailNextVideoTitle"
|
<TextView android:id="@+id/detailNextVideoTitle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingLeft="6dp"
|
android:textSize="@dimen/text_video_upload_date_size"
|
||||||
android:paddingRight="6dp"
|
|
||||||
android:paddingTop="20dp"
|
|
||||||
android:paddingBottom="6dp"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@android:color/black"
|
||||||
android:text="@string/nextVideoTitle"
|
android:text="@string/nextVideoTitle"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<View android:id="@+id/detailNextVideoSeperationLine"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_marginLeft="6dp"
|
|
||||||
android:layout_marginRight="6dp"
|
|
||||||
android:background="@android:color/darker_gray"
|
|
||||||
android:layout_below="@id/detailNextVideoTitle"
|
|
||||||
android:layout_alignParentLeft="true" />
|
|
||||||
|
|
||||||
<RelativeLayout android:id="@+id/detailNextVidButtonAndContantLayout"
|
<RelativeLayout android:id="@+id/detailNextVidButtonAndContantLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/detailNextVideoSeperationLine">
|
android:layout_below="@id/detailNextVideoTitle">
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/detailNextVideoFrame"
|
android:id="@+id/detailNextVideoFrame"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -184,15 +177,6 @@
|
|||||||
android:layout_alignBottom="@id/detailNextVideoFrame"
|
android:layout_alignBottom="@id/detailNextVideoFrame"
|
||||||
android:background="?attr/selectableItemBackground"/>
|
android:background="?attr/selectableItemBackground"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<View android:id="@+id/detailNextVideoSeperationLineEnd"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_marginLeft="6dp"
|
|
||||||
android:layout_marginRight="6dp"
|
|
||||||
android:background="@android:color/darker_gray"
|
|
||||||
android:layout_below="@id/detailNextVidButtonAndContantLayout"
|
|
||||||
android:layout_alignParentLeft="true" />
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<Button android:id="@+id/detailShowSimilarButton"
|
<Button android:id="@+id/detailShowSimilarButton"
|
||||||
@ -202,12 +186,6 @@
|
|||||||
android:layout_marginRight="6dp"
|
android:layout_marginRight="6dp"
|
||||||
android:layout_below="@id/detailNextVideoRootLayout"
|
android:layout_below="@id/detailNextVideoRootLayout"
|
||||||
android:text="@string/showSimilarVideosButtonText"/>
|
android:text="@string/showSimilarVideosButtonText"/>
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="90dp"
|
|
||||||
android:layout_below="@id/detailShowSimilarButton"/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
|
@ -3,12 +3,13 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="92dp"
|
||||||
android:padding="6dp">
|
android:padding="6dp">
|
||||||
|
|
||||||
<ImageView android:id="@+id/itemThumbnailView"
|
<ImageView android:id="@+id/itemThumbnailView"
|
||||||
android:layout_width="142dp"
|
android:layout_width="142dp"
|
||||||
android:layout_height="80dp"
|
android:layout_height="80dp"
|
||||||
|
android:layout_marginRight="6dp"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
@ -16,11 +17,9 @@
|
|||||||
|
|
||||||
<TextView android:id="@+id/itemVideoTitleView"
|
<TextView android:id="@+id/itemVideoTitleView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="40dp"
|
android:layout_height="36dp"
|
||||||
android:layout_toRightOf="@id/itemThumbnailView"
|
android:layout_toRightOf="@id/itemThumbnailView"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
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:text="title"
|
android:text="title"
|
||||||
@ -28,10 +27,9 @@
|
|||||||
|
|
||||||
<TextView android:id="@+id/itemUploaderView"
|
<TextView android:id="@+id/itemUploaderView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="18dp"
|
||||||
android:layout_toRightOf="@id/itemThumbnailView"
|
android:layout_toRightOf="@id/itemThumbnailView"
|
||||||
android:layout_below="@id/itemVideoTitleView"
|
android:layout_below="@id/itemVideoTitleView"
|
||||||
android:paddingLeft="6dp"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textSize="@dimen/text_search_uploader_size"
|
android:textSize="@dimen/text_search_uploader_size"
|
||||||
android:text="uploader"/>
|
android:text="uploader"/>
|
||||||
@ -42,7 +40,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_toRightOf="@id/itemThumbnailView"
|
android:layout_toRightOf="@id/itemThumbnailView"
|
||||||
android:layout_below="@id/itemUploaderView"
|
android:layout_below="@id/itemUploaderView"
|
||||||
android:paddingLeft="6dp"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textSize="@dimen/text_search_uploadtime_size"
|
android:textSize="@dimen/text_search_uploadtime_size"
|
||||||
/>
|
/>
|
||||||
@ -52,16 +49,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignBottom="@id/itemThumbnailView"
|
android:layout_alignBottom="@id/itemThumbnailView"
|
||||||
android:layout_alignRight="@id/itemThumbnailView"
|
android:layout_alignRight="@id/itemThumbnailView"
|
||||||
android:layout_marginRight="6dp"
|
android:layout_marginRight="2dp"
|
||||||
android:layout_marginBottom="12dp"
|
android:layout_marginBottom="2dp"
|
||||||
android:paddingLeft="3dp"
|
|
||||||
android:paddingRight="3dp"
|
|
||||||
android:paddingTop="1dp"
|
android:paddingTop="1dp"
|
||||||
android:paddingBottom="1dp"
|
android:paddingBottom="1dp"
|
||||||
|
android:paddingRight="5dp"
|
||||||
|
android:paddingLeft="5dp"
|
||||||
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="@color/durationBackground"
|
||||||
android:textColor="#f7f7f7"
|
android:textColor="@color/durationText"
|
||||||
android:text="duration"
|
android:text="duration"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
@ -3,5 +3,7 @@
|
|||||||
<color name="primaryColorYoutube">#cd322e</color>
|
<color name="primaryColorYoutube">#cd322e</color>
|
||||||
<color name="primaryColorDarkYoutube">#bc211d</color>
|
<color name="primaryColorDarkYoutube">#bc211d</color>
|
||||||
<color name="accentColorYoutube">#000000</color>
|
<color name="accentColorYoutube">#000000</color>
|
||||||
|
<color name="durationBackground">#aa000000</color>
|
||||||
|
<color name="durationText">#eeffffff</color>
|
||||||
<color name="black_overlay">#66000000</color>
|
<color name="black_overlay">#66000000</color>
|
||||||
</resources>
|
</resources>
|
@ -4,10 +4,26 @@
|
|||||||
<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>
|
||||||
<dimen name="text_video_title_size">14sp</dimen>
|
|
||||||
<dimen name="text_video_visits_size">14sp</dimen>
|
<dimen name="text_video_title_size">18sp</dimen>
|
||||||
|
<dimen name="text_video_views_size">14sp</dimen>
|
||||||
<dimen name="text_video_like_size">12sp</dimen>
|
<dimen name="text_video_like_size">12sp</dimen>
|
||||||
<dimen name="text_video_uploader_size">14sp</dimen>
|
<dimen name="text_video_uploader_size">14sp</dimen>
|
||||||
<dimen name="text_video_uploadtime_size">14sp</dimen>
|
<dimen name="text_video_upload_date_size">14sp</dimen>
|
||||||
<dimen name="text_video_description_size">14sp</dimen>
|
<dimen name="text_video_description_size">14sp</dimen>
|
||||||
|
|
||||||
|
|
||||||
|
<dimen name="text_video_title_sw600dp_size">20sp</dimen>
|
||||||
|
<dimen name="text_video_views_sw600dp_size">16sp</dimen>
|
||||||
|
<dimen name="text_video_like_sw600dp_size">14sp</dimen>
|
||||||
|
<dimen name="text_video_uploader_sw600dp_size">16sp</dimen>
|
||||||
|
<dimen name="text_video_upload_date_sw600dp_size">16sp</dimen>
|
||||||
|
<dimen name="text_video_description_sw600dp_size">16sp</dimen>
|
||||||
|
|
||||||
|
<dimen name="text_video_title_land_size">24sp</dimen>
|
||||||
|
<dimen name="text_video_views_land_size">18sp</dimen>
|
||||||
|
<dimen name="text_video_like_land_size">16sp</dimen>
|
||||||
|
<dimen name="text_video_uploader_land_size">18sp</dimen>
|
||||||
|
<dimen name="text_video_upload_date_land_size">18sp</dimen>
|
||||||
|
<dimen name="text_video_description_land_size">18sp</dimen>
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue
Block a user