finally make card layout look good
This commit is contained in:
parent
1c49102f67
commit
c5408fb6b8
|
@ -57,13 +57,15 @@
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<RelativeLayout
|
<LinearLayout
|
||||||
|
android:orientation="vertical"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="@dimen/video_item_search_image_height"
|
android:layout_height="@dimen/video_item_search_image_height"
|
||||||
android:layout_toRightOf="@id/itemThumbnailViewContainer">
|
android:layout_toRightOf="@id/itemThumbnailViewContainer">
|
||||||
|
|
||||||
<TextView android:id="@+id/itemVideoTitleView"
|
<TextView android:id="@+id/itemVideoTitleView"
|
||||||
android:layout_width="match_parent"
|
android:layout_weight="1"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
android:textSize="@dimen/video_item_search_title_text_size"/>
|
android:textSize="@dimen/video_item_search_title_text_size"/>
|
||||||
|
@ -72,19 +74,15 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/video_item_search_uploader_height"
|
android:layout_height="@dimen/video_item_search_uploader_height"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textSize="@dimen/video_item_search_uploader_text_size"
|
android:textSize="@dimen/video_item_search_uploader_text_size"/>
|
||||||
android:layout_toEndOf="@id/detailVideoTitleView"
|
|
||||||
android:layout_toRightOf="@id/detailVideoTitleView"/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/itemUploadDateView"
|
<TextView android:id="@+id/itemUploadDateView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/video_item_search_upload_date_height"
|
android:layout_height="@dimen/video_item_search_upload_date_height"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textSize="@dimen/video_item_search_upload_date_text_size"
|
android:textSize="@dimen/video_item_search_upload_date_text_size"/>
|
||||||
android:layout_toEndOf="@id/itemUploaderView"
|
|
||||||
android:layout_toRightOf="@id/itemUploaderView"/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</android.support.v7.widget.CardView>
|
</android.support.v7.widget.CardView>
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
<!-- Elements Size -->
|
<!-- Elements Size -->
|
||||||
<dimen name="video_item_search_image_width">140dp</dimen>
|
<dimen name="video_item_search_image_width">140dp</dimen>
|
||||||
<dimen name="video_item_search_image_height">80dp</dimen>
|
<dimen name="video_item_search_image_height">80dp</dimen>
|
||||||
<dimen name="video_item_search_uploader_height">14sp</dimen>
|
<dimen name="video_item_search_uploader_height">16sp</dimen>
|
||||||
<dimen name="video_item_search_upload_date_height">14sp</dimen>
|
<dimen name="video_item_search_upload_date_height">16sp</dimen>
|
||||||
<!-- Paddings & Margins -->
|
<!-- Paddings & Margins -->
|
||||||
<dimen name="video_item_search_card_margin">3dp</dimen>
|
<dimen name="video_item_search_card_margin">3dp</dimen>
|
||||||
<dimen name="video_item_search_card_padding">6dp</dimen>
|
<dimen name="video_item_search_card_padding">6dp</dimen>
|
||||||
|
|
Loading…
Reference in New Issue