Skip to content

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
guanglinn committed Sep 16, 2024
1 parent c86bc4d commit 0828a8c
Showing 1 changed file with 23 additions and 10 deletions.
33 changes: 23 additions & 10 deletions src/main/res/layout/wrap.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/vscroll"
android:layout_width="match_parent"
Expand All @@ -11,13 +10,27 @@
android:fillViewport="true"
tools:ignore="LabelFor">

<EditText
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="top"
android:inputType="text|textMultiLine"
android:typeface="monospace"
tools:ignore="Autofill" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">

<org.billthefarmer.editor.LineNumbersTextView
android:id="@+id/lineNumbersView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="0"
android:text="" />

<EditText
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="top"
android:inputType="text|textMultiLine"
android:typeface="monospace"
tools:ignore="Autofill" />

</LinearLayout>

</ScrollView>

0 comments on commit 0828a8c

Please sign in to comment.