wulkanowy-mod/app/src/main/res/layout/dialog_error.xml

54 lines
2.0 KiB
XML
Raw Normal View History

2018-11-25 15:03:47 +01:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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"
android:orientation="vertical"
tools:context=".ui.base.ErrorDialog">
2018-11-25 15:03:47 +01:00
<TextView
android:id="@+id/errorDialogHumanizedMessage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="20dp"
android:paddingVertical="10dp"
android:textSize="21sp"
tools:text="@tools:sample/lorem" />
<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"
android:textIsSelectable="true"
tools:text="@tools:sample/lorem" />
<androidx.core.widget.NestedScrollView
android:id="@+id/errorDialogNestedScroll"
2018-11-25 15:03:47 +01:00
android:layout_width="match_parent"
android:layout_height="200dp"
android:overScrollMode="ifContentScrolls"
android:paddingHorizontal="24dp"
app:layout_constraintTop_toTopOf="parent">
2018-11-25 15:03:47 +01:00
<HorizontalScrollView
android:id="@+id/errorDialogHorizontalScroll"
2018-11-25 15:03:47 +01:00
android:layout_width="match_parent"
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>
</LinearLayout>