The code below is producing this.
I would like this layout instead:
The large textView on top takes the full with of the parent and the textsize is auto-adjusting with android:autoSizeTextType="uniform". I want to align the textViews below with the actual text, not with the frame of the textView.
<?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="@color/black"
tools:context=".DisplayActivity">
<TextView
android:id="@+id/timeTextView"
android:layout_width="0dp"
android:layout_height="0dp"
android:autoSizeMaxTextSize="5000dp"
android:autoSizeTextType="uniform"
android:gravity="center_horizontal"
android:text="2:01:04"
android:textColor="@color/textColor"
app:layout_constraintBottom_toTopOf="@+id/guideline2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/timeTextView2"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginStart="148dp"
android:text="2:01:05"
android:textColor="@color/textColor"
android:textSize="50dp"
app:layout_constraintBottom_toTopOf="@+id/guideline4"
app:layout_constraintStart_toStartOf="@id/timeTextView"
app:layout_constraintTop_toTopOf="@+id/guideline2"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/timeTextView3"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginEnd="152dp"
android:text="2:01:07"
android:textColor="@color/textColor"
android:textSize="50dp"
app:layout_constraintBottom_toTopOf="@+id/guideline4"
app:layout_constraintEnd_toEndOf="@+id/timeTextView"
app:layout_constraintTop_toTopOf="@+id/guideline2"
app:layout_constraintVertical_bias="0.0" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.59" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.75" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.5" />
</androidx.constraintlayout.widget.ConstraintLayout>



Try this....
here is how it will look
Hope it work for you... :)