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

52 lines
1.6 KiB
XML
Raw Normal View History

2020-12-21 15:52:03 +01:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/activity_vertical_margin">
<TextView
android:id="@+id/tv_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/dialog_enter_license_content"
android:layout_marginBottom="5dp" />
<LinearLayout
android:layout_below="@+id/tv_message"
android:id="@+id/ll_folder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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" />
<include
layout="@layout/view_dialog_error"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/ll_folder" />
</RelativeLayout>
</androidx.core.widget.NestedScrollView>