kopia lustrzana https://github.com/TeamNewPipe/NewPipe
move all dimensions do dimens.xml
rodzic
10bebf8a89
commit
9ed4a65fd2
|
@ -57,7 +57,7 @@
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:paddingBottom="3dp"
|
android:paddingBottom="3dp"
|
||||||
android:textSize="@dimen/text_video_title_size"
|
android:textSize="@dimen/video_item_detail_title_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textSize="@dimen/text_video_uploader_size"
|
android:textSize="@dimen/video_item_detail_uploader_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailViewCountView"
|
<TextView android:id="@+id/detailViewCountView"
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
android:layout_below="@id/detailVideoTitleView"
|
android:layout_below="@id/detailVideoTitleView"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:textSize="@dimen/text_video_views_size"
|
android:textSize="@dimen/video_item_detail_views_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailThumbsDownCountView"
|
<TextView android:id="@+id/detailThumbsDownCountView"
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:textSize="@dimen/text_video_like_size"
|
android:textSize="@dimen/video_item_detail_likes_text_size"
|
||||||
android:paddingRight="5dp"
|
android:paddingRight="5dp"
|
||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
android:layout_toStartOf="@id/detailThumbsDownImgView"
|
android:layout_toStartOf="@id/detailThumbsDownImgView"
|
||||||
android:paddingRight="5dp"
|
android:paddingRight="5dp"
|
||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:textSize="@dimen/text_video_like_size"
|
android:textSize="@dimen/video_item_detail_likes_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbsUpImgView"
|
<ImageView android:id="@+id/detailThumbsUpImgView"
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
android:layout_below="@id/detailUploaderView"
|
android:layout_below="@id/detailUploaderView"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textSize="@dimen/text_video_upload_date_size"
|
android:textSize="@dimen/video_item_detail_upload_date_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailDescriptionView"
|
<TextView android:id="@+id/detailDescriptionView"
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
android:layout_below="@id/detailUploadDateView"
|
android:layout_below="@id/detailUploadDateView"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textSize="@dimen/text_video_description_size"
|
android:textSize="@dimen/video_item_detail_description_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textSize="@dimen/text_video_upload_date_size"
|
android:textSize="@dimen/video_item_detail_upload_date_text_size"
|
||||||
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"
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:paddingBottom="3dp"
|
android:paddingBottom="3dp"
|
||||||
android:textSize="@dimen/text_video_title_size"
|
android:textSize="@dimen/video_item_detail_title_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textSize="@dimen/text_video_uploader_size"
|
android:textSize="@dimen/video_item_detail_uploader_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailViewCountView"
|
<TextView android:id="@+id/detailViewCountView"
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
android:layout_below="@id/detailVideoTitleView"
|
android:layout_below="@id/detailVideoTitleView"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:textSize="@dimen/text_video_views_size"
|
android:textSize="@dimen/video_item_detail_views_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailThumbsDownCountView"
|
<TextView android:id="@+id/detailThumbsDownCountView"
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:textSize="@dimen/text_video_like_size"
|
android:textSize="@dimen/video_item_detail_likes_text_size"
|
||||||
android:paddingRight="5dp"
|
android:paddingRight="5dp"
|
||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
android:layout_toStartOf="@id/detailThumbsDownImgView"
|
android:layout_toStartOf="@id/detailThumbsDownImgView"
|
||||||
android:paddingRight="5dp"
|
android:paddingRight="5dp"
|
||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:textSize="@dimen/text_video_like_size"
|
android:textSize="@dimen/video_item_detail_likes_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbsUpImgView"
|
<ImageView android:id="@+id/detailThumbsUpImgView"
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
android:layout_below="@id/detailUploaderView"
|
android:layout_below="@id/detailUploaderView"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textSize="@dimen/text_video_upload_date_size"
|
android:textSize="@dimen/video_item_detail_upload_date_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailDescriptionView"
|
<TextView android:id="@+id/detailDescriptionView"
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
android:layout_below="@id/detailUploadDateView"
|
android:layout_below="@id/detailUploadDateView"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textSize="@dimen/text_video_description_size"
|
android:textSize="@dimen/video_item_detail_description_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textSize="@dimen/text_video_upload_date_size"
|
android:textSize="@dimen/video_item_detail_upload_date_text_size"
|
||||||
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"
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:paddingBottom="3dp"
|
android:paddingBottom="3dp"
|
||||||
android:textSize="@dimen/text_video_title_size"
|
android:textSize="@dimen/video_item_detail_title_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
<ImageView android:id="@+id/detailUploaderThumbnailView"
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textSize="@dimen/text_video_uploader_size"
|
android:textSize="@dimen/video_item_detail_uploader_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailViewCountView"
|
<TextView android:id="@+id/detailViewCountView"
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
android:layout_below="@id/detailVideoTitleView"
|
android:layout_below="@id/detailVideoTitleView"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:textSize="@dimen/text_video_views_size"
|
android:textSize="@dimen/video_item_detail_views_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailThumbsDownCountView"
|
<TextView android:id="@+id/detailThumbsDownCountView"
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
android:layout_below="@id/detailViewCountView"
|
android:layout_below="@id/detailViewCountView"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:textSize="@dimen/text_video_like_size"
|
android:textSize="@dimen/video_item_detail_likes_text_size"
|
||||||
android:paddingRight="5dp"
|
android:paddingRight="5dp"
|
||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
android:layout_toStartOf="@id/detailThumbsDownImgView"
|
android:layout_toStartOf="@id/detailThumbsDownImgView"
|
||||||
android:paddingRight="5dp"
|
android:paddingRight="5dp"
|
||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:textSize="@dimen/text_video_like_size"
|
android:textSize="@dimen/video_item_detail_likes_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||||
|
|
||||||
<ImageView android:id="@+id/detailThumbsUpImgView"
|
<ImageView android:id="@+id/detailThumbsUpImgView"
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
android:layout_below="@id/detailUploaderView"
|
android:layout_below="@id/detailUploaderView"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textSize="@dimen/text_video_upload_date_size"
|
android:textSize="@dimen/video_item_detail_upload_date_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||||
|
|
||||||
<TextView android:id="@+id/detailDescriptionView"
|
<TextView android:id="@+id/detailDescriptionView"
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
android:layout_below="@id/detailUploadDateView"
|
android:layout_below="@id/detailUploadDateView"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textSize="@dimen/text_video_description_size"
|
android:textSize="@dimen/video_item_detail_description_text_size"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:textSize="@dimen/text_video_upload_date_size"
|
android:textSize="@dimen/video_item_detail_upload_date_text_size"
|
||||||
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"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="6dp">
|
android:padding="@dimen/video_item_search_card_margin">
|
||||||
|
|
||||||
<android.support.v7.widget.CardView
|
<android.support.v7.widget.CardView
|
||||||
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
||||||
|
@ -13,71 +13,76 @@
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
card_view:cardCornerRadius="4dp" >
|
card_view:cardCornerRadius="@dimen/video_item_search_card_radius" >
|
||||||
|
|
||||||
<RelativeLayout
|
<LinearLayout
|
||||||
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="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="6dp">
|
android:layout_marginRight="@dimen/video_item_search_image_right_margin"
|
||||||
|
android:padding="@dimen/video_item_search_card_padding">
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<ImageView android:id="@+id/itemThumbnailView"
|
<ImageView android:id="@+id/itemThumbnailView"
|
||||||
android:contentDescription="@string/itemThumbnailViewDescription"
|
android:contentDescription="@string/itemThumbnailViewDescription"
|
||||||
android:layout_width="142dp"
|
android:layout_width="@dimen/video_item_search_image_width"
|
||||||
android:layout_height="80dp"
|
android:layout_height="@dimen/video_item_search_image_height"
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:layout_marginRight="6dp"
|
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:src="@drawable/dummy_thumbnail"/>
|
android:src="@drawable/dummy_thumbnail"/>
|
||||||
|
|
||||||
<TextView android:id="@+id/itemVideoTitleView"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:layout_toRightOf="@id/itemThumbnailView"
|
|
||||||
android:layout_toEndOf="@id/itemThumbnailView"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:textSize="@dimen/text_search_title_size"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_toRightOf="@id/itemThumbnailView">
|
|
||||||
|
|
||||||
<TextView android:id="@+id/itemUploaderView"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="18dp"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
||||||
android:textSize="@dimen/text_search_uploader_size"/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/itemUploadDateView"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
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"
|
||||||
android:layout_marginRight="2dp"
|
android:layout_alignBottom="@id/itemThumbnailView"
|
||||||
android:layout_marginEnd="2dp"
|
android:layout_alignRight="@id/itemThumbnailView"
|
||||||
android:layout_marginBottom="2dp"
|
android:layout_alignEnd="@id/itemThumbnailView"
|
||||||
android:paddingTop="1dp"
|
android:layout_marginRight="@dimen/video_item_search_duration_margin"
|
||||||
android:paddingBottom="1dp"
|
android:layout_marginEnd="@dimen/video_item_search_duration_margin"
|
||||||
android:paddingRight="5dp"
|
android:layout_marginBottom="@dimen/video_item_search_duration_margin"
|
||||||
android:paddingLeft="5dp"
|
android:paddingTop="@dimen/video_item_search_duration_vertical_padding"
|
||||||
|
android:paddingBottom="@dimen/video_item_search_duration_vertical_padding"
|
||||||
|
android:paddingRight="@dimen/video_item_search_duration_horizontal_padding"
|
||||||
|
android:paddingLeft="@dimen/video_item_search_duration_horizontal_padding"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textSize="@dimen/text_search_duration_size"
|
android:textSize="@dimen/video_item_search_duration_text_size"
|
||||||
android:background="@color/durationBackground"
|
android:background="@color/durationBackground"
|
||||||
android:textColor="@color/durationText"/>
|
android:textColor="@color/durationText"/>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="@dimen/video_item_search_image_height">
|
||||||
|
|
||||||
|
<TextView android:id="@+id/itemVideoTitleView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="fill_parent"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
|
android:textSize="@dimen/video_item_search_title_text_size"/>
|
||||||
|
|
||||||
|
<TextView android:id="@+id/itemUploaderView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="@dimen/video_item_search_uploader_height"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
|
android:textSize="@dimen/video_item_search_uploader_text_size"/>
|
||||||
|
|
||||||
|
<TextView android:id="@+id/itemUploadDateView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="@dimen/video_item_search_upload_date_height"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
|
android:textSize="@dimen/video_item_search_upload_date_text_size"
|
||||||
|
/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</RelativeLayout>
|
</LinearLayout>
|
||||||
</android.support.v7.widget.CardView>
|
</android.support.v7.widget.CardView>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
|
@ -1,14 +1,36 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<dimen name="text_search_title_size">14sp</dimen>
|
<!---->
|
||||||
<dimen name="text_search_duration_size">11sp</dimen>
|
<!-- Video Item Search View Dimensions-->
|
||||||
<dimen name="text_search_uploader_size">12sp</dimen>
|
<!---->
|
||||||
<dimen name="text_search_uploadtime_size">12sp</dimen>
|
<!-- Text Size -->
|
||||||
|
<dimen name="video_item_search_title_text_size">14sp</dimen>
|
||||||
|
<dimen name="video_item_search_duration_text_size">11sp</dimen>
|
||||||
|
<dimen name="video_item_search_uploader_text_size">12sp</dimen>
|
||||||
|
<dimen name="video_item_search_upload_date_text_size">12sp</dimen>
|
||||||
|
<!-- Elements Size -->
|
||||||
|
<dimen name="video_item_search_image_width">140dp</dimen>
|
||||||
|
<dimen name="video_item_search_image_height">80dp</dimen>
|
||||||
|
<dimen name="video_item_search_uploader_height">14sp</dimen>
|
||||||
|
<dimen name="video_item_search_upload_date_height">14sp</dimen>
|
||||||
|
<!-- Paddings & Margins -->
|
||||||
|
<dimen name="video_item_search_card_margin">6dp</dimen>
|
||||||
|
<dimen name="video_item_search_card_padding">6dp</dimen>
|
||||||
|
<dimen name="video_item_search_image_right_margin">6dp</dimen>
|
||||||
|
<dimen name="video_item_search_duration_vertical_padding">1sp</dimen>
|
||||||
|
<dimen name="video_item_search_duration_horizontal_padding">5sp</dimen>
|
||||||
|
<dimen name="video_item_search_duration_margin">2sp</dimen>
|
||||||
|
<!-- Miscellaneous -->
|
||||||
|
<dimen name="video_item_search_card_radius">4dp</dimen>
|
||||||
|
|
||||||
<dimen name="text_video_title_size">24sp</dimen>
|
<!---->
|
||||||
<dimen name="text_video_views_size">18sp</dimen>
|
<!-- Video Item Detail View Dimensions-->
|
||||||
<dimen name="text_video_like_size">16sp</dimen>
|
<!---->
|
||||||
<dimen name="text_video_uploader_size">18sp</dimen>
|
<!-- Text Size -->
|
||||||
<dimen name="text_video_upload_date_size">18sp</dimen>
|
<dimen name="video_item_detail_title_text_size">24sp</dimen>
|
||||||
<dimen name="text_video_description_size">18sp</dimen>
|
<dimen name="video_item_detail_views_text_size">18sp</dimen>
|
||||||
|
<dimen name="video_item_detail_likes_text_size">16sp</dimen>
|
||||||
|
<dimen name="video_item_detail_uploader_text_size">18sp</dimen>
|
||||||
|
<dimen name="video_item_detail_upload_date_text_size">18sp</dimen>
|
||||||
|
<dimen name="video_item_detail_description_text_size">18sp</dimen>
|
||||||
</resources>
|
</resources>
|
|
@ -1,14 +1,13 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<dimen name="text_search_title_size">14sp</dimen>
|
<!---->
|
||||||
<dimen name="text_search_duration_size">11sp</dimen>
|
<!-- Video Item Detail View Dimensions-->
|
||||||
<dimen name="text_search_uploader_size">12sp</dimen>
|
<!---->
|
||||||
<dimen name="text_search_uploadtime_size">12sp</dimen>
|
<!-- Text Size -->
|
||||||
|
<dimen name="video_item_detail_title_text_size">20sp</dimen>
|
||||||
<dimen name="text_video_title_size">20sp</dimen>
|
<dimen name="video_item_detail_views_text_size">16sp</dimen>
|
||||||
<dimen name="text_video_views_size">16sp</dimen>
|
<dimen name="video_item_detail_likes_text_size">14sp</dimen>
|
||||||
<dimen name="text_video_like_size">14sp</dimen>
|
<dimen name="video_item_detail_uploader_text_size">16sp</dimen>
|
||||||
<dimen name="text_video_uploader_size">16sp</dimen>
|
<dimen name="video_item_detail_upload_date_text_size">16sp</dimen>
|
||||||
<dimen name="text_video_upload_date_size">16sp</dimen>
|
<dimen name="video_item_detail_description_text_size">16sp</dimen>
|
||||||
<dimen name="text_video_description_size">16sp</dimen>
|
|
||||||
</resources>
|
</resources>
|
|
@ -1,14 +1,37 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<dimen name="text_search_title_size">14sp</dimen>
|
<!---->
|
||||||
<dimen name="text_search_duration_size">11sp</dimen>
|
<!-- Video Item Search View Dimensions-->
|
||||||
<dimen name="text_search_uploader_size">12sp</dimen>
|
<!---->
|
||||||
<dimen name="text_search_uploadtime_size">12sp</dimen>
|
<!-- Text Size -->
|
||||||
|
<dimen name="video_item_search_title_text_size">14sp</dimen>
|
||||||
|
<dimen name="video_item_search_duration_text_size">11sp</dimen>
|
||||||
|
<dimen name="video_item_search_uploader_text_size">12sp</dimen>
|
||||||
|
<dimen name="video_item_search_upload_date_text_size">12sp</dimen>
|
||||||
|
<!-- Elements Size -->
|
||||||
|
<dimen name="video_item_search_image_width">140dp</dimen>
|
||||||
|
<dimen name="video_item_search_image_height">80dp</dimen>
|
||||||
|
<dimen name="video_item_search_uploader_height">14sp</dimen>
|
||||||
|
<dimen name="video_item_search_upload_date_height">14sp</dimen>
|
||||||
|
<!-- Paddings & Margins -->
|
||||||
|
<dimen name="video_item_search_card_margin">6dp</dimen>
|
||||||
|
<dimen name="video_item_search_card_padding">6dp</dimen>
|
||||||
|
<dimen name="video_item_search_image_right_margin">6dp</dimen>
|
||||||
|
<dimen name="video_item_search_duration_vertical_padding">1sp</dimen>
|
||||||
|
<dimen name="video_item_search_duration_horizontal_padding">5sp</dimen>
|
||||||
|
<dimen name="video_item_search_duration_margin">2sp</dimen>
|
||||||
|
<!-- Miscellaneous -->
|
||||||
|
<dimen name="video_item_search_card_radius">4dp</dimen>
|
||||||
|
|
||||||
|
<!---->
|
||||||
|
<!-- Video Item Detail View Dimensions-->
|
||||||
|
<!---->
|
||||||
|
<!-- Text Size -->
|
||||||
|
<dimen name="video_item_detail_title_text_size">18sp</dimen>
|
||||||
|
<dimen name="video_item_detail_views_text_size">14sp</dimen>
|
||||||
|
<dimen name="video_item_detail_likes_text_size">12sp</dimen>
|
||||||
|
<dimen name="video_item_detail_uploader_text_size">14sp</dimen>
|
||||||
|
<dimen name="video_item_detail_upload_date_text_size">14sp</dimen>
|
||||||
|
<dimen name="video_item_detail_description_text_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_uploader_size">14sp</dimen>
|
|
||||||
<dimen name="text_video_upload_date_size">14sp</dimen>
|
|
||||||
<dimen name="text_video_description_size">14sp</dimen>
|
|
||||||
</resources>
|
</resources>
|
Ładowanie…
Reference in New Issue