mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-23 16:37:30 +00:00
e1f8e87327
We were getting a TransactionTooLargeException when giving an EditText a very large (1.5MB+) text block. This has been resolved by switching to a RecyclerView to show the text line-by-line. As a side-effect, this improves scroll performance on lower-end devices. Also, I added a button to jump to the bottom of the log because I really wanted one :) Fixes #8124
14 lines
485 B
XML
14 lines
485 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<EditText
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:typeface="monospace"
|
|
android:textSize="10sp"
|
|
android:background="@null"
|
|
android:inputType="textNoSuggestions|textMultiLine"
|
|
tools:ignore="SmallSp" />
|