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

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2020-05-11 15:06:15 +0300
committerStefan Niedermann <info@niedermann.it>2020-05-11 15:06:15 +0300
commit7b6786158c06bb9d4332208372922002ccd7f382 (patch)
treed0b185bf685a522244ec63e890312172ec14cbcf /app/src/main/res/layout
parent39c4aad5cc14d55d4faaae1c40a51f1304adf942 (diff)
Make stacktrace in ExceptionDialog horizontal scrollable
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/dialog_exception.xml20
1 files changed, 12 insertions, 8 deletions
diff --git a/app/src/main/res/layout/dialog_exception.xml b/app/src/main/res/layout/dialog_exception.xml
index 9a1a98255..5789b1b5e 100644
--- a/app/src/main/res/layout/dialog_exception.xml
+++ b/app/src/main/res/layout/dialog_exception.xml
@@ -29,18 +29,22 @@
android:text="@string/error_dialog_we_need_info"
android:textAppearance="?attr/textAppearanceBody2" />
- <TextView
- android:id="@+id/stacktrace"
+ <HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="@dimen/spacer_2x"
android:layout_marginBottom="@dimen/spacer_2x"
android:layout_weight="1"
- android:background="@color/bg_highlighted"
- android:padding="8dp"
- android:scrollbars="horizontal|vertical"
- android:textIsSelectable="true"
- android:typeface="monospace"
- tools:text="@tools:sample/lorem/random" />
+ android:background="@color/bg_highlighted">
+
+ <TextView
+ android:id="@+id/stacktrace"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ 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> \ No newline at end of file