<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#FF000000" tools:context=".TimerActivity"> <TextView android:id="@+id/txtTime" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="32dp" android:elevation="1dp" android:fontFamily="sans-serif-condensed-medium" android:gravity="center_vertical|center_horizontal" android:text="1:50 pm" android:textColor="#FFFFFFFF" android:textSize="90sp" android:textStyle="bold" android:typeface="sans" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@+id/progressBar" /> <ProgressBar android:id="@+id/progressBar" style="@android:style/Widget.Material.ProgressBar.Horizontal" android:layout_width="match_parent" android:layout_height="match_parent" android:elevation="0dp" android:progressDrawable="@drawable/circle" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <TextView android:id="@+id/txtCounter" android:layout_width="match_parent" android:layout_height="wrap_content" android:fontFamily="sans-serif-condensed-medium" android:gravity="center_horizontal|center_vertical" android:text="1:30" android:textColor="#FFFFFFFF" android:textSize="130sp" android:textStyle="bold" android:typeface="sans" app:layout_constraintBottom_toTopOf="@+id/txtStatus" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/progressBar" android:elevation="1dp" /> <TextView android:id="@+id/txtStatus" android:layout_width="match_parent" android:layout_height="wrap_content" android:fontFamily="sans-serif-condensed-medium" android:gravity="center_horizontal|center_vertical" android:text="remaining" android:textColor="#FFFFFFFF" android:textSize="30sp" android:textStyle="bold" android:typeface="sans" app:layout_constraintBottom_toTopOf="@+id/progressBar" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/txtCounter" app:layout_constraintVertical_bias="0.0" android:elevation="1dp" /> </androidx.constraintlayout.widget.ConstraintLayout>