diff options
author | Jelena Petrovic <jelenapetrovic.7119@gmail.com> | 2022-12-09 01:48:40 +0100 |
---|---|---|
committer | Jelena Petrovic <jelenapetrovic.7119@gmail.com> | 2022-12-09 01:48:40 +0100 |
commit | d149eb04958dd1f2ecd123c9ce765ec06c7505e5 (patch) | |
tree | 2025e4404a48e7b2a7371fc17f2ed3981c62ac4f /Client/BrzoDoLokacije/app/src/main/res/layout/activity_opened_images.xml | |
parent | dca89c6a85515bf819247b7fc63336d650cd875e (diff) |
Dodata aktivnost za otvaranje slika u punoj velicini na strani objave, omoguceno skrolovanje kroz slike #83
Diffstat (limited to 'Client/BrzoDoLokacije/app/src/main/res/layout/activity_opened_images.xml')
-rw-r--r-- | Client/BrzoDoLokacije/app/src/main/res/layout/activity_opened_images.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/activity_opened_images.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/activity_opened_images.xml new file mode 100644 index 0000000..2d3de20 --- /dev/null +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/activity_opened_images.xml @@ -0,0 +1,47 @@ +<?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:layout_height="match_parent" + tools:context=".Activities.ActivityOpenedImages" + android:background="@color/design_default_color_background"> + <androidx.constraintlayout.widget.ConstraintLayout + android:layout_width="match_parent" + android:layout_height="40dp" + android:elevation="5dp" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintStart_toStartOf="parent" + android:id="@+id/clImageHeader"> + <ImageButton + android:layout_width="35dp" + android:layout_height="35dp" + app:layout_constraintStart_toStartOf="parent" + android:foregroundGravity="center_vertical" + android:background="@color/design_default_color_background" + android:src="@drawable/ic_baseline_arrow_back" + android:id="@+id/btnBackToPost"/> + + <ImageButton + android:layout_width="35dp" + android:layout_height="35dp" + app:layout_constraintEnd_toEndOf="parent" + android:foregroundGravity="center_vertical" + android:background="@color/design_default_color_background" + android:src="@drawable/ic_baseline_arrow_back" + android:id="@+id/btnDownload"/> + </androidx.constraintlayout.widget.ConstraintLayout> + <androidx.constraintlayout.widget.ConstraintLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintStart_toStartOf="parent" + android:id="@+id/rvParent"> + + <androidx.recyclerview.widget.RecyclerView + android:layout_width="match_parent" + android:layout_height="match_parent" + android:id="@+id/rvImages"/> + </androidx.constraintlayout.widget.ConstraintLayout> + +</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |