use singleLine instead of manually setting height

This commit is contained in:
chschtsch 2015-12-02 17:18:40 +03:00
parent c5408fb6b8
commit 7c7c61fc35
3 changed files with 4 additions and 6 deletions

View File

@ -72,13 +72,15 @@
<TextView android:id="@+id/itemUploaderView"
android:layout_width="match_parent"
android:layout_height="@dimen/video_item_search_uploader_height"
android:layout_height="wrap_content"
android:singleLine="true"
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:layout_height="wrap_content"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/video_item_search_upload_date_text_size"/>

View File

@ -11,8 +11,6 @@
<!-- 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>

View File

@ -11,8 +11,6 @@
<!-- 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">16sp</dimen>
<dimen name="video_item_search_upload_date_height">16sp</dimen>
<!-- Paddings & Margins -->
<dimen name="video_item_search_card_margin">3dp</dimen>
<dimen name="video_item_search_card_padding">6dp</dimen>