cryptomator-android/presentation/src/main/res/layout/dialog_enter_license.xml

58 lines
1.9 KiB
XML
Raw Normal View History

2020-12-21 15:52:03 +01:00
<?xml version="1.0" encoding="utf-8"?>
<org.cryptomator.presentation.ui.layout.ObscuredAwareDialogCoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/dssialogRootView"
2020-12-21 15:52:03 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.core.widget.NestedScrollView
2020-12-21 15:52:03 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent">
2020-12-21 15:52:03 +01:00
<RelativeLayout
2020-12-21 15:52:03 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/activity_vertical_margin">
2020-12-21 15:52:03 +01:00
<TextView
android:id="@+id/tv_message"
2020-12-21 15:52:03 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:text="@string/dialog_enter_license_content" />
2020-12-21 15:52:03 +01:00
<LinearLayout
android:id="@+id/ll_license"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/tv_message"
android:orientation="horizontal">
<ImageView
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@drawable/ic_license_key" />
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/et_license"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:imeOptions="actionDone|flagNoPersonalizedLearning"
android:inputType="text" />
</LinearLayout>
<include
layout="@layout/view_dialog_progress"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/til_password" />
2020-12-21 15:52:03 +01:00
<include
layout="@layout/view_dialog_error"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/ll_license" />
2020-12-21 15:52:03 +01:00
</RelativeLayout>
</androidx.core.widget.NestedScrollView>
</org.cryptomator.presentation.ui.layout.ObscuredAwareDialogCoordinatorLayout>