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
Add some stubs needed by android material library
This commit is contained in:
@@ -329,6 +329,8 @@ public class TypedArray {
|
||||
public ColorStateList getColorStateList(int index) {
|
||||
final TypedValue value = mValue;
|
||||
if (getValueAt(index * AssetManager.STYLE_NUM_ENTRIES, value)) {
|
||||
if (value.type == -1)
|
||||
return null;
|
||||
return mResources.loadColorStateList(value, value.resourceId);
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user