Fix icon color in dark mode

Fixes: 133651524
Test: visual
Change-Id: Ic6f05dc491ad1d49b5cc81e294bf91271420d8e2
This commit is contained in:
Raff Tsai
2019-05-27 18:32:35 +08:00
parent 9d33198dc2
commit e30f61f739
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,8 @@ Copyright (C) 2015 The Android Open Source Project
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
android:viewportHeight="24.0"
android:tint="?android:attr/colorControlNormal">
<path
android:fillColor="#FF000000"
android:pathData="M5 17h14v2H5zm7,-12L5.33 15h13.34z"/>

View File

@@ -130,7 +130,6 @@ public class StorageVolumePreference extends Preference {
public void onBindViewHolder(PreferenceViewHolder view) {
final ImageView unmount = (ImageView) view.findViewById(R.id.unmount);
if (unmount != null) {
unmount.setImageTintList(ColorStateList.valueOf(Color.parseColor("#8a000000")));
unmount.setOnClickListener(mUnmountListener);
}