unpacking_dialog.xml 1.7 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. <RelativeLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="80dp">
  9. <ImageView
  10. android:layout_width="50dp"
  11. android:layout_height="50dp"
  12. android:layout_centerInParent="true"
  13. android:background="@drawable/qfield_logo" />
  14. </RelativeLayout>
  15. <LinearLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:orientation="vertical"
  19. android:padding="16dp">
  20. <TextView
  21. android:id="@+id/title"
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:textAlignment="center"
  25. style="@android:style/TextAppearance.DeviceDefault.Large" />
  26. <TextView
  27. android:id="@+id/message"
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:layout_marginTop="10dp"
  31. android:textAlignment="center"
  32. style="@android:style/TextAppearance.DeviceDefault.Small" />
  33. <ProgressBar
  34. android:id="@+id/progressBar"
  35. style="@android:style/Widget.DeviceDefault.ProgressBar.Horizontal"
  36. android:progressTint="#80CC28"
  37. android:progressBackgroundTint="#E6F5D4"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:layout_gravity="center"
  41. android:progress="0"/>
  42. </LinearLayout>
  43. </LinearLayout>