activity_main_no_permissions.xml 1.62 KB
Newer Older
Anon's avatar
Anon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<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="match_parent"
    android:padding="@dimen/activity_padding">

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/image_logo"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/card10_logo_text"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
Anon's avatar
Anon committed
15 16 17 18

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
Anon's avatar
Anon committed
19 20 21 22 23 24 25
        android:layout_marginTop="@dimen/logo_margin_bottom"
        android:gravity="center"
        android:text="@string/main_label_no_permissions"
        android:id="@+id/label_no_permissions"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/image_logo" />
Anon's avatar
Anon committed
26 27

    <Button
Anon's avatar
Anon committed
28
        android:id="@+id/button_request_permissions"
Anon's avatar
Anon committed
29 30
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
Anon's avatar
Anon committed
31 32 33 34 35
        android:layout_marginTop="@dimen/main_label_margin"
        android:text="@string/main_button_grant_permissions"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/label_no_permissions"/>
Anon's avatar
Anon committed
36

Anon's avatar
Anon committed
37
</androidx.constraintlayout.widget.ConstraintLayout>