Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/activity_exception.xml')
-rw-r--r--app/src/main/res/layout/activity_exception.xml48
1 files changed, 37 insertions, 11 deletions
diff --git a/app/src/main/res/layout/activity_exception.xml b/app/src/main/res/layout/activity_exception.xml
index 0dbe60f4..cae5f110 100644
--- a/app/src/main/res/layout/activity_exception.xml
+++ b/app/src/main/res/layout/activity_exception.xml
@@ -24,19 +24,45 @@
android:hint="An error appeared."
tools:ignore="HardcodedText" />
- <TextView
- android:id="@+id/stacktrace"
+ <ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_marginStart="@dimen/spacer_2x"
- android:layout_marginEnd="@dimen/spacer_2x"
- android:layout_weight="1"
- android:background="@color/bg_highlighted"
- android:padding="@dimen/spacer_1x"
- android:scrollbars="horizontal|vertical"
- android:textIsSelectable="true"
- android:typeface="monospace"
- tools:text="@string/android_get_accounts_permission_not_granted_exception_message" />
+ android:layout_weight="1">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/tips"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="@dimen/spacer_2x"
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
+ tools:itemCount="2"
+ tools:listitem="@layout/item_tip" />
+
+ <HorizontalScrollView
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1">
+
+ <TextView
+ android:id="@+id/stacktrace"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="@dimen/spacer_2x"
+ android:layout_marginEnd="@dimen/spacer_2x"
+ android:background="@color/bg_highlighted"
+ android:padding="@dimen/spacer_1x"
+ android:textIsSelectable="true"
+ android:typeface="monospace"
+ tools:text="@string/android_get_accounts_permission_not_granted_exception_message" />
+ </HorizontalScrollView>
+ </LinearLayout>
+ </ScrollView>
<LinearLayout
style="?android:buttonBarStyle"