Update favorite_edit_dialog.xml

Delete unused LinearLayout and android:minLines="2", add ScrollView, other small fixes
This commit is contained in:
Edward17 2015-05-17 21:01:40 +03:00
parent 3772c4daa4
commit 00c523ea6b

View file

@ -1,17 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/dialog_content_bottom_margin"
android:paddingLeft="@dimen/dialog_content_margin"
android:paddingRight="@dimen/dialog_content_margin"
android:paddingTop="@dimen/dialog_content_bottom_margin">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="@dimen/dialog_content_bottom_margin"
android:paddingLeft="@dimen/dialog_content_margin"
android:paddingRight="@dimen/dialog_content_margin"
android:paddingTop="@dimen/dialog_content_bottom_margin">
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
@ -26,7 +25,6 @@
android:inputType="textCapSentences"
android:selectAllOnFocus="true"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -37,8 +35,7 @@
android:id="@+id/Category"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:completionThreshold="1"
android:selectAllOnFocus="true"/>
android:completionThreshold="1"/>
<TextView
android:layout_width="wrap_content"
@ -50,9 +47,7 @@
android:id="@+id/descr"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textMultiLine|textCapSentences"
android:minLines="2"
android:scrollbars="vertical"
android:inputType="textMultiLine|textCapSentences"
android:selectAllOnFocus="true"/>
</LinearLayout>