forked from github/wulkanowy-mirror
80 lines
3.3 KiB
XML
80 lines
3.3 KiB
XML
![]() |
<?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"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content">
|
||
|
|
||
|
<com.google.android.material.button.MaterialButton
|
||
|
android:id="@+id/ads_consent_privacy"
|
||
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="24dp"
|
||
|
android:layout_marginHorizontal="24dp"
|
||
|
android:insetLeft="0dp"
|
||
|
android:insetTop="0dp"
|
||
|
android:insetRight="0dp"
|
||
|
android:insetBottom="0dp"
|
||
|
android:padding="0dp"
|
||
|
android:text="Privacy Policy"
|
||
|
android:textAllCaps="false"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
<com.google.android.material.checkbox.MaterialCheckBox
|
||
|
android:id="@+id/ads_consent_over"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginHorizontal="17dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:text="I am over 18 years old"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="14dp"
|
||
|
app:layout_constraintTop_toBottomOf="@id/ads_consent_privacy" />
|
||
|
|
||
|
<com.google.android.material.button.MaterialButton
|
||
|
android:id="@+id/ads_consent_personalised"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginHorizontal="24dp"
|
||
|
android:layout_marginTop="24dp"
|
||
|
android:enabled="false"
|
||
|
android:insetLeft="0dp"
|
||
|
android:insetTop="0dp"
|
||
|
android:insetRight="0dp"
|
||
|
android:insetBottom="0dp"
|
||
|
android:text="Yes, personalized ads"
|
||
|
app:layout_constraintTop_toBottomOf="@id/ads_consent_over" />
|
||
|
|
||
|
<com.google.android.material.button.MaterialButton
|
||
|
android:id="@+id/ads_consent_non_personalised"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginHorizontal="24dp"
|
||
|
android:layout_marginTop="24dp"
|
||
|
android:layout_marginBottom="24dp"
|
||
|
android:insetLeft="0dp"
|
||
|
android:insetTop="0dp"
|
||
|
android:insetRight="0dp"
|
||
|
android:insetBottom="0dp"
|
||
|
android:text="Yes, non-personalized ads"
|
||
|
app:layout_constraintBottom_toTopOf="@id/ads_consent_cancel"
|
||
|
app:layout_constraintTop_toBottomOf="@id/ads_consent_personalised"
|
||
|
app:layout_constraintVertical_bias="0" />
|
||
|
|
||
|
<com.google.android.material.button.MaterialButton
|
||
|
android:id="@+id/ads_consent_cancel"
|
||
|
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginHorizontal="24dp"
|
||
|
android:layout_marginTop="24dp"
|
||
|
android:layout_marginBottom="24dp"
|
||
|
android:insetLeft="0dp"
|
||
|
android:insetTop="0dp"
|
||
|
android:insetRight="0dp"
|
||
|
android:insetBottom="0dp"
|
||
|
android:text="Cancel"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintVertical_bias="0" />
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|