Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_marginTop="50dp"
- android:layout_marginBottom="50dp">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <ImageButton
- style="@style/Widget.AppCompat.Button.Colored"
- android:layout_width="62dp"
- android:layout_height="62dp"
- android:textColor="#fff"
- android:src="@drawable/ic_timer"
- android:backgroundTint="@color/green"
- android:id="@+id/timerStart"
- android:onClick="startTimer"/>
- <Button
- style="@style/Widget.AppCompat.Button.Colored"
- android:layout_width="62dp"
- android:layout_height="62dp"
- android:textColor="#fff"
- android:text="+30s"
- android:textSize="15sp"
- android:backgroundTint="@color/colorPrimary"
- android:id="@+id/timerAdd30s"
- android:onClick="add30"/>
- <Button
- style="@style/Widget.AppCompat.Button.Colored"
- android:layout_width="62dp"
- android:layout_height="62dp"
- android:textColor="#fff"
- android:text="+1m"
- android:textSize="15sp"
- android:backgroundTint="@color/colorPrimary"
- android:id="@+id/timerAdd1m"
- android:onClick="add1m"/>
- <Button
- style="@style/Widget.AppCompat.Button.Colored"
- android:layout_width="62dp"
- android:layout_height="62dp"
- android:textColor="#fff"
- android:text="+5m"
- android:textSize="15sp"
- android:backgroundTint="@color/colorPrimary"
- android:id="@+id/timerAdd5m"
- android:onClick="add5m"/>
- </LinearLayout>
- <com.akexorcist.roundcornerprogressbar.RoundCornerProgressBar
- android:layout_width="match_parent"
- android:layout_height="12dp"
- app:rcRadius="2dp"
- app:rcBackgroundPadding="2dp"
- app:rcProgressColor="@color/colorPrimary"
- app:rcBackgroundColor="@color/grey"
- android:id="@+id/timerProgress"/>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textAlignment="center"
- android:text="@string/debug"
- android:textSize="20sp"
- android:id="@+id/timerCounter"
- android:textColor="#606060"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center">
- <ImageButton
- style="@style/Widget.AppCompat.Button.Colored"
- android:textColor="#fff"
- android:layout_width="124dp"
- android:layout_height="62dp"
- android:backgroundTint="@color/red"
- android:src="@drawable/ic_timer_off"
- android:id="@+id/timerStop"
- android:onClick="stopTimer"/>
- <ImageButton
- style="@style/Widget.AppCompat.Button.Colored"
- android:textColor="#fff"
- android:layout_width="124dp"
- android:layout_height="62dp"
- android:backgroundTint="@color/colorPrimary"
- android:src="@drawable/ic_autorenew"
- android:id="@+id/diceReRoll"
- android:onClick="rollButton" />
- </LinearLayout>
- </LinearLayout>
Add Comment
Please, Sign In to add comment