Travel-Mate icon indicating copy to clipboard operation
Travel-Mate copied to clipboard

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

Open rudmannn opened this issue 1 year ago • 0 comments

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 avatar Aug 04 '22 12:08 rudmannn