Skip to content

Commit 51a81c7

Browse files
committed
video card: increase badge text size; comments: increase focused comment highlight
1 parent d7ef9cc commit 51a81c7

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

common/src/main/res/values/colors.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
<color name="live_chat_bg">#90000000</color>
2222
<color name="live_chat_bg_pressed">#52C2DCF2</color>
2323
<color name="comments_bg">#303030</color>
24-
<color name="comments_bg_pressed">#17C2DCF2</color>
24+
<!-- Focused comment color. Default: #17C2DCF2 -->
25+
<color name="comments_bg_pressed">#27C2DCF2</color>
2526
<color name="semi_grey">#64282828</color>
2627
<color name="grey">#282828</color>
2728
<color name="dimming">#D0000000</color>

smarttubetv/src/main/res/layout/text_badge_image_view.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
android:layout_gravity="end"
3838
android:paddingStart="@dimen/lb_details_description_title_padding_adjust_bottom"
3939
android:paddingEnd="@dimen/lb_details_description_title_padding_adjust_bottom"
40+
android:textSize="@dimen/card_badge_text_size"
4041
style="@style/TextAppearance.Leanback.ImageCardView.Content" />
4142
<com.liskovsoft.smartyoutubetv2.tv.ui.widgets.styled.CardProgressBar
4243
android:id="@+id/clip_progress"

smarttubetv/src/main/res/values/dimens.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
<dimen name="card_width">200dp</dimen>
77
<dimen name="card_height">110dp</dimen>
8+
<!-- text_badge_image_view.xml, default: 12sp -->
9+
<dimen name="card_badge_text_size">14sp</dimen>
810

911
<dimen name="shorts_card_width">120dp</dimen>
1012
<dimen name="shorts_card_height">200dp</dimen>

0 commit comments

Comments
 (0)