我有一个带有drawableTop的textView,但是图像是黑色的,我想将颜色更改为white。是否有一种方法可以做到这一点而无需创建单独的imageView和TextView。
以下是供参考的xml。
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="48dp"
android:layout_height="48dp"
android:gravity="center_horizontal|bottom"
android:drawableTop="@drawable/ic_add_room"
android:text="More"/>
Run Code Online (Sandbox Code Playgroud)