Debian Codegraph @

integration-tests/TestApp/app/src/main/res/layout/view_stub.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <layout xmlns:android="http://schemas.android.com/apk/res/android">
3 <data>
4 <variable name="viewStubVisibility" type="int"/>
5 <variable name="firstName" type="String"/>
6 <variable name="lastName" type="String"/>
7 </data>
8 <LinearLayout
9 android:orientation="vertical"
10 android:layout_width="match_parent"
11 android:layout_height="match_parent"
12 xmlns:bind="http://schemas.android.com/apk/res-auto">
13 <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
14 android:text="@{firstName}"
15 />
16 <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
17 android:text="@{lastName}"
18 />
19
20 <ViewStub android:layout_width="match_parent" android:layout_height="match_parent"
21 android:id="@+id/viewStub"
22 android:visibility="@{viewStubVisibility}"
23 android:layout="@layout/view_stub_contents"
24 bind:firstName="@{firstName}"
25 bind:lastName="@{lastName}"/>
26 </LinearLayout>
27 </layout>