Use same padding on creation as on editing

This commit is contained in:
Stefan Niedermann 2016-01-20 21:27:45 +01:00
parent 0d6e9c7a55
commit eb22ae6626

View file

@ -1,24 +1,26 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout
android:id="@+id/createContentContainer"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
tools:context="it.niedermann.owncloud.notes.android.activity.CreateNoteActivity" android:weightSum="1"
android:id="@+id/createContentContainer" tools:context="it.niedermann.owncloud.notes.android.activity.CreateNoteActivity">
android:weightSum="1">
<ScrollView <ScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent">
android:id="@+id/scrollView">
<EditText <EditText
android:id="@+id/createContent" android:id="@+id/createContent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ems="10" android:ems="10"
android:inputType="textMultiLine" /> android:inputType="textMultiLine"
android:padding="16dp"/>
</ScrollView> </ScrollView>
</LinearLayout> </LinearLayout>