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
load layout XMLs directly from apk file
This commit is contained in:
@@ -692,7 +692,7 @@ public class View extends Object {
|
||||
public View() {} // FIXME
|
||||
|
||||
public View(AttributeSet attrs) {
|
||||
id = attrs.getAttributeIntValue("http://schemas.android.com/apk/res/android", "id", 0);
|
||||
id = attrs.getAttributeResourceValue("http://schemas.android.com/apk/res/android", "id", 0);
|
||||
|
||||
if(id != 0)
|
||||
view_by_id.put(id, this);
|
||||
|
||||
Reference in New Issue
Block a user