md_stub_progress.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <merge xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. tools:ignore="UnusedAttribute">
  5. <TextView
  6. android:id="@+id/content"
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:fontFamily="sans-serif"
  10. android:textSize="@dimen/md_content_textsize"
  11. android:layout_marginTop="4dp"
  12. android:layout_marginBottom="8dp"
  13. tools:text="Message"
  14. android:layout_gravity="center_horizontal" />
  15. <RelativeLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content">
  18. <TextView
  19. android:id="@+id/minMax"
  20. android:layout_width="wrap_content"
  21. android:minWidth="48dp"
  22. android:layout_height="wrap_content"
  23. tools:text="50/100"
  24. android:textSize="14sp"
  25. android:layout_marginRight="12dp"
  26. android:layout_marginEnd="12dp"
  27. android:gravity="start"
  28. android:textAlignment="viewStart"
  29. android:layout_alignParentLeft="true"
  30. android:layout_alignParentStart="true"
  31. android:layout_centerVertical="true" />
  32. <ProgressBar
  33. android:id="@android:id/progress"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. style="?android:progressBarStyleHorizontal"
  37. android:layout_marginLeft="@dimen/md_dialog_frame_margin"
  38. android:layout_marginStart="@dimen/md_dialog_frame_margin"
  39. android:layout_marginBottom="@dimen/md_dialog_frame_margin"
  40. android:layout_toRightOf="@+id/minMax"
  41. android:layout_toEndOf="@+id/minMax"
  42. android:layout_toLeftOf="@+id/label"
  43. android:layout_toStartOf="@+id/label"
  44. android:layout_centerVertical="true" />
  45. <TextView
  46. android:id="@+id/label"
  47. android:layout_width="wrap_content"
  48. android:minWidth="36dp"
  49. android:layout_height="wrap_content"
  50. tools:text="100%"
  51. android:textSize="14sp"
  52. android:layout_marginLeft="12dp"
  53. android:layout_marginStart="12dp"
  54. android:gravity="end"
  55. android:textAlignment="viewEnd"
  56. android:layout_alignParentRight="true"
  57. android:layout_alignParentEnd="true"
  58. android:layout_centerVertical="true" />
  59. </RelativeLayout>
  60. </merge>