diff options
Diffstat (limited to 'tools/aapt2/data/res/layout/main.xml')
-rw-r--r-- | tools/aapt2/data/res/layout/main.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/aapt2/data/res/layout/main.xml b/tools/aapt2/data/res/layout/main.xml new file mode 100644 index 0000000..50a51d9 --- /dev/null +++ b/tools/aapt2/data/res/layout/main.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:support="http://schemas.android.com/apk/res/android.appcompat" + android:id="@+id/view" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <fragment class="android.test.sample.App$Inner" /> + + <variable name="user" type="com.android.User" /> + + <View xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/me" + android:layout_width="1dp" + android:onClick="doClick" + android:text="@{user.name}" + android:layout_height="match_parent" + app:layout_width="@support:bool/allow" + app:flags="complex|weak" + android:colorAccent="#ffffff"/> +</LinearLayout> |