I don't know what I'm doing :D

This commit is contained in:
kdeschuy
2017-07-28 00:07:40 +02:00
parent fed0dbff87
commit 8ca216a4ac
31 changed files with 132 additions and 81 deletions

View File

@@ -5,20 +5,40 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/colorLight"
android:padding="52dp"
android:paddingTop="102dp"
tools:context="be.mathsaey.stoofnogaan.MainActivity">
<LinearLayout
android:id="@+id/tasks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/drop_shadow"
android:paddingBottom="16dp"
android:orientation="vertical">
</LinearLayout>
<Button
android:id="@+id/addButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/task_new"
android:onClick="onNewTaskButtonClick"/>
</LinearLayout>
<LinearLayout
android:id="@+id/tasks"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp"
android:layout_above="@+id/addButton">
</LinearLayout>
<Button
android:id="@+id/addButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="onNewTaskButtonClick"
android:text="@string/task_new"
android:background="@drawable/button"
android:layout_alignParentBottom="true"
android:paddingLeft="52dp"
android:paddingRight="52dp"
android:layout_centerHorizontal="true">
</Button>
</RelativeLayout>
</LinearLayout>