Guest User

Untitled

a guest
May 24th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | None | 0 0
  1. <LinearLayout
  2. android:layout_width="wrap_content"
  3. android:layout_height="wrap_content"
  4. android:orientation="vertical"
  5. android:layout_marginTop="50dp"
  6. android:layout_marginBottom="50dp">
  7. <LinearLayout
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content">
  10. <ImageButton
  11. style="@style/Widget.AppCompat.Button.Colored"
  12. android:layout_width="62dp"
  13. android:layout_height="62dp"
  14. android:textColor="#fff"
  15. android:src="@drawable/ic_timer"
  16. android:backgroundTint="@color/green"
  17. android:id="@+id/timerStart"
  18. android:onClick="startTimer"/>
  19. <Button
  20. style="@style/Widget.AppCompat.Button.Colored"
  21. android:layout_width="62dp"
  22. android:layout_height="62dp"
  23. android:textColor="#fff"
  24. android:text="+30s"
  25. android:textSize="15sp"
  26. android:backgroundTint="@color/colorPrimary"
  27. android:id="@+id/timerAdd30s"
  28. android:onClick="add30"/>
  29. <Button
  30. style="@style/Widget.AppCompat.Button.Colored"
  31. android:layout_width="62dp"
  32. android:layout_height="62dp"
  33. android:textColor="#fff"
  34. android:text="+1m"
  35. android:textSize="15sp"
  36. android:backgroundTint="@color/colorPrimary"
  37. android:id="@+id/timerAdd1m"
  38. android:onClick="add1m"/>
  39. <Button
  40. style="@style/Widget.AppCompat.Button.Colored"
  41. android:layout_width="62dp"
  42. android:layout_height="62dp"
  43. android:textColor="#fff"
  44. android:text="+5m"
  45. android:textSize="15sp"
  46. android:backgroundTint="@color/colorPrimary"
  47. android:id="@+id/timerAdd5m"
  48. android:onClick="add5m"/>
  49. </LinearLayout>
  50.  
  51. <com.akexorcist.roundcornerprogressbar.RoundCornerProgressBar
  52. android:layout_width="match_parent"
  53. android:layout_height="12dp"
  54. app:rcRadius="2dp"
  55. app:rcBackgroundPadding="2dp"
  56. app:rcProgressColor="@color/colorPrimary"
  57. app:rcBackgroundColor="@color/grey"
  58. android:id="@+id/timerProgress"/>
  59.  
  60. <TextView
  61. android:layout_width="match_parent"
  62. android:layout_height="wrap_content"
  63. android:textAlignment="center"
  64. android:text="@string/debug"
  65. android:textSize="20sp"
  66. android:id="@+id/timerCounter"
  67. android:textColor="#606060"/>
  68.  
  69. <LinearLayout
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:gravity="center">
  73.  
  74. <ImageButton
  75. style="@style/Widget.AppCompat.Button.Colored"
  76. android:textColor="#fff"
  77. android:layout_width="124dp"
  78. android:layout_height="62dp"
  79. android:backgroundTint="@color/red"
  80. android:src="@drawable/ic_timer_off"
  81. android:id="@+id/timerStop"
  82. android:onClick="stopTimer"/>
  83.  
  84. <ImageButton
  85. style="@style/Widget.AppCompat.Button.Colored"
  86. android:textColor="#fff"
  87. android:layout_width="124dp"
  88. android:layout_height="62dp"
  89. android:backgroundTint="@color/colorPrimary"
  90. android:src="@drawable/ic_autorenew"
  91. android:id="@+id/diceReRoll"
  92. android:onClick="rollButton" />
  93.  
  94. </LinearLayout>
  95.  
  96. </LinearLayout>
Add Comment
Please, Sign In to add comment