forked from hardcoresushi/DroidFS
Fill viewport in text editor
This commit is contained in:
parent
95eed07719
commit
b366fa1877
@ -6,24 +6,27 @@
|
|||||||
|
|
||||||
<include android:id="@+id/toolbar" layout="@layout/toolbar"/>
|
<include android:id="@+id/toolbar" layout="@layout/toolbar"/>
|
||||||
|
|
||||||
<ScrollView
|
<HorizontalScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent"
|
||||||
|
android:fillViewport="true">
|
||||||
|
|
||||||
<HorizontalScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="match_parent"
|
||||||
|
android:fillViewport="true">
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/text_editor"
|
android:id="@+id/text_editor"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="top"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
android:padding="5dp"/>
|
android:padding="5dp"/>
|
||||||
|
|
||||||
</HorizontalScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
</ScrollView>
|
</HorizontalScrollView>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -8,12 +8,14 @@
|
|||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent"
|
||||||
|
android:fillViewport="true">
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/text_editor"
|
android:id="@+id/text_editor"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="top"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
android:padding="5dp"/>
|
android:padding="5dp"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user