activity_bluetooth.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <RelativeLayout 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="wrap_content"
  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. android:id="@+id/bluetoothLayout" >
  11. <ProgressBar
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:id="@+id/bluetoothProgressBar"
  15. android:layout_gravity="center_horizontal"
  16. android:layout_centerVertical="true"
  17. android:layout_centerHorizontal="true"
  18. android:indeterminate="true"
  19. android:indeterminateOnly="true"
  20. android:textAlignment="center"
  21. android:visibility="gone"
  22. android:layout_marginBottom="10dp" />
  23. <ListView
  24. android:id="@+id/bluetoothListView"
  25. android:visibility="gone"
  26. android:layout_width="fill_parent"
  27. android:layout_height="wrap_content"
  28. android:layout_below="@+id/bluetoothInfoText"
  29. android:layout_centerHorizontal="true"
  30. android:paddingTop="2dp" />
  31. <TextView
  32. android:id="@+id/bluetoothInfoText"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:gravity="center|top"
  36. android:layout_below="@+id/bluetoothProgressBar"
  37. android:layout_centerHorizontal="true"
  38. android:layout_marginTop="10dp"
  39. android:visibility="visible" />
  40. </RelativeLayout>