aboutsummaryrefslogtreecommitdiff
path: root/Client/BrzoDoLokacije/app/src/main/res/layout/post_item_user_post.xml
diff options
context:
space:
mode:
Diffstat (limited to 'Client/BrzoDoLokacije/app/src/main/res/layout/post_item_user_post.xml')
-rw-r--r--Client/BrzoDoLokacije/app/src/main/res/layout/post_item_user_post.xml122
1 files changed, 122 insertions, 0 deletions
diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/post_item_user_post.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/post_item_user_post.xml
new file mode 100644
index 0000000..1b78ba9
--- /dev/null
+++ b/Client/BrzoDoLokacije/app/src/main/res/layout/post_item_user_post.xml
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout 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:padding="10dp"
+ android:layout_height="wrap_content">
+
+ <com.google.android.material.imageview.ShapeableImageView
+ android:id="@+id/piupbackgroi"
+ android:layout_width="match_parent"
+ android:layout_height="210dp"
+ android:layout_marginTop="3dp"
+ android:layout_marginBottom="3dp"
+ android:layout_marginHorizontal="3dp"
+ android:elevation="3dp"
+ android:src="@color/white"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:shapeAppearanceOverlay="@style/Circular" />
+
+ <ImageView
+ android:id="@+id/ivMultipleImagesIcon"
+ android:layout_width="20dp"
+ android:layout_height="20dp"
+ android:layout_marginTop="8dp"
+ android:layout_marginEnd="8dp"
+ android:elevation="10dp"
+ android:src="@drawable/ic_baseline_multiple_images_24"
+ android:visibility="invisible"
+ app:layout_constraintEnd_toEndOf="@+id/piupbackground"
+ app:layout_constraintTop_toTopOf="@+id/piupbackgroi" />
+
+ <com.google.android.material.imageview.ShapeableImageView
+ android:id="@+id/piupbackground"
+ android:layout_width="match_parent"
+ android:layout_height="170dp"
+ android:layout_marginStart="3dp"
+ android:layout_marginEnd="3dp"
+ android:layout_marginHorizontal="3dp"
+ android:elevation="3dp"
+ android:scaleType="centerCrop"
+ app:layout_constraintBottom_toBottomOf="@+id/piupbackgroi"
+ app:layout_constraintEnd_toEndOf="@id/piupbackgroi"
+ app:layout_constraintStart_toStartOf="@id/piupbackgroi"
+ app:layout_constraintTop_toTopOf="@id/piupbackgroi"
+ app:layout_constraintVertical_bias="0.0"
+ app:shapeAppearanceOverlay="@style/roundedTop"
+ app:srcCompat="@drawable/b1" />
+
+ <TextView
+ android:id="@+id/piupLocation"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="12dp"
+ android:layout_marginTop="2dp"
+ android:maxLines="1"
+ android:ellipsize="end"
+ android:elevation="3dp"
+ android:text="TextView"
+ android:textSize="13sp"
+ android:textStyle="bold"
+ app:layout_constraintEnd_toStartOf="@+id/imageView10"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/piupbackground" />
+
+ <TextView
+ android:id="@+id/piuprating"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="3dp"
+
+ android:layout_marginEnd="4dp"
+ android:elevation="3dp"
+ android:text="TextView"
+ android:textSize="11dp"
+ android:textStyle="bold"
+ app:layout_constraintEnd_toEndOf="@+id/piupbackgroi"
+ app:layout_constraintTop_toBottomOf="@+id/piupbackground" />
+
+ <ImageView
+ android:id="@+id/imageView10"
+
+ android:layout_width="15dp"
+ android:layout_height="15dp"
+ android:layout_marginTop="3dp"
+ android:elevation="3dp"
+ app:layout_constraintEnd_toStartOf="@+id/piuprating"
+ app:layout_constraintTop_toBottomOf="@+id/piupbackground"
+ app:srcCompat="@drawable/ic_baseline_star_rate_24" />
+
+ <ImageView
+ android:id="@+id/imageView11"
+
+ android:layout_width="18dp"
+ android:layout_height="18dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="2dp"
+ android:elevation="3dp"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/piupLocation"
+ app:srcCompat="@drawable/ic_baseline_location_on_24" />
+
+ <TextView
+ android:id="@+id/piupLocationDetail"
+
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="2dp"
+ android:elevation="3dp"
+ android:text="TextView"
+ android:textSize="11dp"
+ app:layout_constraintEnd_toEndOf="@+id/piupbackgroi"
+ app:layout_constraintHorizontal_bias="0.0"
+ app:layout_constraintStart_toEndOf="@+id/imageView11"
+ app:layout_constraintTop_toBottomOf="@+id/piupLocation" />
+ " />
+
+
+</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file