Skip to content

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

Open
@rudmannn

Description

@rudmannn

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions