From 2b0cff82e4b127fd1caaec80d3302d08086a2a69 Mon Sep 17 00:00:00 2001 From: Jelena Petrovic Date: Fri, 11 Nov 2022 02:39:28 +0100 Subject: zapocet rad na dizajnu prikaza objave #30 --- .../.idea/deploymentTargetDropDown.xml | 17 -- .../src/main/res/layout/activity_single_post.xml | 173 ++++++++++++++++----- .../app/src/main/res/values/dimens.xml | 3 + 3 files changed, 136 insertions(+), 57 deletions(-) delete mode 100644 Client/BrzoDoLokacije/.idea/deploymentTargetDropDown.xml (limited to 'Client') diff --git a/Client/BrzoDoLokacije/.idea/deploymentTargetDropDown.xml b/Client/BrzoDoLokacije/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index a3aab99..0000000 --- a/Client/BrzoDoLokacije/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/activity_single_post.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/activity_single_post.xml index 00d3460..436784e 100644 --- a/Client/BrzoDoLokacije/app/src/main/res/layout/activity_single_post.xml +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/activity_single_post.xml @@ -1,53 +1,75 @@ - - - + android:layout_height="wrap_content" + android:gravity="bottom" + app:layout_constraintTop_toBottomOf="@id/rvMain" + tools:layout_editor_absoluteX="0dp"> + android:gravity="top|start" + android:padding="@dimen/text_padding" + android:text="Drzava, grad" + app:layout_constraintTop_toBottomOf="@+id/tvLocationType" + tools:layout_editor_absoluteX="0dp" /> + android:text="Naslov" + android:textSize="@dimen/header1_size" + android:textStyle="bold" + android:gravity="top|start" + android:padding="@dimen/text_padding"/> + android:gravity="top|start" + android:text="Tip lokacije" + android:padding="@dimen/text_padding" + app:layout_constraintTop_toBottomOf="@+id/tvTitle" + tools:layout_editor_absoluteX="0dp" /> + android:layout_height="wrap_content" + android:layout_marginTop="20dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/tvLocationParent"> + android:id="@+id/linearLayout" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="horizontal" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + android:textStyle="bold" + app:layout_constraintEnd_toStartOf="@+id/tvNumberOfRatings" + tools:layout_editor_absoluteY="4dp" /> - - - + tools:layout_editor_absoluteY="4dp" /> - + android:background="@drawable/rounded_picture_background" + android:elevation="5dp" + android:padding="@dimen/component_padding" + app:layout_constraintTop_toBottomOf="@+id/linearLayout" + tools:layout_editor_absoluteX="0dp"> + + + + + + + + + + + + + + + + + + +