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"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-04-19 23:20:55 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingHorizontal="20dp"
|
|
|
|
android:paddingTop="20dp"
|
|
|
|
android:text="@string/all_details"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/errorDialogMessage"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingHorizontal="20dp"
|
|
|
|
android:paddingVertical="10dp"
|
|
|
|
android:textSize="21sp"
|
|
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-11-25 15:03:47 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-08-26 20:54:20 +02:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2020-04-19 23:20:55 +02:00
|
|
|
android:id="@+id/errorDialogNestedScroll"
|
2018-11-25 15:03:47 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-19 23:20:55 +02:00
|
|
|
android:overScrollMode="ifContentScrolls"
|
|
|
|
app:layout_constrainedHeight="true"
|
|
|
|
app:layout_constraintHeight_max="300dp"
|
|
|
|
app:layout_constraintHeight_min="200dp"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2018-11-25 15:03:47 +01:00
|
|
|
|
|
|
|
<HorizontalScrollView
|
2020-04-19 23:20:55 +02:00
|
|
|
android:id="@+id/errorDialogHorizontalScroll"
|
2018-11-25 15:03:47 +01:00
|
|
|
android:layout_width="350dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="24dp"
|
|
|
|
android:paddingRight="24dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/errorDialogContent"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-08-26 20:54:20 +02:00
|
|
|
android:gravity="start"
|
2018-11-25 15:03:47 +01:00
|
|
|
android:textIsSelectable="true"
|
2019-08-26 20:54:20 +02:00
|
|
|
android:textSize="12sp"
|
|
|
|
tools:text="@tools:sample/lorem/random" />
|
2018-11-25 15:03:47 +01:00
|
|
|
</HorizontalScrollView>
|
2019-08-26 20:54:20 +02:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
2020-04-19 23:20:55 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-11-25 15:03:47 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-19 23:20:55 +02:00
|
|
|
android:background="@drawable/ic_all_divider"
|
2018-11-25 15:03:47 +01:00
|
|
|
android:gravity="end"
|
|
|
|
android:minHeight="52dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2020-04-19 23:20:55 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/errorDialogReport"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:text="@string/about_feedback" />
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
2019-08-26 20:54:20 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2018-11-25 15:03:47 +01:00
|
|
|
android:id="@+id/errorDialogCancel"
|
2019-08-26 20:54:20 +02:00
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
2018-11-25 15:03:47 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="8dp"
|
2019-08-26 20:54:20 +02:00
|
|
|
android:text="@android:string/cancel" />
|
2018-11-25 15:03:47 +01:00
|
|
|
|
2019-08-26 20:54:20 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2018-11-25 15:03:47 +01:00
|
|
|
android:id="@+id/errorDialogCopy"
|
2019-08-26 20:54:20 +02:00
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
2018-11-25 15:03:47 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="8dp"
|
2019-08-26 20:54:20 +02:00
|
|
|
android:text="@android:string/copy" />
|
2018-11-25 15:03:47 +01:00
|
|
|
</LinearLayout>
|
2020-04-19 23:20:55 +02:00
|
|
|
</LinearLayout>
|