2018-11-25 15:03:47 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-04-19 23:20:55 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-11-25 15:03:47 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minWidth="300dp"
|
2021-10-31 20:28:01 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
tools:context=".ui.base.ErrorDialog">
|
2018-11-25 15:03:47 +01:00
|
|
|
|
2020-04-19 23:20:55 +02:00
|
|
|
<TextView
|
2021-10-31 20:28:01 +01:00
|
|
|
android:id="@+id/errorDialogHumanizedMessage"
|
2020-04-19 23:20:55 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingHorizontal="20dp"
|
|
|
|
android:paddingVertical="10dp"
|
|
|
|
android:textSize="21sp"
|
|
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
|
2021-10-31 20:28:01 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/errorDialogErrorMessage"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:paddingHorizontal="20dp"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2021-12-28 12:16:52 +01:00
|
|
|
android:textIsSelectable="true"
|
2021-10-31 20:28:01 +01:00
|
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
|
2021-12-28 12:16:52 +01:00
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
android:id="@+id/errorDialogNestedScroll"
|
2018-11-25 15:03:47 +01:00
|
|
|
android:layout_width="match_parent"
|
2021-12-28 12:16:52 +01:00
|
|
|
android:layout_height="200dp"
|
|
|
|
android:overScrollMode="ifContentScrolls"
|
|
|
|
android:paddingHorizontal="24dp"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2018-11-25 15:03:47 +01:00
|
|
|
|
2021-12-28 12:16:52 +01:00
|
|
|
<HorizontalScrollView
|
|
|
|
android:id="@+id/errorDialogHorizontalScroll"
|
2018-11-25 15:03:47 +01:00
|
|
|
android:layout_width="match_parent"
|
2021-12-28 12:16:52 +01:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/errorDialogContent"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?android:textColorTertiary"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="12sp"
|
|
|
|
tools:text="Lorem ipsum\ndolor\nsit\namet" />
|
|
|
|
</HorizontalScrollView>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
2020-04-19 23:20:55 +02:00
|
|
|
</LinearLayout>
|