diff --git a/app/build.gradle b/app/build.gradle index e12c57079797d2ed675047e426c19402bb498466..45dfe4fe2fff8a688bf64f594c109794a4530d89 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -41,13 +41,8 @@ dependencies { implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'com.google.android.material:material:1.0.0' testImplementation 'junit:junit:4.+' -<<<<<<< HEAD - // androidTestImplementation 'com.android.support.test:runner:1.0.2' - // androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' -======= androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' ->>>>>>> f7de788a79d6a422d77d0cab63ac99197c44abfb } \ No newline at end of file diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index fafdb3a54feee79f304c24d6670eb20773fbf15e..dca24e8d87466e0bcfc7c37cf4f3dbbb360cb23f 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -11,8 +11,8 @@ <fragment android:id="@+id/fragment_tasklist" android:name="com.clemhaowen.dm_td2.tasklist.TaskListFragment" - android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_width="match_parent" + android:layout_height="match_parent" android:text="Hello World!" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" diff --git a/app/src/main/res/layout/fragment_task_list.xml b/app/src/main/res/layout/fragment_task_list.xml index 8d7c01745e05c6b104b496906e3a57ad20caa058..369364ec4a8ba0d477f6de4fa300cb7b8426fa66 100644 --- a/app/src/main/res/layout/fragment_task_list.xml +++ b/app/src/main/res/layout/fragment_task_list.xml @@ -17,7 +17,7 @@ <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/floatingActionButton" - android:layout_width="match_parent" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="30dp" android:layout_marginBottom="30dp"