Purrty checkboxes also fuck android
This commit is contained in:
@@ -7,9 +7,7 @@ import android.widget.CheckBox;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.EditText;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.Toast;
|
||||
|
||||
import be.mathsaey.stoofnogaan.R;
|
||||
import be.mathsaey.stoofnogaan.data.Task;
|
||||
|
||||
public class TaskView extends LinearLayout {
|
||||
@@ -30,6 +28,7 @@ public class TaskView extends LinearLayout {
|
||||
checkBox = findViewById(R.id.checkBox);
|
||||
textView = findViewById(R.id.textView);
|
||||
|
||||
|
||||
checkBox.setChecked(t.getStatus());
|
||||
textView.setText(t.getText());
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<!-- set the shadow color here -->
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="@color/colorDropShadow" />
|
||||
android:color="@color/darklight" />
|
||||
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/colorWhite" />
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<!-- set the shadow color here -->
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="@color/colorDropShadow" />
|
||||
android:color="@color/darklight" />
|
||||
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/colorWhite" />
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/colorLight"
|
||||
android:background="@color/light"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
app:flexDirection="column"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorWhite">#FFF</color>
|
||||
<color name="colorLight">#FFF8E1</color>
|
||||
<color name="colorOrange">#FF7F2A</color>
|
||||
<color name="colorTeal">#5FD3BC</color>
|
||||
<color name="colorDropShadow">#E6DDBF</color>
|
||||
<color name="colorBrown">#552200</color>
|
||||
<color name="white">#FFF</color>
|
||||
<color name="light">#FFF8E1</color>
|
||||
<color name="orange">#FF7F2A</color>
|
||||
<color name="teal">#5FD3BC</color>
|
||||
<color name="darklight">#E6DDBF</color>
|
||||
<color name="brown">#552200</color>
|
||||
</resources>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="android:Theme.Holo.NoActionBar">
|
||||
<style name="AppTheme" parent="android:Theme.Material.Light.NoActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user