master_chooser.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical" >
  6. <EditText
  7. android:id="@+id/master_chooser_uri"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:hint="@string/master_uri_hint"
  11. android:singleLine="true" >
  12. <requestFocus />
  13. </EditText>
  14. <LinearLayout
  15. android:id="@+id/linearLayout1"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:orientation="horizontal" >
  19. <Button
  20. android:id="@+id/master_chooser_ok"
  21. android:layout_width="100dip"
  22. android:layout_height="wrap_content"
  23. android:onClick="okButtonClicked"
  24. android:text="@android:string/ok" />
  25. <Button
  26. android:id="@+id/master_chooser_qr_code_button"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:onClick="qrCodeButtonClicked"
  30. android:text="@string/qr_code" />
  31. <Button
  32. android:id="@+id/master_chooser_new_master_button"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:onClick="newMasterButtonClicked"
  36. android:text="@string/new_master" />
  37. <Button
  38. android:id="@+id/master_chooser_cancel"
  39. android:layout_width="100dip"
  40. android:layout_height="wrap_content"
  41. android:onClick="cancelButtonClicked"
  42. android:text="@string/cancel" />
  43. </LinearLayout>
  44. </LinearLayout>