Skip to content
Snippets Groups Projects
Commit d246d0b7 authored by Pixtxa's avatar Pixtxa
Browse files

Nicer Buttons:

- use whole scren width
- use colors
- switched no-contact and off
  - so it's the same order as when switching the state on card10 with `(state+1)%5`
  - NO CONTACT/OFF is still easy to access with the thumb
parent a5541cf4
No related branches found
No related tags found
1 merge request!30Feature/nice mood and more beautiful
...@@ -9,14 +9,48 @@ ...@@ -9,14 +9,48 @@
> >
<TextView android:layout_width="wrap_content" <TextView android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@string/personal_state"/> android:layout_height="wrap_content" android:text="@string/personal_state"/>
<Button android:id="@+id/mood_chaos" android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="@string/chaos"/> <Button
<Button android:id="@+id/mood_communication" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/mood_chaos"
android:text="@string/communication"/> android:layout_width="match_parent"
<Button android:id="@+id/mood_camp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/camp"/> android:backgroundTint="#0076BA"
<Button android:id="@+id/no_contact" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chaos"
android:text="@string/no_contact"/> android:textColor="#005383"
<Button android:id="@+id/no_state" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="30sp" />
android:text="@string/off"/>
<Button
android:id="@+id/mood_communication"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgroundTint="#ffc600"
android:text="@string/communication"
android:textColor="#d39a00"
android:textSize="30sp" />
<Button
android:id="@+id/mood_camp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgroundTint="#99ba00"
android:text="@string/camp"
android:textColor="#6f8700"
android:textSize="30sp" />
<Button
android:id="@+id/no_state"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/off"
android:textColor="#939393"
android:textSize="30sp" />
<Button
android:id="@+id/no_contact"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgroundTint="#ff0000"
android:text="@string/no_contact"
android:textColor="#BA0000"
android:textSize="30sp" />
</LinearLayout> </LinearLayout>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment