Single line text edits now only allow one line

New item selector for large screen task list (doesn't quite work yet)
This commit is contained in:
bg45
2017-03-02 17:33:19 -05:00
parent 558a0dad02
commit e833d0c5f1
7 changed files with 24 additions and 7 deletions

View File

@@ -29,7 +29,9 @@
android:id="@+id/new_task_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/new_task_name_hint" />
android:hint="@string/new_task_name_hint"
android:maxLines="1"
android:inputType="text" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View File

@@ -23,7 +23,9 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:hint="@string/task_list_new_list_hint"/>
android:hint="@string/task_list_new_list_hint"
android:maxLines="1"
android:inputType="text" />
<Button
android:id="@+id/new_task_list_button"
android:layout_width="80dp"

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="20dp"
android:textSize="20sp"
android:textColor="@drawable/tasklist_select"
android:duplicateParentState="true" />