From a70274b2c3367be90c424c8c89eb4f4623e5c184 Mon Sep 17 00:00:00 2001 From: smdyv <88971341+smdyv@users.noreply.github.com> Date: Tue, 22 Feb 2022 23:28:54 +0100 Subject: [PATCH] Set result text selectable --- .../main/java/app/attestation/auditor/AttestationActivity.java | 1 - app/src/main/res/layout/content_attestation.xml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/app/attestation/auditor/AttestationActivity.java b/app/src/main/java/app/attestation/auditor/AttestationActivity.java index 08da061b2..ab3877a72 100644 --- a/app/src/main/java/app/attestation/auditor/AttestationActivity.java +++ b/app/src/main/java/app/attestation/auditor/AttestationActivity.java @@ -265,7 +265,6 @@ protected void onCreate(Bundle savedInstanceState) { }); textView = findViewById(R.id.textview); - textView.setMovementMethod(new ScrollingMovementMethod()); imageView = findViewById(R.id.imageview); diff --git a/app/src/main/res/layout/content_attestation.xml b/app/src/main/res/layout/content_attestation.xml index 565f9cd8c..643ca6422 100644 --- a/app/src/main/res/layout/content_attestation.xml +++ b/app/src/main/res/layout/content_attestation.xml @@ -82,7 +82,8 @@ android:text="" android:scrollbarAlwaysDrawVerticalTrack="false" android:scrollbarAlwaysDrawHorizontalTrack="false" - android:scrollHorizontally="false" /> + android:scrollHorizontally="false" + android:textIsSelectable="true" />