activity_cargo_tracking.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical"
  6. android:paddingBottom="@dimen/activity_vertical_margin"
  7. android:paddingLeft="@dimen/activity_horizontal_margin"
  8. android:paddingRight="@dimen/activity_horizontal_margin"
  9. android:paddingTop="@dimen/activity_vertical_margin"
  10. tools:context=".CargoTrackingActivity" >
  11. <TextView
  12. android:id="@+id/textView2"
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:text="Search by"
  16. android:textAppearance="?android:attr/textAppearanceMedium" />
  17. <RadioGroup
  18. android:id="@+id/radioGroup1"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content" >
  21. <RadioButton
  22. android:id="@+id/radio0"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:checked="true"
  26. android:text="H_BOL" />
  27. <RadioButton
  28. android:id="@+id/radio1"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:text="Container#" />
  32. </RadioGroup>
  33. <EditText
  34. android:id="@+id/et_criterion"
  35. android:layout_width="fill_parent"
  36. android:layout_height="wrap_content"
  37. android:hint="@string/prompt_search_criterion" >
  38. <requestFocus />
  39. </EditText>
  40. <LinearLayout
  41. android:layout_width="match_parent"
  42. android:layout_height="wrap_content" >
  43. <Button
  44. android:id="@+id/btn_cancel"
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:layout_weight="1"
  48. android:text="Cancel" />
  49. <Button
  50. android:id="@+id/btn_search"
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:layout_weight="1"
  54. android:text="Search" />
  55. </LinearLayout>
  56. </LinearLayout>