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

View file

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