mirror of
https://github.com/wismna/DoNext.git
synced 2025-10-03 23:50:13 -04:00
Changed directory structure
This commit is contained in:
48
app/src/main/res/layout/fragment_tasklists.xml
Normal file
48
app/src/main/res/layout/fragment_tasklists.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/new_task_list_parent_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:focusableInTouchMode="true"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:orientation="vertical"
|
||||
tools:context=".activities.TaskListActivity">
|
||||
<LinearLayout
|
||||
android:id="@+id/new_task_list_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="75dp">
|
||||
<EditText
|
||||
android:id="@+id/new_task_list_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="2"
|
||||
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"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:text="@string/task_list_new_list_create"/>
|
||||
</LinearLayout>
|
||||
<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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layoutManager="LinearLayoutManager"
|
||||
tools:context=".fragments.TaskListsFragment"
|
||||
tools:listitem="@layout/fragment_tasklist" />
|
||||
</LinearLayout>
|
||||
|
||||
|
Reference in New Issue
Block a user