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-07 18:19:07 +0300
committerStefan Niedermann <info@niedermann.it>2020-05-07 18:19:07 +0300
commit43a12dbdd02ed810cdbdafd7d824e0c32d583d5e (patch)
treedb55c21492810d376d044fdf9e8de3522d47b185
parentfa1388cc43cb480721bdddafa61e417f2a884045 (diff)
#456 Clear storage tip: show direct button to start app info page
-rw-r--r--app/src/main/java/it/niedermann/nextcloud/deck/ui/exception/ExceptionDialogFragment.java1
-rw-r--r--app/src/main/res/layout/dialog_exception.xml10
-rw-r--r--app/src/main/res/layout/item_tip.xml3
3 files changed, 4 insertions, 10 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/exception/ExceptionDialogFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/exception/ExceptionDialogFragment.java
index ba38cdf98..94f588700 100644
--- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/exception/ExceptionDialogFragment.java
+++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/exception/ExceptionDialogFragment.java
@@ -82,7 +82,6 @@ public class ExceptionDialogFragment extends AppCompatDialogFragment {
final String debugInfos = ExceptionUtil.getDebugInfos(requireContext(), throwables, account);
binding.tips.setAdapter(adapter);
- binding.statusMessage.setText(throwables.get(0).getLocalizedMessage());
binding.stacktrace.setText(debugInfos);
for (Throwable t : throwables) {
diff --git a/app/src/main/res/layout/dialog_exception.xml b/app/src/main/res/layout/dialog_exception.xml
index c53274642..8d1075fdb 100644
--- a/app/src/main/res/layout/dialog_exception.xml
+++ b/app/src/main/res/layout/dialog_exception.xml
@@ -5,20 +5,14 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:padding="@dimen/spacer_2x">
+ android:scrollbarStyle="insideInset"
+ android:padding="?attr/dialogPreferredPadding">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
- <TextView
- android:id="@+id/statusMessage"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:maxLength="50"
- tools:text="@tools:sample/lorem/random" />
-
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/tips"
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/item_tip.xml b/app/src/main/res/layout/item_tip.xml
index 157576ff7..1efb7d9e9 100644
--- a/app/src/main/res/layout/item_tip.xml
+++ b/app/src/main/res/layout/item_tip.xml
@@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:columnCount="2"
- android:padding="@dimen/spacer_2x">
+ android:paddingTop="@dimen/spacer_2x"
+ android:paddingBottom="@dimen/spacer_2x">
<ImageView
android:layout_gravity="center"