123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- style="@style/padded"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:focusable="false"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
- <TextView
- android:id="@+id/textView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/uri_text"
- android:textSize="18dp"/>
- <AutoCompleteTextView
- android:id="@+id/master_chooser_uri"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="20"
- android:hint="@string/master_uri_hint"
- android:singleLine="true">
- <requestFocus/>
- </AutoCompleteTextView>
- </LinearLayout>
- <LinearLayout
- style="@style/padded"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
- <Button
- android:id="@+id/master_chooser_qr_code_button"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:onClick="qrCodeButtonClicked"
- android:text="@string/qr_code"/>
- <Button
- android:id="@+id/master_chooser_ok"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:enabled="false"
- android:onClick="okButtonClicked"
- android:text="@string/use_master"/>
- </LinearLayout>
- <CheckBox
- android:id="@+id/advanced_checkBox"
- style="@style/padded"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checked="false"
- android:onClick="advancedCheckboxClicked"
- android:text="@string/show_advanced"/>
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:visibility="gone"
- android:id="@+id/advancedOptions">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:text="@string/select_interface"
- android:id="@+id/interfaceLabel"
- android:layout_gravity="center"
- android:autoText="true"/>
- <ListView
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:id="@+id/networkInterfaces"
- android:layout_weight="1"
- android:visibility="visible"/>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
- <Button
- android:id="@+id/master_chooser_new_master_button"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:onClick="newMasterButtonClicked"
- android:text="@string/new_master"
- android:layout_weight="1"
- android:visibility="visible"/>
- <Button
- android:id="@+id/master_chooser_new_private_master_button"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:onClick="newPrivateMasterButtonClicked"
- android:text="@string/new_private_master"
- android:layout_weight="1"
- android:visibility="visible"/>
- </LinearLayout>
- </LinearLayout>
- <Button
- android:id="@+id/master_chooser_cancel"
- style="@style/padded"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:onClick="cancelButtonClicked"
- android:text="@string/cancel"/>
- <LinearLayout
- android:id="@+id/connection_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- style="@style/padded"
- android:gravity="center"
- android:visibility="gone">
- <ProgressBar
- android:id="@+id/connection_spinner"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- <TextView
- android:id="@+id/connection_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/connection_text"
- android:textSize="18sp"/>
- </LinearLayout>
- </LinearLayout>
|