|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
3 | 4 | android:layout_width="match_parent" |
4 | 5 | android:layout_height="match_parent" |
5 | 6 | android:fitsSystemWindows="false"> |
|
20 | 21 | android:fillViewport="true" |
21 | 22 | android:scrollbarStyle="insideOverlay"> |
22 | 23 |
|
23 | | - <EditText |
24 | | - android:id="@+id/editor_content" |
25 | | - android:layout_width="match_parent" |
26 | | - android:layout_height="match_parent" |
27 | | - android:background="@android:color/transparent" |
28 | | - android:gravity="top|start" |
29 | | - android:hint="@string/editor_hint_empty" |
30 | | - android:inputType="textMultiLine|textNoSuggestions" |
31 | | - android:imeOptions="flagNoExtractUi" |
32 | | - android:padding="16dp" |
33 | | - android:textColor="?android:attr/textColorPrimary" |
34 | | - android:textColorHint="?android:attr/textColorSecondary" |
35 | | - android:textSize="14sp" |
36 | | - android:typeface="monospace" /> |
| 24 | + <EditText |
| 25 | + android:id="@+id/editor_content" |
| 26 | + android:layout_width="wrap_content" |
| 27 | + android:layout_height="match_parent" |
| 28 | + android:minWidth="100%" |
| 29 | + android:background="@android:color/transparent" |
| 30 | + android:gravity="top|start" |
| 31 | + android:padding="16dp" |
| 32 | + android:fontFamily="monospace" |
| 33 | + android:textSize="14sp" |
| 34 | + android:hint="@string/editor_hint_empty" |
| 35 | + android:inputType="textMultiLine|textVisiblePassword|textNoSuggestions" |
| 36 | + android:imeOptions="flagNoExtractUi" |
| 37 | + android:textColor="?android:attr/textColorPrimary" |
| 38 | + android:textColorHint="?android:attr/textColorSecondary" /> |
37 | 39 |
|
38 | 40 | </HorizontalScrollView> |
39 | 41 |
|
|
0 commit comments