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

Adjust sub-channel thumbnail size

This commit is contained in:
wb9688 2020-05-08 09:18:56 +02:00
parent 235394d96c
commit 1096ec1c09
5 changed files with 10 additions and 8 deletions

View File

@ -39,8 +39,8 @@
<de.hdodenhof.circleimageview.CircleImageView <de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/sub_channel_avatar_view" android:id="@+id/sub_channel_avatar_view"
android:layout_width="35dp" android:layout_width="@dimen/sub_channel_avatar_size"
android:layout_height="35dp" android:layout_height="@dimen/sub_channel_avatar_size"
android:layout_gravity="bottom|right" android:layout_gravity="bottom|right"
android:src="@drawable/buddy" android:src="@drawable/buddy"
android:visibility="gone" android:visibility="gone"

View File

@ -34,10 +34,11 @@
<dimen name="channel_rss_title_size">14sp</dimen> <dimen name="channel_rss_title_size">14sp</dimen>
<!-- Elements Size --> <!-- Elements Size -->
<dimen name="video_item_detail_uploader_image_size">42dp</dimen> <dimen name="video_item_detail_uploader_image_size">42dp</dimen>
<dimen name="video_item_detail_sub_channel_image_size">22dp</dimen> <dimen name="video_item_detail_sub_channel_image_size">21dp</dimen>
<dimen name="video_item_detail_like_image_height">20sp</dimen> <dimen name="video_item_detail_like_image_height">20sp</dimen>
<dimen name="video_item_detail_like_image_width">20sp</dimen> <dimen name="video_item_detail_like_image_width">20sp</dimen>
<dimen name="channel_avatar_size">90dp</dimen> <dimen name="channel_avatar_size">90dp</dimen>
<dimen name="sub_channel_avatar_size">45dp</dimen>
<!-- Paddings & Margins --> <!-- Paddings & Margins -->
<dimen name="video_item_detail_like_margin">8dp</dimen> <dimen name="video_item_detail_like_margin">8dp</dimen>
<dimen name="video_item_detail_error_panel_margin">4dp</dimen> <dimen name="video_item_detail_error_panel_margin">4dp</dimen>
@ -50,4 +51,4 @@
<!-- File picker dimensions --> <!-- File picker dimensions -->
<dimen name="file_picker_items_text_size">16sp</dimen> <dimen name="file_picker_items_text_size">16sp</dimen>
</resources> </resources>

View File

@ -18,4 +18,4 @@
<!-- Miscellaneous --> <!-- Miscellaneous -->
<dimen name="video_item_search_card_radius">4dp</dimen> <dimen name="video_item_search_card_radius">4dp</dimen>
</resources> </resources>

View File

@ -14,11 +14,11 @@
<dimen name="video_item_detail_description_text_size">16sp</dimen> <dimen name="video_item_detail_description_text_size">16sp</dimen>
<dimen name="video_item_detail_next_text_size">18sp</dimen> <dimen name="video_item_detail_next_text_size">18sp</dimen>
<!-- Elements Size --> <!-- Elements Size -->
<dimen name="video_item_detail_uploader_image_size">45dp</dimen> <dimen name="video_item_detail_uploader_image_size">40dp</dimen>
<dimen name="video_item_detail_sub_channel_image_size">25dp</dimen> <dimen name="video_item_detail_sub_channel_image_size">20dp</dimen>
<dimen name="video_item_detail_like_image_height">18sp</dimen> <dimen name="video_item_detail_like_image_height">18sp</dimen>
<dimen name="video_item_detail_like_image_width">18sp</dimen> <dimen name="video_item_detail_like_image_width">18sp</dimen>
<!-- Paddings & Margins --> <!-- Paddings & Margins -->
<dimen name="video_item_detail_like_margin">10dp</dimen> <dimen name="video_item_detail_like_margin">10dp</dimen>
</resources> </resources>

View File

@ -67,6 +67,7 @@
<dimen name="video_item_detail_like_image_height">18sp</dimen> <dimen name="video_item_detail_like_image_height">18sp</dimen>
<dimen name="video_item_detail_like_image_width">18sp</dimen> <dimen name="video_item_detail_like_image_width">18sp</dimen>
<dimen name="channel_avatar_size">70dp</dimen> <dimen name="channel_avatar_size">70dp</dimen>
<dimen name="sub_channel_avatar_size">35dp</dimen>
<!-- Paddings & Margins --> <!-- Paddings & Margins -->
<dimen name="video_item_detail_like_margin">5dp</dimen> <dimen name="video_item_detail_like_margin">5dp</dimen>
<dimen name="video_item_detail_error_panel_margin">50dp</dimen> <dimen name="video_item_detail_error_panel_margin">50dp</dimen>