diff options
author | TAMARA JERINIC <tamara.jerinic@gmail.com> | 2022-12-13 15:27:49 +0100 |
---|---|---|
committer | TAMARA JERINIC <tamara.jerinic@gmail.com> | 2022-12-13 15:27:49 +0100 |
commit | ac4c132e029bce9b16ba066d0a4b3e23af8603d6 (patch) | |
tree | e546a07384c6aa239bf12c61cabb50d6af34975e | |
parent | 500d01f86ae15dfc79b014a4da02d1c6ab6c8d77 (diff) |
Izmena prikaza objava.
-rw-r--r-- | Client/BrzoDoLokacije/app/src/main/res/layout/activity_single_post.xml | 6 | ||||
-rw-r--r-- | Client/BrzoDoLokacije/app/src/main/res/layout/post_item_grid_view.xml | 16 |
2 files changed, 14 insertions, 8 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 e435876..fd7c119 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 @@ -29,7 +29,7 @@ <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/linearLayout2" android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="340dp" android:background="@drawable/view_top_corner_radius" android:elevation="30dp" android:paddingHorizontal="16dp" @@ -183,12 +183,12 @@ <androidx.cardview.widget.CardView android:id="@+id/MapDialogueMapView" - android:elevation="15dp" android:layout_width="match_parent" android:layout_height="150dp" - android:layout_marginHorizontal="3dp" + android:layout_marginTop="8dp" + android:elevation="15dp" app:cardCornerRadius="10dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/post_item_grid_view.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/post_item_grid_view.xml index a347ca5..4b5a03c 100644 --- a/Client/BrzoDoLokacije/app/src/main/res/layout/post_item_grid_view.xml +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/post_item_grid_view.xml @@ -3,19 +3,25 @@ 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"> + android:layout_height="wrap_content"> <com.google.android.material.imageview.ShapeableImageView android:id="@+id/postItemGridViewImage" - android:layout_width="170dp" - android:layout_height="170dp" - android:layout_marginStart="16dp" - android:layout_marginTop="16dp" + android:layout_width="match_parent" + android:layout_height="200dp" + android:layout_marginStart="8dp" + android:layout_marginTop="8dp" + android:layout_marginEnd="8dp" + android:layout_marginBottom="8dp" android:elevation="5dp" android:scaleType="centerCrop" android:src="@color/white" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.0" app:shapeAppearanceOverlay="@style/Circular" /> <ImageView |