The attribute name resource IDs were never fixed up with the runtime package ID so we weren't finding attributes whenever the runtime package ID was different than the build time one, which happened to be when a shared lib referenced itself (0x00 vs 0x02). Bug:17666947 Change-Id: Icf3e874bcea0e27eebe42d60fbed626a34bf9266
27 lines
908 B
XML
27 lines
908 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/sample_layout"/>
|
|
|
|
<com.google.android.test.shared_library.AddressView xmlns:address="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="#03a9f4"
|
|
address:name="Librarian L"
|
|
address:streetNumber="21"
|
|
address:streetName="Android Lane"
|
|
address:city="AndroidVille"
|
|
address:state="OS"
|
|
address:zip="12345"
|
|
address:country="Mobile"/>
|
|
|
|
</LinearLayout>
|