diff options
author | TAMARA JERINIC <tamara.jerinic@gmail.com> | 2022-12-06 15:13:32 +0100 |
---|---|---|
committer | TAMARA JERINIC <tamara.jerinic@gmail.com> | 2022-12-06 15:13:32 +0100 |
commit | f7e16147ecb993af365c6d132f2782b73255fe2c (patch) | |
tree | 2a1f7296e2186a895d730579cabc7130713f16cf /Client/BrzoDoLokacije/app/src/main/res/layout | |
parent | 494e54cf82c559e4c1a5c84e489b7aa0246d5026 (diff) |
Prepravljen activitySinglePost. Povezan prikaz komentara. Povezan prikaz opisa.
Diffstat (limited to 'Client/BrzoDoLokacije/app/src/main/res/layout')
4 files changed, 20 insertions, 30 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 108e1cf..cf5327a 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 @@ -24,12 +24,12 @@ <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/linearLayout2" android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="308dp" android:background="@drawable/view_top_corner_radius" android:elevation="30dp" - android:paddingBottom="0dp" - android:paddingTop="16dp" android:paddingHorizontal="16dp" + android:paddingTop="16dp" + android:paddingBottom="0dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" 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 index bd4d760..250f640 100644 --- 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 @@ -45,8 +45,9 @@ android:layout_height="wrap_content" android:nestedScrollingEnabled="false" app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/constraintLayout"> + app:layout_constraintTop_toBottomOf="@+id/postCommentLayout"> </androidx.recyclerview.widget.RecyclerView> @@ -55,7 +56,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" - app:layout_constraintBottom_toBottomOf="parent"> + app:layout_constraintTop_toBottomOf="@+id/constraintLayout"> <EditText android:id="@+id/NewComment" 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 index e2973ca..5bbdb14 100644 --- 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 @@ -11,24 +11,8 @@ 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="16dp" - android:layout_marginTop="16dp" - 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" @@ -36,9 +20,9 @@ android:layout_height="wrap_content" android:text="TextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextViewTextView" app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="0.526" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/tvDescriptionLabel" /> - + app:layout_constraintTop_toTopOf="parent" /> <TextView android:id="@+id/title" @@ -63,6 +47,7 @@ app:layout_constraintTop_toBottomOf="@+id/title"> <ImageView + android:clickable="true" android:id="@+id/rateStar1" android:layout_width="50dp" android:layout_height="50dp" @@ -70,6 +55,7 @@ android:src="@drawable/ic_round_star_outline_24" /> <ImageView + android:clickable="true" android:id="@+id/rateStar2" android:layout_width="50dp" android:layout_height="50dp" @@ -77,6 +63,7 @@ android:src="@drawable/ic_round_star_outline_24" /> <ImageView + android:clickable="true" android:id="@+id/rateStar3" android:layout_width="50dp" android:layout_height="50dp" @@ -84,6 +71,7 @@ android:src="@drawable/ic_round_star_outline_24" /> <ImageView + android:clickable="true" android:id="@+id/rateStar4" android:layout_width="50dp" android:layout_height="50dp" @@ -91,6 +79,7 @@ android:src="@drawable/ic_round_star_outline_24" /> <ImageView + android:clickable="true" android:id="@+id/rateStar5" android:layout_width="50dp" android:layout_height="50dp" diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/post_image.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/post_image.xml index c2a999d..fb8a035 100644 --- a/Client/BrzoDoLokacije/app/src/main/res/layout/post_image.xml +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/post_image.xml @@ -1,17 +1,18 @@ <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="380dp" - android:layout_height="wrap_content" xmlns:app="http://schemas.android.com/apk/res-auto" - android:layout_margin="10dp" - android:background="@drawable/rounded_picture_background" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + + android:clickable="true" android:clipToOutline="true" - android:clickable="true"> + android:padding="5dp"> <ImageView android:id="@+id/locationImage" android:layout_width="match_parent" - android:layout_height="420dp" + android:layout_height="512dp" android:outlineProvider="background" android:scaleType="centerCrop" android:src="@drawable/b1" @@ -23,5 +24,4 @@ app:layout_constraintVertical_bias="0.0" /> - </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |