Update layout

This commit is contained in:
jacques 2023-07-23 18:26:51 +02:00
parent be946d0327
commit b90e6d8e44
2 changed files with 55 additions and 43 deletions

View file

@ -1,29 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
xmlns:tools="http://schemas.android.com/tools"
android:background="@android:color/white">
<RelativeLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/Two_buttonDialog"
android:layout_width="match_parent"
android:layout_height="230dp"
android:layout_height="match_parent"
android:background="@drawable/background_dialog"
android:paddingBottom="@dimen/thirty_dp"
android:paddingLeft="@dimen/ten_dp"
android:paddingTop="@dimen/ten_dp"
android:paddingRight="@dimen/ten_dp"
android:paddingTop="@dimen/ten_dp">
android:paddingBottom="@dimen/thirty_dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background_dialog"
android:orientation="vertical">
<ImageView
android:id="@+id/image"
android:id="@+id/head_icon"
android:layout_width="61dp"
android:layout_height="61dp"
android:layout_gravity="center"
android:layout_centerHorizontal="true"
android:layout_marginTop="12dp"
android:src="@drawable/tickmark"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="ContentDescription" />
<TextView
@ -35,7 +41,9 @@
android:layout_marginRight="12dp"
android:fontFamily="@font/opensans_semibold"
android:text="@string/app_name"
android:textSize="16dp"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="HardcodedText,RtlHardcoded,SpUsage" />
<TextView
@ -47,9 +55,12 @@
android:layout_marginRight="12dp"
android:fontFamily="@font/opensans_regular"
android:text="@string/app_name"
android:textSize="16dp"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="HardcodedText,RtlHardcoded,SpUsage" />
</RelativeLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -72,7 +83,7 @@
android:paddingRight="25dp"
android:gravity="center"
android:maxLines="1"
android:text="Close"
android:text="@string/button_cancel"
android:textColor="@color/white"
android:textSize="16sp"
tools:ignore="HardcodedText,RtlHardcoded,SpUsage"
@ -97,7 +108,7 @@
android:paddingRight="25dp"
android:gravity="center"
android:maxLines="1"
android:text="Close"
android:text="@string/button_ok"
android:textColor="@color/white"
android:textSize="16sp"
tools:ignore="HardcodedText,RtlHardcoded,SpUsage"

View file

@ -30,6 +30,7 @@
android:layout_width="61dp"
android:layout_height="61dp"
android:layout_gravity="center"
android:layout_centerHorizontal="true"
android:layout_marginTop="12dp"
android:src="@drawable/tickmark"
tools:ignore="ContentDescription" />