You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
TextView: implement setTextColor
also uncomment Resources.getCachedColorStateList
This commit is contained in:
@@ -845,7 +845,7 @@ public class Resources {
|
||||
* @return Returns a ColorStateList object containing either a single
|
||||
* solid color or multiple colors that can be selected based on a state.
|
||||
*/
|
||||
public ColorStateList getColorStateList(int id) throws NotFoundException { /*
|
||||
public ColorStateList getColorStateList(int id) throws NotFoundException {
|
||||
TypedValue value;
|
||||
synchronized (mAccessLock) {
|
||||
value = mTmpValue;
|
||||
@@ -862,8 +862,7 @@ public class Resources {
|
||||
mTmpValue = value;
|
||||
}
|
||||
}
|
||||
return res;*/
|
||||
return new ColorStateList(new int[][] {new int[0]}, new int[1]);
|
||||
return res;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user