I don't know what I'm doing :D
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -9,12 +9,15 @@
|
||||
android:id="@+id/checkBox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@null"/>
|
||||
android:text="@null">
|
||||
</CheckBox>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/textView"
|
||||
android:inputType="text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/task_hint"/>
|
||||
android:hint="@string/task_hint">
|
||||
</EditText>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user