diff options
author | TAMARA JERINIC <tamara.jerinic@gmail.com> | 2022-11-11 00:42:14 +0100 |
---|---|---|
committer | TAMARA JERINIC <tamara.jerinic@gmail.com> | 2022-11-11 00:42:14 +0100 |
commit | 3e50cfd211671a9ea405c758368584b174ca5417 (patch) | |
tree | 533ef0f32e6d54bcc8c3bf876dafedd2afcdf6f6 | |
parent | cbd73ab7e3ef208a9258b51835a67da9539f25e1 (diff) |
Dodat fragment za početnu stranu. Dodati neki resursi.
8 files changed, 327 insertions, 0 deletions
diff --git a/Client/BrzoDoLokacije/app/src/main/java/com/example/brzodolokacije/Activities/NavigationActivity.kt b/Client/BrzoDoLokacije/app/src/main/java/com/example/brzodolokacije/Activities/NavigationActivity.kt index 0a69722..c2997ee 100644 --- a/Client/BrzoDoLokacije/app/src/main/java/com/example/brzodolokacije/Activities/NavigationActivity.kt +++ b/Client/BrzoDoLokacije/app/src/main/java/com/example/brzodolokacije/Activities/NavigationActivity.kt @@ -93,6 +93,7 @@ class NavigationActivity : AppCompatActivity() { var newLocation=bottomSheetDialog.findViewById<View>(R.id.btnBottomSheetAddNewLocation) as ImageButton newPost.setOnClickListener{ + bottomSheetDialog.dismiss() showBottomSheetAddPost() } diff --git a/Client/BrzoDoLokacije/app/src/main/java/com/example/brzodolokacije/Fragments/FragmentHomePage.kt b/Client/BrzoDoLokacije/app/src/main/java/com/example/brzodolokacije/Fragments/FragmentHomePage.kt new file mode 100644 index 0000000..7685296 --- /dev/null +++ b/Client/BrzoDoLokacije/app/src/main/java/com/example/brzodolokacije/Fragments/FragmentHomePage.kt @@ -0,0 +1,60 @@ +package com.example.brzodolokacije.Fragments + +import android.os.Bundle +import androidx.fragment.app.Fragment +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import com.example.brzodolokacije.R + +// TODO: Rename parameter arguments, choose names that match +// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER +private const val ARG_PARAM1 = "param1" +private const val ARG_PARAM2 = "param2" + +/** + * A simple [Fragment] subclass. + * Use the [FragmentHomePage.newInstance] factory method to + * create an instance of this fragment. + */ +class FragmentHomePage : Fragment() { + // TODO: Rename and change types of parameters + private var param1: String? = null + private var param2: String? = null + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + arguments?.let { + param1 = it.getString(ARG_PARAM1) + param2 = it.getString(ARG_PARAM2) + } + } + + override fun onCreateView( + inflater: LayoutInflater, container: ViewGroup?, + savedInstanceState: Bundle? + ): View? { + // Inflate the layout for this fragment + return inflater.inflate(R.layout.fragment_home_page, container, false) + } + + companion object { + /** + * Use this factory method to create a new instance of + * this fragment using the provided parameters. + * + * @param param1 Parameter 1. + * @param param2 Parameter 2. + * @return A new instance of fragment FragmentHomePage. + */ + // TODO: Rename and change types and number of parameters + @JvmStatic + fun newInstance(param1: String, param2: String) = + FragmentHomePage().apply { + arguments = Bundle().apply { + putString(ARG_PARAM1, param1) + putString(ARG_PARAM2, param2) + } + } + } +}
\ No newline at end of file diff --git a/Client/BrzoDoLokacije/app/src/main/res/drawable/circle_view.xml b/Client/BrzoDoLokacije/app/src/main/res/drawable/circle_view.xml new file mode 100644 index 0000000..8317243 --- /dev/null +++ b/Client/BrzoDoLokacije/app/src/main/res/drawable/circle_view.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android"> + <solid android:color="#33DDFF" /> + <corners android:radius="4dp" /> +</shape>
\ No newline at end of file diff --git a/Client/BrzoDoLokacije/app/src/main/res/drawable/location_beach.xml b/Client/BrzoDoLokacije/app/src/main/res/drawable/location_beach.xml new file mode 100644 index 0000000..c42b8a5 --- /dev/null +++ b/Client/BrzoDoLokacije/app/src/main/res/drawable/location_beach.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="57dp" + android:height="57dp" + android:viewportWidth="57" + android:viewportHeight="57"> + <path + android:fillColor="#FFFFFFFF" + android:strokeColor="#FF093A4C" + android:strokeWidth="1" + android:pathData="M0.5 10c0-5.25 4.25-9.5 9.5-9.5h37c5.25 0 9.5 4.25 9.5 9.5v37c0 5.25-4.25 9.5-9.5 9.5h-37c-5.25 0-9.5-4.25-9.5-9.5z"/> + <path + android:fillColor="#FF093A4C" + android:pathData="M25 13.94c1.63-2.73 4.32-4.72 7.48-5.54C35.64 7.6 39 8.02 41.83 9.6c2.84 1.57 4.9 4.17 5.75 7.21 0.85 3.04 0.4 6.28-1.23 9l-0.47 0.78c-0.15 0.27-0.41 0.46-0.72 0.53-0.3 0.08-0.62 0.04-0.9-0.11l-8.19-4.55-4.56 7.7c3.17 0.92 5.9 3.03 7.84 5.75-0.86-0.06-1.7 0.2-2.4 0.7-2.26-2.86-5.52-4.7-9.03-4.7-3.52 0-6.78 1.84-9.05 4.7-0.68-0.5-1.53-0.75-2.38-0.7 2.64-3.7 6.73-6.27 11.43-6.27 0.38 0 0.76 0.02 1.14 0.05l4.97-8.37-9.07-5.05c-0.27-0.15-0.47-0.4-0.55-0.69-0.08-0.29-0.04-0.6 0.12-0.86l0.46-0.78Zm2.17 0.93l4.03 2.23 0.02-0.03c1.27-1.69 2.46-2.98 4.02-4.12 1.16-0.83 2.41-1.54 3.72-2.13-2.15-0.73-4.5-0.72-6.64 0.02-2.14 0.73-3.96 2.16-5.15 4.03Zm11.4 6.33c1.1-1.86 1.62-3.32 1.8-4.75 0.16-1.14 0.1-2.3-0.13-3.7-1.49 0.68-2.62 1.32-3.57 2.01-1.27 0.93-2.28 2-3.42 3.49l5.32 2.95Zm2.04 1.14l3.81 2.12c1.04-1.83 1.42-3.93 1.1-6-0.3-2.05-1.31-3.96-2.85-5.42 0.17 1.28 0.21 2.48 0.05 3.7-0.23 1.8-0.9 3.55-2.1 5.6ZM17.84 38.95c-0.08-0.23-0.24-0.44-0.45-0.58-0.21-0.14-0.46-0.2-0.72-0.2-0.26 0.01-0.5 0.1-0.7 0.26-0.2 0.15-0.34 0.37-0.4 0.6-0.4 1.59-1.16 2.46-2.03 2.96-0.91 0.53-2.07 0.73-3.36 0.73-0.31 0-0.61 0.12-0.83 0.34C9.12 43.27 9 43.56 9 43.86c0 0.3 0.12 0.6 0.35 0.8C9.57 44.89 9.87 45 10.18 45c1.51 0 3.15-0.23 4.58-1.06 0.85-0.5 1.57-1.17 2.09-1.99 2.82 3.47 8.33 3.45 11.07-0.03 2.78 3.54 8.41 3.5 11.2-0.13 0.75 0.99 1.73 1.8 2.87 2.35 1.13 0.56 2.39 0.85 3.66 0.86 0.31 0 0.62-0.12 0.84-0.33 0.22-0.22 0.34-0.5 0.34-0.8 0-0.31-0.12-0.6-0.34-0.81-0.22-0.22-0.53-0.34-0.84-0.34-2.32 0-4.64-1.45-5.4-3.76-0.08-0.23-0.23-0.43-0.43-0.57-0.2-0.14-0.45-0.22-0.7-0.22-0.24 0-0.49 0.08-0.69 0.22-0.2 0.14-0.35 0.33-0.43 0.56-1.52 4.42-7.48 4.36-8.96 0.18-0.08-0.22-0.24-0.42-0.44-0.56-0.2-0.13-0.44-0.2-0.68-0.2-0.25 0-0.49 0.07-0.7 0.2-0.2 0.14-0.34 0.34-0.42 0.56-1.5 4.18-7.44 4.24-8.96-0.18Z"/> +</vector>
\ No newline at end of file diff --git a/Client/BrzoDoLokacije/app/src/main/res/drawable/location_city.xml b/Client/BrzoDoLokacije/app/src/main/res/drawable/location_city.xml new file mode 100644 index 0000000..a0a3a26 --- /dev/null +++ b/Client/BrzoDoLokacije/app/src/main/res/drawable/location_city.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="57dp" + android:height="57dp" + android:viewportWidth="57" + android:viewportHeight="57"> + <path + android:fillColor="#FFFFFFFF" + android:strokeColor="#FF093A4C" + android:strokeWidth="1" + android:pathData="M0.5 10c0-5.25 4.25-9.5 9.5-9.5h37c5.25 0 9.5 4.25 9.5 9.5v37c0 5.25-4.25 9.5-9.5 9.5h-37c-5.25 0-9.5-4.25-9.5-9.5z"/> + <path + android:fillColor="#FF093A4C" + android:fillType="evenOdd" + android:pathData="M12 45c0-0.27 0.1-0.52 0.3-0.7 0.18-0.2 0.43-0.3 0.7-0.3h30c0.27 0 0.52 0.1 0.7 0.3 0.2 0.18 0.3 0.43 0.3 0.7 0 0.27-0.1 0.52-0.3 0.7-0.18 0.2-0.43 0.3-0.7 0.3H13c-0.27 0-0.52-0.1-0.7-0.3-0.2-0.18-0.3-0.43-0.3-0.7Z"/> + <path + android:fillColor="#FF093A4C" + android:fillType="evenOdd" + android:pathData="M16 24v20h5V24h-5Zm-1-2c-0.27 0-0.52 0.1-0.7 0.3-0.2 0.18-0.3 0.43-0.3 0.7v22c0 0.27 0.1 0.52 0.3 0.7 0.18 0.2 0.43 0.3 0.7 0.3h7c0.27 0 0.52-0.1 0.7-0.3 0.2-0.18 0.3-0.43 0.3-0.7V23c0-0.27-0.1-0.52-0.3-0.7-0.18-0.2-0.43-0.3-0.7-0.3h-7Z"/> + <path + android:fillColor="#FF093A4C" + android:fillType="evenOdd" + android:pathData="M21 6l16 6v14h-5c-0.27 0-0.52 0.1-0.7 0.3-0.2 0.18-0.3 0.43-0.3 0.7v17H21V6Zm3 9h2v2h-2v-2Zm6 0h-2v2h2v-2Zm2 0h2v2h-2v-2Zm-6 4h-2v2h2v-2Zm2 0h2v2h-2v-2Zm6 0h-2v2h2v-2Zm-10 4h2v2h-2v-2Zm6 0h-2v2h2v-2Zm2 0h2v2h-2v-2Zm-6 4h-2v2h2v-2Zm2 0h2v2h-2v-2Zm-4 4h2v2h-2v-2Zm6 0h-2v2h2v-2Zm-4 4h-2v2h2v-2Zm2 0h2v2h-2v-2Zm-4 4h2v2h-2v-2Zm6 0h-2v2h2v-2Z"/> + <path + android:fillColor="#FF093A4C" + android:fillType="evenOdd" + android:pathData="M33 28v16h7V28h-7Zm-1-2c-0.27 0-0.52 0.1-0.7 0.3-0.2 0.18-0.3 0.43-0.3 0.7v18c0 0.27 0.1 0.52 0.3 0.7 0.18 0.2 0.43 0.3 0.7 0.3h9c0.27 0 0.52-0.1 0.7-0.3 0.2-0.18 0.3-0.43 0.3-0.7V27c0-0.27-0.1-0.52-0.3-0.7-0.18-0.2-0.43-0.3-0.7-0.3h-9Z"/> + <path + android:fillColor="#FF093A4C" + android:fillType="evenOdd" + android:pathData="M38 32h-3v-2h3v2Zm0 4h-3v-2h3v2Zm0 4h-3v-2h3v2Zm0 4h-3v-2h3v2ZM19 15v8h-2v-8h2Z"/> +</vector>
\ No newline at end of file diff --git a/Client/BrzoDoLokacije/app/src/main/res/drawable/location_mountain.xml b/Client/BrzoDoLokacije/app/src/main/res/drawable/location_mountain.xml new file mode 100644 index 0000000..4f436f7 --- /dev/null +++ b/Client/BrzoDoLokacije/app/src/main/res/drawable/location_mountain.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="58dp" + android:height="57dp" + android:viewportWidth="58" + android:viewportHeight="57"> + <path + android:fillColor="#FFFFFFFF" + android:strokeColor="#FF093A4C" + android:strokeWidth="1" + android:pathData="M0.5 10c0-5.25 4.25-9.5 9.5-9.5h37c5.25 0 9.5 4.25 9.5 9.5v37c0 5.25-4.25 9.5-9.5 9.5h-37c-5.25 0-9.5-4.25-9.5-9.5z"/> + <path + android:fillColor="#FF093A4C" + android:pathData="M20.86 7l-2.34 9.07 2.5 4.06 1.44-2.66 3.37 2.8 1.58-5.03L20.86 7Zm15.29 3.96l-2.9 4.39 0.96 2.3 1.97-1.96 1.63 3.88 0.93-1.97-2.6-6.64Zm-7.52 5.82l-1.97 6.28-3.72-3.07-1.8 3.39-3.18-5.14L10 49h11.4c4.1-1.54 12.18-5.14 12.35-9.63 0.15-4.34-9.8-3.94-9.98-8.27-0.13-3.55 7.61-7.39 7.61-7.39s-4.87 3.93-4.27 6.44c1.16 4.8 11.32 2.5 12.9 7.18C41.18 40.8 37 46.8 35.31 49H51L39.55 19.69l-1.8 3.87-2.13-5.02-1.99 1.98-1.46-3.54-1.54 2.3-2-2.5Z"/> +</vector>
\ No newline at end of file diff --git a/Client/BrzoDoLokacije/app/src/main/res/drawable/location_waterfall.xml b/Client/BrzoDoLokacije/app/src/main/res/drawable/location_waterfall.xml new file mode 100644 index 0000000..b909b31 --- /dev/null +++ b/Client/BrzoDoLokacije/app/src/main/res/drawable/location_waterfall.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="57dp" + android:height="57dp" + android:viewportWidth="57" + android:viewportHeight="57"> + <path + android:fillColor="#FFFFFFFF" + android:strokeColor="#FF093A4C" + android:strokeWidth="1" + android:pathData="M0.5 10c0-5.25 4.25-9.5 9.5-9.5h37c5.25 0 9.5 4.25 9.5 9.5v37c0 5.25-4.25 9.5-9.5 9.5h-37c-5.25 0-9.5-4.25-9.5-9.5z"/> + <path + android:fillColor="#FF093A4C" + android:pathData="M43.3 7.57c-1.12 0-2.23 0.58-3.4 1.8-0.33 0.35-0.65 0.72-0.97 1.09 0.31 0.5 0.51 1.13 0.65 1.66 0.47-0.56 0.93-1.12 1.38-1.6 0.85-0.9 1.6-1.4 2.26-1.32 1.35 0.18 2 0.6 2.49 1.16 0.5 0.56 0.85 1.35 1.38 2.26l1.27-0.86c-0.46-0.8-0.84-1.7-1.55-2.52-1.23-1.09-2.38-1.67-3.5-1.67ZM16.56 9.1c-4.48 0.02-6.53 1.58-8.03 3.22l1.08 1.14c1.46-1.6 2.94-2.86 7.55-2.73l2.9 2.92h1.26c-0.02-0.8-0.65-1.56-1.06-2.02-1.25-1.45-2.02-2.53-3.7-2.53Zm12.32 0.88c-0.85 0-1.7 0.02-2.49 0.05 0.32 0.75 0.47 1.56 0.56 2.24 0.08 1.04-1.31 1.1-1.5 0.21-0.1-0.77-0.38-1.77-0.74-2.35-1.28 0.09-2.43 0.2-3.39 0.33 0.61 0.8 1.51 1.96 1.51 2.79 0.04 8.06-0.23 16.18-0.81 24.34 0.13-0.16 0.27-0.3 0.4-0.44 0.71-0.69 1.55-1.23 2.53-1.17 0.23 0.02 0.44 0.06 0.64 0.12 0.01-1.49 0.05-2.77 0-3.99 0.45 0.5 0.9 0.9 1.52-0.05 0.06 1.58-0.01 3.19-0.03 5.11 0.1 0.1 0.17 0.2 0.25 0.3 0.63 0.77 1.13 1.72 1.55 2.66 0.15 0.34 0.29 0.67 0.41 1 0.11-5.08 0.04-10.15-0.18-15.22 0.72 1.01 1.11 0.63 1.5-0.08 0.23 5.09 0.3 10.18 0.2 15.27 0.95-1.02 2.1-2.06 3.49-2.03 0.34 0 0.65 0.09 0.94 0.22v-2.14c0.67 0.8 1.13 0.62 1.52 0l-0.02 3.43c0.3 0.32 0.58 0.7 0.82 1.05 0.33-0.18 0.75-0.4 1.25-0.63l-0.47-6.64c0.5 0.5 1 0.9 1.5-0.12l0.45 6.15c0.56-0.2 1.14-0.38 1.72-0.45-0.94-8.4-2.12-17.25-3.72-26.63-0.11-0.66-0.27-1.31-0.5-1.76-0.2-0.44-0.41-0.65-0.72-0.72-1.53-0.37-3.17-0.6-4.81-0.72 0.72 1.54 0.7 3.14 0.72 4.46 0.09 0.97-1.45 1.53-1.51 0.02-0.03-1.68 0.01-3.19-1.07-4.58-0.5-0.02-1-0.03-1.52-0.03Zm7.63 2.83c0.95 3.93 1.73 10.73 2.27 14.74-0.07 1.58-1.2 1.2-1.5 0.23-0.54-4.04-1.35-10.88-2.24-14.56 0.84 0.7 1.35 0.62 1.47-0.4Zm-10.69 1.8c0.3 4.94 0.2 9.8-0.06 14.6 0.02 1-1.28 1.27-1.5-0.09 0.25-4.76 0.34-9.55 0.05-14.4 0.75 1.2 1.2 0.84 1.51-0.1Zm4.33 2.02c0.27 2.48 0.36 3.86 0.33 5.39-0.54 0.85-1.04 0.7-1.52-0.04 0.04-1.44-0.06-2.71-0.3-5.17 0.58 0.78 1.07 0.6 1.49-0.18Zm4.39 2.45c0.29 4.55 0.36 8.08 0.47 13.9-0.42 0.5-0.82 1.06-1.51 0.04-0.11-5.82-0.19-9.31-0.47-13.83 0.63 0.83 1.1 0.54 1.51-0.11ZM13.87 35.32c-0.9-0.02-1.36 1.7-1.12 2.63 0.3 1.24 2.92 2.23 2.92 2.23s-0.17-4.81-1.8-4.86Zm3.98-0.03c-0.07 0.05-0.1 0.12-0.14 0.2-0.35 0.9 1.9 2.08 1.9 2.08s0.5-1.56 0.05-2.05c-0.4-0.43-1.4-0.63-1.8-0.23Zm26.83-0.34h-0.1c-0.99 0.2-1.17 2.14-0.7 3.14 0 0 1.58-0.82 1.66-1.62 0.07-0.56-0.34-1.5-0.86-1.52Zm2.5 1.84c-1.7 0.1-1.4 5.26-1.4 5.26S48.1 41.11 48.4 40c0.29-1.1-0.14-3.27-1.21-3.2Zm-23.74 1.55c-0.55 0.53-1.1 1.31-1.57 2.11-0.95 1.6-1.58 3.24-1.58 3.24l-0.3 0.78c-1.85-1-3.1-1.51-4.86-1.58-1.13-0.05-2.08 1.03-2.3 2.01-0.12 0.57 0 1.28 0.76 2.3 10.12 1.33 26.1 1.9 34.52 0.04 0.3-1.48-0.2-2.5-1.1-3.41-0.97-1.01-2.5-1.76-3.77-2.2-0.61-0.22-2.1 0.1-3.31 0.62-1.23 0.52-2.22 1.12-2.22 1.12l-0.62 0.38-0.38-0.63s-0.4-0.66-0.95-1.3c-0.56-0.63-1.3-1.13-1.49-1.13-0.55-0.01-1.74 0.82-2.65 1.82-0.9 0.99-1.56 2-1.56 2l-0.92 1.39-0.43-1.65s-0.45-1.71-1.2-3.42c-0.39-0.86-0.85-1.7-1.33-2.3-1.06-1.21-1.7-1.18-2.74-0.19ZM9.99 39.5c-0.36 0-0.67 0.1-0.83 0.4-0.7 1.3 2.59 3.54 2.59 3.54s0.57-2.39-0.09-3.18c-0.35-0.41-1.07-0.75-1.67-0.76Z"/> +</vector>
\ No newline at end of file diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_home_page.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_home_page.xml new file mode 100644 index 0000000..5289d88 --- /dev/null +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_home_page.xml @@ -0,0 +1,183 @@ +<?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=".Fragments.FragmentHomePage"> + + <!-- TODO: Update blank fragment layout --> + + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recyclerView" + android:layout_width="0dp" + android:layout_height="160dp" + android:layout_marginStart="16dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="0.0" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/textView9" /> + + <TextView + android:id="@+id/textView8" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + + android:layout_marginTop="48dp" + android:layout_marginEnd="100dp" + android:text="Zdravo, Mia" + app:layout_constraintEnd_toStartOf="@+id/imageButton" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <ImageButton + android:id="@+id/imageButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="24dp" + android:layout_marginEnd="24dp" + android:background="@drawable/circle_view" + android:src="@mipmap/ic_launcher_round" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@+id/textView8" + app:layout_constraintTop_toTopOf="parent" /> + + <TextView + android:id="@+id/textView7" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:layout_marginTop="24dp" + android:text="Pretraži lokacije" + android:textSize="20sp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="0.0" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/imageButton" /> + + <com.google.android.material.textfield.TextInputEditText + android:id="@+id/editTextTextPersonName3" + android:layout_width="376dp" + android:layout_height="31dp" + android:layout_marginStart="16dp" + android:layout_marginTop="8dp" + android:layout_marginEnd="16dp" + android:background="@drawable/rounded_white_button_login" + android:ems="10" + android:hint=" Pretraga" + android:inputType="textPersonName" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="0.0" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/textView7" /> + + <TextView + android:id="@+id/textView9" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:layout_marginTop="36dp" + android:layout_marginEnd="200dp" + android:text="Popularno" + android:textStyle="bold" + app:layout_constraintEnd_toStartOf="@+id/textView11" + app:layout_constraintHorizontal_bias="0.0" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/editTextTextPersonName3" /> + + <TextView + android:id="@+id/textView11" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="36dp" + android:layout_marginEnd="16dp" + android:clickable="true" + android:text="Prikaži sve" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@+id/editTextTextPersonName3" /> + + <LinearLayout + android:id="@+id/linearLayout2" + android:layout_width="399dp" + android:layout_height="58dp" + android:layout_marginStart="16dp" + android:layout_marginTop="8dp" + android:orientation="horizontal" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/recyclerView"> + + <ImageButton + android:id="@+id/imageButton4" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background='@color/white' + android:src="@drawable/location_beach" /> + + <ImageButton + android:id="@+id/imageButton6" + + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background='@color/white' + android:src="@drawable/location_mountain" /> + + <ImageButton + android:id="@+id/imageButton5" + + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background='@color/white' + android:src="@drawable/location_city" /> + + <ImageButton + android:id="@+id/imageButton7" + + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background='@color/white' + android:src="@drawable/location_waterfall" /> + </LinearLayout> + + <TextView + android:id="@+id/textView12" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + + android:layout_marginStart="16dp" + android:layout_marginTop="12dp" + android:text="Najnovije" + android:textStyle="bold" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="0.0" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/linearLayout2" /> + + <androidx.recyclerview.widget.RecyclerView + android:layout_width="0dp" + android:layout_height="174dp" + android:layout_marginStart="16dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/textView12" /> + + <TextView + android:id="@+id/textView13" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="12dp" + android:layout_marginEnd="16dp" + android:clickable="true" + android:text="Prikaži sve" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="1.0" + app:layout_constraintStart_toEndOf="@+id/textView12" + app:layout_constraintTop_toBottomOf="@+id/linearLayout2" /> + +</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |