Skip to content

Commit

Permalink
Increase Reader comments like count disabled state alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
RenanLukas committed Mar 11, 2024
1 parent f6a8606 commit a62d139
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<selector xmlns:android="http://schemas.android.com/apk/res/android">

<item android:alpha="@dimen/disabled_alpha" android:color="?attr/colorOnSurface" android:state_enabled="false" android:state_selected="false" />
<item android:alpha="@dimen/disabled_alpha" android:color="?attr/colorOnSurface" android:state_enabled="false" android:state_selected="true" />
<item android:alpha="@dimen/reader_comments_like_count_disabled_alpha" android:color="?attr/colorOnSurface" android:state_enabled="false" android:state_selected="false" />
<item android:alpha="@dimen/reader_comments_like_count_disabled_alpha" android:color="?attr/colorOnSurface" android:state_enabled="false" android:state_selected="true" />
<item android:color="?attr/colorSecondary" android:state_enabled="true" android:state_selected="true" />
<item android:alpha="@dimen/material_emphasis_medium" android:color="?attr/colorOnSurface" />

Expand Down
1 change: 1 addition & 0 deletions WordPress/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@
<dimen name="reader_comments_actions_height">24dp</dimen>
<dimen name="reader_comments_content_line_height">24dp</dimen>
<dimen name="reader_comments_selected_indicator_width">6dp</dimen>
<item name="reader_comments_like_count_disabled_alpha" format="float" type="dimen">0.35</item>

<!-- Increased touch targets to make views more accessible -->
<dimen name="reader_discover_layout_extra_padding">16dp</dimen>
Expand Down

0 comments on commit a62d139

Please sign in to comment.