| <?xml version="1.0" encoding="utf-8"?> |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <androidx.fragment.app.FragmentContainerView |
| android:id="@+id/addressUpdateFragment" |
| android:name="com.google.chip.chiptool.clusterclient.AddressUpdateFragment" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_alignParentStart="true" |
| android:layout_alignParentTop="true"/> |
| |
| <Button |
| android:id="@+id/readSupportedFabricBtn" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_below="@id/addressUpdateFragment" |
| android:layout_alignParentStart="true" |
| android:layout_marginStart="10dp" |
| android:layout_marginTop="10dp" |
| android:layout_marginEnd="10dp" |
| android:layout_marginBottom="10dp" |
| android:text="@string/op_cred_client_read_supported_fabric_btn_text" /> |
| |
| <Button |
| android:id="@+id/readCommissionedFabricBtn" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_below="@id/readSupportedFabricBtn" |
| android:layout_alignParentStart="true" |
| android:layout_marginStart="10dp" |
| android:layout_marginTop="10dp" |
| android:layout_marginEnd="10dp" |
| android:layout_marginBottom="10dp" |
| android:text="@string/op_cred_client_read_commissioned_fabric_btn_text" /> |
| |
| <Button |
| android:id="@+id/readFabricsBtn" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_below="@id/readCommissionedFabricBtn" |
| android:layout_alignParentStart="true" |
| android:layout_marginStart="10dp" |
| android:layout_marginTop="10dp" |
| android:layout_marginEnd="10dp" |
| android:layout_marginBottom="10dp" |
| android:text="@string/op_cred_client_read_fabrics_btn_text" /> |
| |
| <Button |
| android:id="@+id/removeFabricsBtn" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_below="@id/readFabricsBtn" |
| android:layout_alignParentStart="true" |
| android:layout_marginStart="10dp" |
| android:layout_marginTop="10dp" |
| android:layout_marginEnd="10dp" |
| android:layout_marginBottom="10dp" |
| android:text="@string/op_cred_client_remove_fabrics_btn_text" /> |
| |
| <EditText |
| android:id="@+id/fabricIndexEd" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_below="@id/readFabricsBtn" |
| android:layout_marginStart="10dp" |
| android:layout_marginTop="10dp" |
| android:layout_marginEnd="10dp" |
| android:layout_marginBottom="10dp" |
| android:layout_toEndOf="@+id/removeFabricsBtn" |
| android:text="1" |
| android:hint="@string/op_cred_client_fabric_index_hint_text" |
| android:inputType="number" |
| android:textSize="20sp" /> |
| |
| <TextView |
| android:id="@+id/opCredClusterCommandStatus" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_below="@id/removeFabricsBtn" |
| android:minLines="4" |
| android:padding="16dp" |
| android:singleLine="false" |
| android:textSize="20sp" /> |
| |
| </RelativeLayout> |