From 69f56652ac04a97b508125e962cbca0b98363686 Mon Sep 17 00:00:00 2001 From: anurjalal Date: Sun, 14 Feb 2021 12:27:54 +0700 Subject: [PATCH] feat(feature create_post): add layout for after post finished (item_view_post.xml) --- .../button_confirm_blue_background.xml | 10 + .../main/res/drawable/dialogue_background.xml | 10 + .../main/res/drawable/ic_post_finished.xml | 342 ++++++++++++++++++ .../src/main/res/layout/item_view_post.xml | 90 ++++- createpost/src/main/res/values/colors.xml | 2 + createpost/src/main/res/values/dimens.xml | 8 + createpost/src/main/res/values/strings.xml | 5 + createpost/src/main/res/values/styles.xml | 0 8 files changed, 448 insertions(+), 19 deletions(-) create mode 100755 createpost/src/main/res/drawable/button_confirm_blue_background.xml create mode 100755 createpost/src/main/res/drawable/dialogue_background.xml create mode 100755 createpost/src/main/res/drawable/ic_post_finished.xml mode change 100644 => 100755 createpost/src/main/res/layout/item_view_post.xml mode change 100644 => 100755 createpost/src/main/res/values/colors.xml create mode 100755 createpost/src/main/res/values/dimens.xml mode change 100644 => 100755 createpost/src/main/res/values/strings.xml mode change 100644 => 100755 createpost/src/main/res/values/styles.xml diff --git a/createpost/src/main/res/drawable/button_confirm_blue_background.xml b/createpost/src/main/res/drawable/button_confirm_blue_background.xml new file mode 100755 index 00000000..b0d50b80 --- /dev/null +++ b/createpost/src/main/res/drawable/button_confirm_blue_background.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/createpost/src/main/res/drawable/dialogue_background.xml b/createpost/src/main/res/drawable/dialogue_background.xml new file mode 100755 index 00000000..5c684222 --- /dev/null +++ b/createpost/src/main/res/drawable/dialogue_background.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/createpost/src/main/res/drawable/ic_post_finished.xml b/createpost/src/main/res/drawable/ic_post_finished.xml new file mode 100755 index 00000000..536819b0 --- /dev/null +++ b/createpost/src/main/res/drawable/ic_post_finished.xml @@ -0,0 +1,342 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/createpost/src/main/res/layout/item_view_post.xml b/createpost/src/main/res/layout/item_view_post.xml old mode 100644 new mode 100755 index f5b9e13c..a0d27a33 --- a/createpost/src/main/res/layout/item_view_post.xml +++ b/createpost/src/main/res/layout/item_view_post.xml @@ -1,28 +1,80 @@ + android:layout_width="@dimen/dialogue_width_312dp" + android:layout_height="@dimen/dialogue_height_330dp" + android:background="@color/color_white"> + app:layout_constraintHorizontal_bias="0.0" + app:layout_constraintStart_toEndOf="@+id/iv_post_finished" + app:layout_constraintTop_toTopOf="parent" /> + + + + + + - \ No newline at end of file + android:background="@drawable/button_confirm_blue_background" + android:clickable="true" + android:focusable="true" + android:fontFamily="@font/poppins_medium" + android:padding="0dp" + android:paddingTop="15dp" + android:paddingBottom="14dp" + android:text="@string/view_post" + android:textSize="14sp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/delete_msg_content" /> + + diff --git a/createpost/src/main/res/values/colors.xml b/createpost/src/main/res/values/colors.xml old mode 100644 new mode 100755 index f3d75507..4ae42add --- a/createpost/src/main/res/values/colors.xml +++ b/createpost/src/main/res/values/colors.xml @@ -72,4 +72,6 @@ @color/android_blue_light--> #00000000 + + #6b000000 \ No newline at end of file diff --git a/createpost/src/main/res/values/dimens.xml b/createpost/src/main/res/values/dimens.xml new file mode 100755 index 00000000..debf0a37 --- /dev/null +++ b/createpost/src/main/res/values/dimens.xml @@ -0,0 +1,8 @@ + + + + 312dp + 330dp + 236dp + + \ No newline at end of file diff --git a/createpost/src/main/res/values/strings.xml b/createpost/src/main/res/values/strings.xml old mode 100644 new mode 100755 index 8fb629d0..e019c52d --- a/createpost/src/main/res/values/strings.xml +++ b/createpost/src/main/res/values/strings.xml @@ -50,4 +50,9 @@ People in my City People in my Country People in my State + All Finished! + Keep an eye on your post for comments or direct messages from people! + View Post + All finished image + close_button \ No newline at end of file diff --git a/createpost/src/main/res/values/styles.xml b/createpost/src/main/res/values/styles.xml old mode 100644 new mode 100755