diff --git a/app/src/main/res/color/toggle_text_color.xml b/app/src/main/res/color/toggle_text_color.xml new file mode 100644 index 0000000000..3f993e5998 --- /dev/null +++ b/app/src/main/res/color/toggle_text_color.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/app/src/main/res/drawable/bg_submission_toggle_button.xml b/app/src/main/res/drawable/bg_submission_toggle_button.xml new file mode 100644 index 0000000000..fbb8fd0f73 --- /dev/null +++ b/app/src/main/res/drawable/bg_submission_toggle_button.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/submission_toggle.xml b/app/src/main/res/drawable/submission_toggle.xml new file mode 100644 index 0000000000..8ae1811f43 --- /dev/null +++ b/app/src/main/res/drawable/submission_toggle.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/app/src/main/res/layout/fragment_my_submission.xml b/app/src/main/res/layout/fragment_my_submission.xml index 4cc2afc56a..41262304f5 100644 --- a/app/src/main/res/layout/fragment_my_submission.xml +++ b/app/src/main/res/layout/fragment_my_submission.xml @@ -2,6 +2,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" + xmlns:app="http://schemas.android.com/apk/res-auto" android:background="@color/secondary_bg" tools:context=".ui.submission.MySubmissionFragment"> @@ -9,67 +10,74 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> - - - + android:gravity="center_horizontal" + android:orientation="vertical" + android:padding="10dp"> - - - + android:orientation="horizontal" + android:gravity="center" + android:background="@drawable/submission_toggle" + android:padding="10dp"> - + + + + - - - + android:layout_marginTop="16dp" + android:textColorHint="@color/hint_color"> - + + + + +