98 lines
3.4 KiB
XML
98 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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"
|
|
android:background="@drawable/dashboard_model_background"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<ImageView
|
|
android:id="@+id/image_icon"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginStart="25dp"
|
|
android:layout_marginTop="20dp"
|
|
android:src="@mipmap/ic_launcher" />
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/dialog_title"
|
|
style="@style/TextBig"
|
|
android:textSize="24sp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="25dp"
|
|
android:layout_marginTop="20dp"
|
|
android:text="@string/app_name" />
|
|
</LinearLayout>
|
|
<View
|
|
android:id="@+id/view_line"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginTop="20dp"
|
|
android:background="@color/module_title_color" />
|
|
|
|
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/scrollContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:fillViewport="true">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<FrameLayout
|
|
android:id="@+id/contentContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="16dp" />
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:orientation="horizontal">
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/text_cancel"
|
|
style="@style/TextBtnTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:text="@string/cancel"
|
|
android:layout_marginEnd="20dp"
|
|
android:visibility="gone" />
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/text_settings"
|
|
style="@style/TextBtnTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:text="@string/settings"
|
|
android:layout_marginEnd="20dp"
|
|
android:visibility="gone" />
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/text_ok"
|
|
style="@style/TextBtnTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:visibility="visible"
|
|
android:text="@string/ok" />
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|