You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

redbox_view.xml 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. android:background="#E80000"
  7. >
  8. <ListView
  9. android:id="@+id/rn_redbox_stack"
  10. android:layout_width="match_parent"
  11. android:layout_height="0dp"
  12. android:layout_weight="1"
  13. />
  14. <View
  15. android:id="@+id/rn_redbox_line_separator"
  16. android:layout_width="match_parent"
  17. android:layout_height="1dp"
  18. android:background="@android:color/darker_gray"
  19. android:visibility="gone"
  20. />
  21. <LinearLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:orientation="horizontal"
  25. >
  26. <ProgressBar
  27. android:id="@+id/rn_redbox_loading_indicator"
  28. android:layout_width="wrap_content"
  29. android:layout_height="match_parent"
  30. style="@android:style/Widget.ProgressBar.Small"
  31. android:indeterminateOnly="true"
  32. android:visibility="gone"
  33. android:paddingLeft="16dp"
  34. />
  35. <TextView
  36. android:id="@+id/rn_redbox_report_label"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:textColor="@android:color/white"
  40. android:textSize="14sp"
  41. android:fontFamily="monospace"
  42. android:visibility="gone"
  43. android:paddingTop="16dp"
  44. android:paddingBottom="16dp"
  45. android:paddingLeft="16dp"
  46. android:paddingRight="16dp"
  47. android:lineSpacingExtra="4dp"
  48. />
  49. </LinearLayout>
  50. <LinearLayout
  51. android:layout_width="match_parent"
  52. android:layout_height="wrap_content"
  53. android:orientation="horizontal"
  54. >
  55. <Button
  56. android:id="@+id/rn_redbox_dismiss_button"
  57. android:layout_width="0dp"
  58. android:layout_height="wrap_content"
  59. android:layout_weight="1"
  60. android:layout_margin="4dp"
  61. android:text="@string/catalyst_dismiss_button"
  62. android:textColor="@android:color/white"
  63. android:textSize="14sp"
  64. android:alpha="0.5"
  65. style="?android:attr/borderlessButtonStyle"
  66. android:gravity="center_horizontal|top"
  67. />
  68. <Button
  69. android:id="@+id/rn_redbox_reload_button"
  70. android:layout_width="0dp"
  71. android:layout_height="wrap_content"
  72. android:layout_weight="1"
  73. android:layout_margin="4dp"
  74. android:text="@string/catalyst_reload_button"
  75. android:textColor="@android:color/white"
  76. android:textSize="14sp"
  77. android:alpha="0.5"
  78. style="?android:attr/borderlessButtonStyle"
  79. android:gravity="center_horizontal|top"
  80. />
  81. <Button
  82. android:id="@+id/rn_redbox_copy_button"
  83. android:layout_width="0dp"
  84. android:layout_height="wrap_content"
  85. android:layout_weight="1"
  86. android:layout_margin="4dp"
  87. android:text="@string/catalyst_copy_button"
  88. android:textColor="@android:color/white"
  89. android:textSize="14sp"
  90. android:alpha="0.5"
  91. style="?android:attr/borderlessButtonStyle"
  92. android:gravity="center_horizontal|top"
  93. />
  94. <Button
  95. android:id="@+id/rn_redbox_report_button"
  96. android:layout_width="0dp"
  97. android:layout_height="wrap_content"
  98. android:layout_weight="1"
  99. android:layout_margin="4dp"
  100. android:text="@string/catalyst_report_button"
  101. android:textColor="@android:color/white"
  102. android:textSize="14sp"
  103. android:alpha="0.5"
  104. style="?android:attr/borderlessButtonStyle"
  105. android:visibility="gone"
  106. android:gravity="center_horizontal|top"
  107. />
  108. </LinearLayout>
  109. </LinearLayout>