adding some stopwatch UI

This commit is contained in:
tibbi
2018-03-07 18:41:27 +01:00
parent 928177e8be
commit 75277a1fc4
4 changed files with 96 additions and 4 deletions

View File

@ -1,8 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/stopwatch_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.design.widget.CoordinatorLayout>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/stopwatch_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/normal_margin"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin"
android:textSize="@dimen/alarm_text_size"
tools:text="00:00"/>
<ImageView
android:id="@+id/stopwatch_play_pause"
android:layout_width="70dp"
android:layout_height="70dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/big_margin"
android:padding="@dimen/normal_margin"
android:src="@drawable/ic_play"/>
</RelativeLayout>