diff options
author | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-11-10 01:05:46 +0100 |
---|---|---|
committer | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-11-10 01:05:46 +0100 |
commit | c03ddf6b069c4d4f4521c7447ec685bf7b3036dc (patch) | |
tree | 1dabfb8fc3d9408797e51b23722e9673d91e79fd /Client/BrzoDoLokacije/app/src/main/res/layout | |
parent | 0b8ea0f9e323dfe607f29dfb0d1aa625443ca9bd (diff) | |
parent | e5ff284cfc4b1944d13034ff183efef49f631e4b (diff) |
Merge branch 'master' of http://gitlab.pmf.kg.ac.rs/BrzoDoLokacije2022/odyssey/brzodolokacije into develop
# Conflicts:
# Client/BrzoDoLokacije/app/build.gradle
Diffstat (limited to 'Client/BrzoDoLokacije/app/src/main/res/layout')
3 files changed, 109 insertions, 20 deletions
diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/activity_maps.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/activity_maps.xml new file mode 100644 index 0000000..01c8abd --- /dev/null +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/activity_maps.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<fragment xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:map="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/map" + android:name="com.google.android.gms.maps.SupportMapFragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:context=".Activities.MapsActivity" />
\ No newline at end of file diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/bottom_sheet_add_new.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/bottom_sheet_add_new.xml index 8f9700e..8e93eb5 100644 --- a/Client/BrzoDoLokacije/app/src/main/res/layout/bottom_sheet_add_new.xml +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/bottom_sheet_add_new.xml @@ -2,7 +2,7 @@ <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:id="@+id/bottomSheetAddNewForNav" + android:id="@+id/bottomSheetAddNew" android:layout_width="match_parent" android:layout_height="wrap_content"> @@ -10,36 +10,53 @@ android:id="@+id/textView6" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Dodaj novu objavu" + android:layout_marginTop="16dp" + android:fontFamily="sans-serif-black" + android:text=" " + android:textSize="20sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> - <Button - android:id="@+id/btnBottomSheetAddNewOpenAddPost" - android:layout_width="165dp" - android:layout_height="88dp" - android:layout_marginStart="16dp" - android:layout_marginTop="8dp" - android:text="Izaberi fotografije iz galerije" + <ImageButton + android:id="@+id/btnBottomSheetAddNewPost" + android:layout_width="0dp" + android:layout_height="60dp" + android:layout_marginStart="30dp" + android:layout_marginTop="16dp" + android:layout_marginEnd="40dp" + + android:layout_marginBottom="24dp" + android:background="@drawable/button_add_post" app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toStartOf="@+id/btnBottomSheetAddNewLocation" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/textView6" - app:layout_constraintVertical_bias="1.0" /> - - <Button - android:id="@+id/btnBottomSheetAddNewOpenCapturePost" + app:layout_constraintVertical_bias="0.0" /> - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginStart="16dp" - android:text="Nova fotografija" + <ImageButton + android:id="@+id/btnBottomSheetAddNewLocation" + android:layout_width="0dp" + android:layout_height="60dp" + android:layout_marginTop="16dp" + android:layout_marginEnd="30dp" + android:layout_marginBottom="24dp" + android:background="@drawable/button_add_location" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintHorizontal_bias="0.862" - app:layout_constraintStart_toEndOf="@+id/btnBottomSheetAddNewOpenAddPost" + app:layout_constraintHorizontal_bias="1.0" + app:layout_constraintStart_toEndOf="@+id/btnBottomSheetAddNewPost" app:layout_constraintTop_toBottomOf="@+id/textView6" - app:layout_constraintVertical_bias="0.666" /> + app:layout_constraintVertical_bias="1.0" /> + + <ImageButton + android:id="@+id/btnBottomSheetAddNewClose" + android:layout_width="65dp" + android:layout_height="17dp" + app:cornerRadius="50dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/bottom_sheet_add_new_post.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/bottom_sheet_add_new_post.xml new file mode 100644 index 0000000..10aa669 --- /dev/null +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/bottom_sheet_add_new_post.xml @@ -0,0 +1,63 @@ +<?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:id="@+id/bottomSheetAddNewForNav" + android:layout_width="match_parent" + android:layout_height="wrap_content" +> + <TextView + android:id="@+id/textView6" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="16dp" + android:fontFamily="sans-serif-black" + android:text="Dodaj novu objavu" + android:textSize="20sp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <ImageButton + android:id="@+id/btnBottomSheetAddNewPostOpenAddPost" + android:layout_width="0dp" + android:layout_height="60dp" + android:layout_marginStart="30dp" + + android:layout_marginTop="16dp" + android:layout_marginEnd="40dp" + android:layout_marginBottom="24dp" + android:background="@drawable/button_choose_from_gallery" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toStartOf="@+id/btnBottomSheetAddNewPostOpenCapturePost" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/textView6" + app:layout_constraintVertical_bias="0.0" /> + + <ImageButton + android:id="@+id/btnBottomSheetAddNewPostOpenCapturePost" + + android:layout_width="0dp" + android:layout_height="60dp" + android:layout_marginTop="16dp" + android:layout_marginEnd="30dp" + android:layout_marginBottom="24dp" + android:background="@drawable/button_capture" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="1.0" + app:layout_constraintStart_toEndOf="@+id/btnBottomSheetAddNewPostOpenAddPost" + app:layout_constraintTop_toBottomOf="@+id/textView6" + app:layout_constraintVertical_bias="1.0" /> + + <ImageButton + android:id="@+id/btnBottomSheetAddNewPostClose" + android:layout_width="65dp" + android:layout_height="17dp" + app:cornerRadius="50dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + +</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |