Possible fix for sub bar distance.

This commit is contained in:
Koen J 2024-12-05 16:58:35 +01:00
parent 53443a6cf2
commit 2084b46090

View file

@ -1,119 +1,121 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:id="@+id/root"
android:background="@drawable/background_16_round_4dp"
android:paddingLeft="10dp"
android:paddingTop="10dp"
android:paddingRight="10dp">
android:id="@+id/root">
<TextView android:id="@+id/text_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
tools:text="Do you know?"
android:fontFamily="@font/inter_semibold"
android:textSize="15sp"
android:textColor="@color/white"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toLeftOf="@id/text_counter" />
<TextView android:id="@+id/text_counter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="1/4"
android:fontFamily="@font/inter_regular"
android:textSize="12dp"
android:textColor="#585656"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<TextView android:id="@+id/text_body"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="Our app now supports dark mode for a better viewing experience. Check it out in your settings. Enjoy the new look!"
android:fontFamily="@font/inter_light"
android:textSize="14sp"
android:textColor="#9D9D9D"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@id/text_title"/>
<LinearLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/text_body"
app:layout_constraintRight_toRightOf="parent"
android:paddingTop="4dp"
android:paddingBottom="10dp">
android:background="@drawable/background_16_round_4dp"
android:paddingLeft="10dp"
android:paddingTop="10dp"
android:paddingRight="10dp">
<TextView android:id="@+id/text_time"
<TextView android:id="@+id/text_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
tools:text="Do you know?"
android:fontFamily="@font/inter_semibold"
android:textSize="15sp"
android:textColor="@color/white"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toLeftOf="@id/text_counter" />
<TextView android:id="@+id/text_counter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="2022-03-01"
tools:text="1/4"
android:fontFamily="@font/inter_regular"
android:textSize="12dp"
android:textColor="#585656"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<Space android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<TextView android:id="@+id/text_never"
<TextView android:id="@+id/text_body"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/never"
android:fontFamily="@font/inter_regular"
tools:text="Our app now supports dark mode for a better viewing experience. Check it out in your settings. Enjoy the new look!"
android:fontFamily="@font/inter_light"
android:textSize="14sp"
android:textColor="@color/colorPrimary"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
app:layout_constraintTop_toBottomOf="@id/text_body"
app:layout_constraintRight_toLeftOf="@id/text_close"/>
android:textColor="#9D9D9D"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@id/text_title"/>
<TextView android:id="@+id/text_close"
android:layout_width="wrap_content"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/dismiss"
android:fontFamily="@font/inter_regular"
android:textSize="14sp"
android:textColor="@color/colorPrimary"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
app:layout_constraintTop_toBottomOf="@id/text_body"
app:layout_constraintRight_toLeftOf="@id/button_action"/>
app:layout_constraintRight_toRightOf="parent"
android:paddingTop="4dp"
android:paddingBottom="10dp">
<FrameLayout android:id="@+id/button_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/background_button_primary_round_4dp"
app:layout_constraintTop_toBottomOf="@id/text_body"
app:layout_constraintRight_toRightOf="parent">
<TextView android:id="@+id/text_action"
<TextView android:id="@+id/text_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="What's New"
tools:text="2022-03-01"
android:fontFamily="@font/inter_regular"
android:textSize="12dp"
android:textColor="#585656"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<Space android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<TextView android:id="@+id/text_never"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/never"
android:fontFamily="@font/inter_regular"
android:textSize="14sp"
android:textColor="@color/white"
android:textColor="@color/colorPrimary"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
app:layout_constraintTop_toBottomOf="@id/text_body"
app:layout_constraintRight_toLeftOf="@id/text_close"/>
</FrameLayout>
</LinearLayout>
<TextView android:id="@+id/text_close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/dismiss"
android:fontFamily="@font/inter_regular"
android:textSize="14sp"
android:textColor="@color/colorPrimary"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
app:layout_constraintTop_toBottomOf="@id/text_body"
app:layout_constraintRight_toLeftOf="@id/button_action"/>
</androidx.constraintlayout.widget.ConstraintLayout>
<FrameLayout android:id="@+id/button_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/background_button_primary_round_4dp"
app:layout_constraintTop_toBottomOf="@id/text_body"
app:layout_constraintRight_toRightOf="parent">
<TextView android:id="@+id/text_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="What's New"
android:fontFamily="@font/inter_regular"
android:textSize="14sp"
android:textColor="@color/white"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
app:layout_constraintTop_toBottomOf="@id/text_body"
app:layout_constraintRight_toLeftOf="@id/text_close"/>
</FrameLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>