2015-11-25 18:03:55 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-01-13 13:39:45 -05:00
|
|
|
android:id="@+id/new_task_list_parent_layout"
|
2015-11-25 18:03:55 -05:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2016-01-13 13:39:45 -05:00
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:descendantFocusability="beforeDescendants"
|
2015-11-25 18:03:55 -05:00
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
2017-12-14 22:50:16 +01:00
|
|
|
android:background="@android:color/background_light"
|
|
|
|
android:orientation="vertical">
|
2015-12-31 17:35:14 -05:00
|
|
|
<LinearLayout
|
2015-11-26 18:31:26 -05:00
|
|
|
android:id="@+id/new_task_list_layout"
|
2015-11-25 18:03:55 -05:00
|
|
|
android:layout_width="match_parent"
|
2015-12-31 17:35:14 -05:00
|
|
|
android:layout_height="wrap_content"
|
2016-01-12 13:51:34 -05:00
|
|
|
android:layout_marginStart="75dp">
|
2015-11-25 18:03:55 -05:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/new_task_list_name"
|
2017-02-28 17:24:36 -05:00
|
|
|
android:layout_width="0dp"
|
2015-11-25 18:03:55 -05:00
|
|
|
android:layout_height="wrap_content"
|
2017-02-28 17:24:36 -05:00
|
|
|
android:layout_weight="2"
|
2017-03-02 17:33:19 -05:00
|
|
|
android:hint="@string/task_list_new_list_hint"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:inputType="text" />
|
2015-11-25 18:03:55 -05:00
|
|
|
<Button
|
2015-11-26 18:31:26 -05:00
|
|
|
android:id="@+id/new_task_list_button"
|
2015-12-31 17:35:14 -05:00
|
|
|
android:layout_width="80dp"
|
2015-11-25 18:03:55 -05:00
|
|
|
android:layout_height="wrap_content"
|
2016-01-25 17:42:14 -05:00
|
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
2015-11-25 18:03:55 -05:00
|
|
|
android:text="@string/task_list_new_list_create"/>
|
2015-12-31 17:35:14 -05:00
|
|
|
</LinearLayout>
|
2015-12-30 19:02:27 -05:00
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/task_lists_view"
|
|
|
|
android:name="com.wismna.geoffroy.donext.fragments.TaskListFragment"
|
2015-11-25 18:03:55 -05:00
|
|
|
android:layout_width="match_parent"
|
2015-12-30 19:02:27 -05:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layoutManager="LinearLayoutManager"
|
2017-12-14 22:50:16 +01:00
|
|
|
tools:context=".fragments.TaskListsDialogFragment"
|
2015-12-30 19:02:27 -05:00
|
|
|
tools:listitem="@layout/fragment_tasklist" />
|
2015-11-25 18:03:55 -05:00
|
|
|
</LinearLayout>
|
2015-12-30 19:02:27 -05:00
|
|
|
|
|
|
|
|