WIP new rules for tasks ordering

This commit is contained in:
BONNEVILLE Geoffroy
2018-11-09 18:28:07 +01:00
parent 9ad67699c0
commit 45d934dbb0
8 changed files with 24 additions and 40 deletions

View File

@@ -33,9 +33,9 @@
android:id="@+id/task_list_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="70dp"
android:layout_marginBottom="40dp"
android:scrollbars="vertical"
android:name="com.wismna.geoffroy.donext.activities.TaskFragment"
app:layoutManager="LinearLayoutManager"
tools:context=".fragments.TasksFragment"
tools:listitem="@layout/fragment_task_detailed" />
<RelativeLayout
@@ -72,37 +72,25 @@
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginBottom="70dp"
android:layout_marginBottom="40dp"
android:layout_gravity="bottom"
android:background="@color/colorPrimaryLight"/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="70dp"
android:layout_height="40dp"
android:layout_gravity="bottom"
android:layout_marginTop="5dp"
android:paddingTop="15dp"
android:orientation="horizontal"
android:focusable="true"
android:background="?android:attr/selectableItemBackground" >
<TextView
android:id="@+id/total_task_cycles"
android:layout_width="100dp"
android:layout_marginStart="10dp"
android:layout_gravity="center"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/total_task_count"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:focusable="true"
android:background="?android:attr/selectableItemBackground" >
<TextView
android:id="@+id/total_task_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/remaining_task_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</LinearLayout>
</FrameLayout>