Update layout

This commit is contained in:
jacques 2023-07-23 18:27:06 +02:00
parent b90e6d8e44
commit d736eece5f
2 changed files with 68 additions and 4 deletions

View file

@ -6,8 +6,20 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
tools:ignore="MissingDefaultResource">
<androidx.cardview.widget.CardView
android:id="@+id/cardView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:layout_marginBottom="120dp"
app:cardCornerRadius="12dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">
<TextView
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -45,7 +57,59 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="RelativeOverlap" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="125dp"
android:gravity="center"
android:orientation="horizontal">
<Button
android:id="@+id/agreed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="14dp"
android:layout_marginBottom="38dp"
android:autoSizeMaxTextSize="100sp"
android:autoSizeMinTextSize="12sp"
android:autoSizeStepGranularity="2sp"
android:autoSizeTextType="uniform"
android:background="@drawable/rounded_btn"
android:paddingLeft="25dp"
android:paddingRight="25dp"
android:gravity="center"
android:maxLines="1"
android:text="@string/button_cancel"
android:textColor="@color/white"
android:textSize="16sp"
tools:ignore="HardcodedText,RtlHardcoded,SpUsage"
style="?android:attr/buttonBarButtonStyle" />
<Space
android:layout_width="155dp"
android:layout_height="wrap_content" />
<Button
android:id="@+id/notagreed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="38dp"
android:layout_marginBottom="38dp"
android:autoSizeMaxTextSize="100sp"
android:autoSizeMinTextSize="12sp"
android:autoSizeStepGranularity="2sp"
android:autoSizeTextType="uniform"
android:background="@drawable/rounded_btn"
android:paddingLeft="25dp"
android:paddingRight="25dp"
android:gravity="center"
android:maxLines="1"
android:text="@string/button_ok"
android:textColor="@color/white"
android:textSize="16sp"
tools:ignore="HardcodedText,RtlHardcoded,SpUsage"
style="?android:attr/buttonBarButtonStyle" />
</LinearLayout>
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline4"
android:layout_width="wrap_content"
@ -60,5 +124,5 @@
android:orientation="horizontal"
app:layout_constraintGuide_begin="94dp" />
</androidx.cardview.widget.CardView>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -16,7 +16,7 @@
<dimen name="desc_padding">40dp</dimen>
<dimen name="title_padding">20dp</dimen>
<dimen name="screen_shot_height">250dp</dimen>
<dimen name="ten_dp">10</dimen>
<dimen name="thirty_dp">30</dimen>
<dimen name="ten_dp">10dp</dimen>
<dimen name="thirty_dp">30dp</dimen>
</resources>