Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues induced by android:drawableTint at API level <= 23 #837

Open
rudmannn opened this issue Aug 4, 2022 · 0 comments
Open

Fix issues induced by android:drawableTint at API level <= 23 #837

rudmannn opened this issue Aug 4, 2022 · 0 comments
Labels

Comments

@rudmannn
Copy link

rudmannn commented Aug 4, 2022

Describe the bug
Hi,

I went through your app code and found the usages of android:drawableTint in the file fragment_about_us.xml. When running your app at API level <= 23, such an attribute cannot take any effects and induce compatibility issues

To Reproduce
Devices on API level 22
Steps to reproduce the behavior:

  1. Login the app
  2. Click on 'menu' button on the left-top side
  3. Scroll down to 'About Us'
  4. See error

Expected behavior
Icons should be tinted in grey

Screenshots
API level 29
image

API level 22
image

To fix the issue, you can use app:drawableTint (located in androidx v1.1.0+) instead of android:drawableTint for backward compatibility.

Device Information (please complete the following information):

  • Device: Android Emulator
  • OS: Android 5.1
@rudmannn rudmannn added the bug label Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant