aboutsummaryrefslogtreecommitdiff
path: root/Client/BrzoDoLokacije/app/src/main/res/layout
diff options
context:
space:
mode:
authorTAMARA JERINIC <tamara.jerinic@gmail.com>2022-12-05 21:20:56 +0100
committerTAMARA JERINIC <tamara.jerinic@gmail.com>2022-12-05 21:20:56 +0100
commit4eab4ea8df9e3aeb7db8c86fd54a6fa9d59d11a7 (patch)
treed20cf2b48ac00416e20871d8171d372f149e1c3f /Client/BrzoDoLokacije/app/src/main/res/layout
parent71bfced6c95b79399fc1faf0adfd0af9f87edcd1 (diff)
Izmenjena struktura stranice za prikaz objave.
Diffstat (limited to 'Client/BrzoDoLokacije/app/src/main/res/layout')
-rw-r--r--Client/BrzoDoLokacije/app/src/main/res/layout/activity_single_post.xml402
-rw-r--r--Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_comments.xml74
-rw-r--r--Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_description.xml187
3 files changed, 404 insertions, 259 deletions
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 e3cabb5..744a2a2 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,310 +1,194 @@
<?xml version="1.0" encoding="utf-8"?>
-
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
+ xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:padding="@dimen/component_padding"
- xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".Activities.ActivitySinglePost">
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fillViewport="true">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <androidx.recyclerview.widget.RecyclerView
+
+ <androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvMain"
android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_margin="0dp"
android:paddingBottom="@dimen/component_padding"
- android:layout_height="400dp"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- </androidx.recyclerview.widget.RecyclerView>
-
-
-
-<androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="bottom"
- app:layout_constraintTop_toBottomOf="@id/rvMain"
- tools:layout_editor_absoluteX="0dp">
-
- <TextView
- android:id="@+id/tvLocationParent"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="top|start"
- android:padding="@dimen/text_padding"
- android:text="Drzava, grad"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/tvLocationType" />
-
- <TextView
- android:id="@+id/tvTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="top|start"
- android:padding="@dimen/text_padding"
- android:text="Naslov"
- android:textSize="@dimen/header1_size"
- android:textStyle="bold"
- app:layout_constraintStart_toStartOf="parent" />
-
- <TextView
- android:id="@+id/tvLocationType"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="top|start"
- android:padding="@dimen/text_padding"
- android:text="Tip lokacije"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/tvTitle" />
-
- <TextView
- android:id="@+id/tvUser"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:clickable="true"
- android:gravity="top|start"
- android:padding="@dimen/text_padding"
- android:text="User"
+ app:layout_constraintBottom_toTopOf="@+id/linearLayout2"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/tvLocationParent" />
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintVertical_bias="0.0" />
<androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/constraintLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="36dp"
+ android:id="@+id/linearLayout2"
+ android:layout_width="408dp"
+ android:layout_height="723dp"
+ android:layout_marginBottom="8dp"
+ android:background="@drawable/view_top_corner_radius"
+ android:elevation="30dp"
+ android:padding="16dp"
+ app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="1.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/tvLocationParent">
+ app:layout_constraintHorizontal_bias="0.0"
+ app:layout_constraintStart_toStartOf="parent">
+
- <LinearLayout
- android:id="@+id/linearLayout"
+ <TextView
+ android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:orientation="horizontal"
+ android:layout_marginTop="24dp"
+ android:gravity="top|start"
+ android:padding="@dimen/text_padding"
+ android:text="Naslov"
+ style="@style/title"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
+ app:layout_constraintTop_toTopOf="parent" />
- <ImageView
- android:id="@+id/star1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:src="@android:drawable/btn_star_big_on" />
-
- <ImageView
- android:id="@+id/star2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:src="@android:drawable/btn_star_big_on" />
+ <ImageView
+ android:id="@+id/imageView12"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:src="@drawable/ic_baseline_location_on_24"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/tvTitle" />
- <ImageView
- android:id="@+id/star3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:src="@android:drawable/btn_star_big_on" />
+ <TextView
+ android:id="@+id/tvLocationParent"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="top|start"
+ android:padding="@dimen/text_padding"
+ android:text="Drzava, grad"
+ app:layout_constraintStart_toEndOf="@+id/imageView12"
+ app:layout_constraintTop_toBottomOf="@+id/tvTitle" />
- <ImageView
- android:id="@+id/star4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:src="@android:drawable/btn_star_big_on" />
+ <TextView
+ android:id="@+id/tvLocationType"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="16dp"
+ android:gravity="top|start"
+ android:padding="@dimen/text_padding"
+ android:text="Tip lokacije"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/tvTitle" />
- <ImageView
- android:id="@+id/star5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:src="@android:drawable/btn_star_big_on" />
- </LinearLayout>
+ <TextView
+ android:id="@+id/tvUser"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:clickable="true"
+ android:gravity="top|start"
+ android:padding="@dimen/text_padding"
+ android:text="User"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/tvLocationType" />
<TextView
android:id="@+id/tvRating"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginTop="24dp"
+ android:layout_marginEnd="4dp"
android:padding="@dimen/text_padding"
android:text="4.2"
android:textStyle="bold"
app:layout_constraintEnd_toStartOf="@+id/tvNumberOfRatings"
- tools:layout_editor_absoluteY="4dp" />
+ app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvNumberOfRatings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginTop="24dp"
android:padding="@dimen/text_padding"
android:text="(10,500)"
app:layout_constraintEnd_toEndOf="parent"
- tools:layout_editor_absoluteY="4dp" />
-
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/constraintLayout3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- 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">
-
- <TextView
- android:id="@+id/tvDescriptionLabel"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="top|start"
- android:padding="@dimen/text_padding"
- android:text="Opis"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/tvDescription"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="TextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextView"
- app:layout_constraintTop_toBottomOf="@+id/tvDescriptionLabel" />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <ImageView
+ android:id="@+id/activitySinglePostChangeHeightUp"
+ android:layout_width="100dp"
+ android:layout_height="30dp"
+ android:clickable="true"
+ android:src="@drawable/ic_round_keyboard_arrow_up_24"
+ android:text="Button"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <ImageView
+ android:id="@+id/activitySinglePostChangeHeightDown"
+ android:layout_width="100dp"
+ android:layout_height="30dp"
+ android:clickable="true"
+ android:src="@drawable/ic_round_keyboard_arrow_down_24"
+ android:text="Button"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
- <LinearLayout
- android:id="@+id/linearLayout2"
+ <org.osmdroid.views.MapView
+ android:id="@+id/MapDialogueMapView"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="horizontal"
- android:paddingVertical="@dimen/component_padding"
- app:layout_constraintTop_toBottomOf="@id/constraintLayout3">
-
- <ImageButton
- android:id="@+id/rateStar1"
- android:layout_width="30dp"
- android:layout_height="40dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- android:backgroundTint="@color/white"
- android:scaleType="centerCrop"
- android:src="@drawable/empty_star" />
-
- <ImageButton
- android:id="@+id/rateStar2"
- android:layout_width="30dp"
- android:layout_height="40dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- android:backgroundTint="@color/white"
- android:scaleType="centerCrop"
- android:src="@drawable/empty_star" />
-
- <ImageButton
- android:id="@+id/rateStar3"
- android:layout_width="30dp"
- android:layout_height="40dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- android:backgroundTint="@color/white"
- android:scaleType="centerCrop"
- android:src="@drawable/empty_star" />
-
- <ImageButton
- android:id="@+id/rateStar4"
- android:layout_width="30dp"
- android:layout_height="40dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- android:backgroundTint="@color/white"
- android:scaleType="centerCrop"
- android:src="@drawable/empty_star" />
-
- <ImageButton
- android:id="@+id/rateStar5"
- android:layout_width="30dp"
- android:layout_height="40dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- android:backgroundTint="@color/white"
- android:scaleType="centerCrop"
- android:src="@drawable/empty_star" />
-
- <Button
- android:id="@+id/submitRating"
- android:layout_width="30dp"
- android:layout_height="40dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- android:backgroundTint="@color/white"
- android:text="ok"
- android:textColor="@color/black" />
- </LinearLayout>
+ android:layout_height="150dp"
+ android:layout_marginTop="8dp"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/tvUser" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:layout_constraintTop_toBottomOf="@id/linearLayout2">
+ android:layout_height="400dp"
+ android:layout_marginTop="8dp"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/MapDialogueMapView">
- <LinearLayout
- android:id="@+id/postCommentLayout"
- android:layout_width="match_parent"
+ <Button
+ android:id="@+id/btnActivitySinglePostDescription"
+ android:layout_width="150dp"
android:layout_height="wrap_content"
- android:orientation="horizontal"
- app:layout_constraintStart_toStartOf="parent">
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="8dp"
+ android:layout_marginBottom="8dp"
+ android:backgroundTint="#FFFFFF"
+ android:stateListAnimator="@null"
+ android:text="opis"
+ android:textColor="@color/cardview_dark_background"
+ app:layout_constraintBottom_toTopOf="@+id/flFragmentProfileFragmentContainer"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
- <EditText
- android:id="@+id/NewComment"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:hint="Unesite komentar ovde" />
-
- <ImageButton
- android:id="@+id/btnPostComment"
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:backgroundTint="@color/white"
- android:scaleType="fitCenter"
- android:src="@drawable/post_comment" />
- </LinearLayout>
-
-
- <TextView
- android:id="@+id/tvCommentLabel"
- android:layout_width="wrap_content"
+ <Button
+ android:id="@+id/btnActivitySinglePostComments"
+ android:layout_width="150dp"
android:layout_height="wrap_content"
- android:padding="@dimen/text_padding"
+ android:layout_marginTop="8dp"
+ android:layout_marginEnd="8dp"
+ android:layout_marginBottom="8dp"
+ android:backgroundTint="#FFFFFF"
+ android:stateListAnimator="@null"
android:text="Komentari"
- android:textStyle="bold"
- app:layout_constraintTop_toBottomOf="@id/postCommentLayout" />
-
- <TextView
- android:id="@+id/tvCommentCount"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="@dimen/text_padding"
- android:text="0"
- app:layout_constraintStart_toEndOf="@id/tvCommentLabel"
- app:layout_constraintTop_toBottomOf="@id/postCommentLayout" />
-
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rvComments"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:nestedScrollingEnabled="false"
- app:layout_constraintTop_toBottomOf="@id/tvCommentLabel">
-
- </androidx.recyclerview.widget.RecyclerView>
+ android:textColor="@color/cardview_dark_background"
+ app:layout_constraintBottom_toTopOf="@+id/flFragmentProfileFragmentContainer"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <FrameLayout
+ android:id="@+id/flFragmentProfileFragmentContainer"
+ android:layout_width="409dp"
+ android:layout_height="330dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/btnActivitySinglePostComments"
+ app:layout_constraintVertical_bias="1.0"></FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
-</androidx.constraintlayout.widget.ConstraintLayout>
-</androidx.constraintlayout.widget.ConstraintLayout>
-</ScrollView>
-</androidx.constraintlayout.widget.ConstraintLayout>
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_comments.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_comments.xml
new file mode 100644
index 0000000..cb5db29
--- /dev/null
+++ b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_comments.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".FragmentSinglePostComments">
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+
+ <TextView
+ android:id="@+id/tvCommentLabel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="@dimen/text_padding"
+ android:text="Komentari"
+ android:textStyle="bold"
+ style="@style/title"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tvCommentCount"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="@dimen/text_padding"
+ android:text="0"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.0"
+ app:layout_constraintStart_toEndOf="@+id/tvCommentLabel"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/rvComments"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:nestedScrollingEnabled="false"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ tools:layout_editor_absoluteY="282dp">
+
+ </androidx.recyclerview.widget.RecyclerView>
+
+ <LinearLayout
+ android:id="@+id/postCommentLayout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <EditText
+ android:id="@+id/NewComment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:hint="Unesite komentar ovde" />
+
+ <ImageButton
+ android:id="@+id/btnPostComment"
+ android:layout_width="50dp"
+ android:layout_height="50dp"
+ android:backgroundTint="@color/white"
+ android:scaleType="fitCenter"
+ android:src="@drawable/post_comment" />
+
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file
diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_description.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_description.xml
new file mode 100644
index 0000000..c2ad49b
--- /dev/null
+++ b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_description.xml
@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".Fragments.FragmentSinglePostDescription">
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/constraintLayout3"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/rounded_picture_background"
+ android:padding="@dimen/component_padding"
+ app:layout_constraintTop_toBottomOf="@+id/linearLayout"
+ tools:layout_editor_absoluteX="0dp">
+
+ <TextView
+ android:id="@+id/tvDescriptionLabel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="362dp"
+ android:gravity="top|start"
+ android:padding="@dimen/text_padding"
+ android:text="Opis"
+ android:textSize="@dimen/header1_size"
+ android:textStyle="bold"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tvDescription"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="TextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextView"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/tvDescriptionLabel" />
+
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="32dp"
+ android:text="Oceni"
+ android:textColor="@color/cardview_dark_background"
+ android:textSize="@dimen/header1_size"
+ android:textStyle="bold"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.005"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/tvDescription" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:orientation="horizontal"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/title">
+
+ <ImageView
+ android:id="@+id/rateStar1"
+ android:layout_width="50dp"
+ android:layout_height="50dp"
+ android:scaleType="centerCrop"
+ android:src="@drawable/ic_round_star_outline_24" />
+
+ <ImageView
+ android:id="@+id/rateStar2"
+ android:layout_width="50dp"
+ android:layout_height="50dp"
+ android:scaleType="centerCrop"
+ android:src="@drawable/ic_round_star_outline_24" />
+
+ <ImageView
+ android:id="@+id/rateStar3"
+ android:layout_width="50dp"
+ android:layout_height="50dp"
+ android:scaleType="centerCrop"
+ android:src="@drawable/ic_round_star_outline_24" />
+
+ <ImageView
+ android:id="@+id/rateStar4"
+ android:layout_width="50dp"
+ android:layout_height="50dp"
+ android:scaleType="centerCrop"
+ android:src="@drawable/ic_round_star_outline_24" />
+
+ <ImageView
+ android:id="@+id/rateStar5"
+ android:layout_width="50dp"
+ android:layout_height="50dp"
+ android:scaleType="centerCrop"
+ android:src="@drawable/ic_round_star_outline_24" />
+
+
+ </LinearLayout>
+ <!--<LinearLayout
+ android:id="@+id/linearLayout2"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginTop="24dp"
+
+
+ android:paddingVertical="@dimen/component_padding"
+ app:layout_constraintTop_toBottomOf="@id/constraintLayout3"
+ tools:layout_editor_absoluteX="10dp">
+
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Oceni"
+ style="@style/title"
+ android:textColor="@color/cardview_dark_background"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/tvDescriptionLabel" />
+
+ <ImageButton
+ android:id="@+id/rateStar1"
+ android:layout_width="30dp"
+ android:layout_height="40dp"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+
+ android:scaleType="centerCrop"
+ android:src="@drawable/empty_star" />
+
+ <ImageButton
+ android:id="@+id/rateStar2"
+ android:layout_width="30dp"
+ android:layout_height="40dp"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+
+ android:scaleType="centerCrop"
+ android:src="@drawable/empty_star" />
+
+ <ImageButton
+ android:id="@+id/rateStar3"
+ android:layout_width="30dp"
+ android:layout_height="40dp"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+
+ android:scaleType="centerCrop"
+ android:src="@drawable/empty_star" />
+
+ <ImageButton
+ android:id="@+id/rateStar4"
+ android:layout_width="30dp"
+ android:layout_height="40dp"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+
+ android:scaleType="centerCrop"
+ android:src="@drawable/empty_star" />
+
+ <ImageButton
+ android:id="@+id/rateStar5"
+ android:layout_width="30dp"
+ android:layout_height="40dp"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+
+ android:scaleType="centerCrop"
+ android:src="@drawable/ic_round_star_outline_24">
+
+ <Button
+ android:id="@+id/submitRating"
+ android:layout_width="30dp"
+ android:layout_height="40dp"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+
+ android:text="ok"/>
+ </LinearLayout>-->
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+
+
+</FrameLayout> \ No newline at end of file