wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.94k stars 1.31k forks source link

Post List Author Filter View Stops Tab Touch Background Fade/Ripple #9698

Open theck13 opened 5 years ago

theck13 commented 5 years ago

Expected

The touch background of all views in the top app bar of the Blog Posts screen shows the fade/ripple effect when tapped or long-pressed and the author filter is present.

Observed

The touch background of all views in the top app bar of the Blog Posts screen stops the fade/ripple effect when tapped or long-pressed and the author filter is present. On API 28, sometimes the ripple stops mid-animation and sometimes the touch background is not shown at all. On API's lower than 28, there is no fade/ripple at all and a solid background color is shown when a view is touched. When the author filter is not present or the AppCompatSpinner view is replaced with an AppCompatImageView view, the fade/ripple works as expected. See the animations below for illustration.

AppCompatSpinner AppCompatImageView
post_list_touch_spinner post_list_touch_image

Reproduced

  1. Go to Sites tab.
  2. Tap Blog Posts under Publish section.
  3. Long-press any view in the top app bar (i.e. back arrow, author filter, Published tab, Drafts tab, Scheduled tab, Trashed tab).
Tested

Google Pixel 3 on Android 9.0 with alpha-164 feature/master-post-filters

stale[bot] commented 4 years ago

This issue has been marked as stale because:

Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority (cc @designsimply).