aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelena Petrovic <jelenapetrovic.7119@gmail.com>2022-11-06 01:21:33 +0100
committerJelena Petrovic <jelenapetrovic.7119@gmail.com>2022-11-06 01:21:33 +0100
commit395f7c642cb54760a47af4a8e5db93fcd0bd1c7f (patch)
tree8a2eedaf707be866c72c02fdbd2ac1dd15f94717
parentee7083379edf6ee46bbb9d541cbe0af6483a6306 (diff)
dodati osnovni elementi prikaza pojedinacne objave #16
-rw-r--r--Client/BrzoDoLokacije/app/src/main/res/layout/fragment_post.xml115
1 files changed, 112 insertions, 3 deletions
diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_post.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_post.xml
index 0b37348..90f37d5 100644
--- a/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_post.xml
+++ b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_post.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
+ android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
@@ -8,12 +9,120 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvMain"
- android:orientation="horizontal"
android:layout_width="match_parent"
- android:layout_height="823dp"
+ android:layout_height="443dp"
+ android:orientation="horizontal"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" >
+ app:layout_constraintTop_toTopOf="parent">
</androidx.recyclerview.widget.RecyclerView>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/textView6"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Naslov" />
+
+ <TextView
+ android:id="@+id/textView7"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="11dp"
+ android:text="tip lokacije" />
+
+ <TextView
+ android:id="@+id/textView8"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Drzava, grad" />
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <LinearLayout
+ android:layout_width="213dp"
+ android:layout_height="27dp"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/imageView8"
+ 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/imageView9"
+ 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/imageView10"
+ 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/imageView11"
+ 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="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:src="@android:drawable/btn_star_big_on" />
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/textView9"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="8dp"
+ android:text="4.2"
+ app:layout_constraintEnd_toStartOf="@+id/textView10"
+ tools:layout_editor_absoluteY="0dp" />
+
+ <TextView
+ android:id="@+id/textView10"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="(10,500)"
+ app:layout_constraintEnd_toEndOf="parent"
+ tools:layout_editor_absoluteY="0dp" />
+ </androidx.constraintlayout.widget.ConstraintLayout>
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="10dp"
+ android:padding="10dp"
+ android:background="@drawable/rounded_picture_background"
+ android:elevation="5dp">
+
+ <TextView
+ android:id="@+id/textView11"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="TextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextView"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.048"
+ app:layout_constraintStart_toStartOf="parent"
+ tools:layout_editor_absoluteY="4dp" />
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </LinearLayout>
+
+
</LinearLayout> \ No newline at end of file