Ömer Faruk Yılmaz | 50f5683 | 2022-06-03 10:16:06 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright 2022 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
Ömer Faruk Yılmaz | 8048763 | 2023-02-01 08:07:25 +0000 | [diff] [blame] | 17 | <androidx.constraintlayout.widget.ConstraintLayout |
Ömer Faruk Yılmaz | 50f5683 | 2022-06-03 10:16:06 +0000 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:app="http://schemas.android.com/apk/res-auto" |
Ömer Faruk Yılmaz | 74178bc | 2023-02-02 07:55:08 +0000 | [diff] [blame] | 20 | xmlns:tools="http://schemas.android.com/tools" |
Ömer Faruk Yılmaz | 8048763 | 2023-02-01 08:07:25 +0000 | [diff] [blame] | 21 | android:id="@+id/container" |
Ömer Faruk Yılmaz | 50f5683 | 2022-06-03 10:16:06 +0000 | [diff] [blame] | 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="match_parent" |
Ömer Faruk Yılmaz | 74178bc | 2023-02-02 07:55:08 +0000 | [diff] [blame] | 24 | tools:context=".MainActivity"> |
Ömer Faruk Yılmaz | 8048763 | 2023-02-01 08:07:25 +0000 | [diff] [blame] | 25 | |
Ömer Faruk Yılmaz | 8d87e69 | 2023-04-10 06:10:44 +0000 | [diff] [blame] | 26 | <com.google.android.material.bottomnavigation.BottomNavigationView |
| 27 | android:id="@+id/nav_view" |
| 28 | android:layout_width="0dp" |
| 29 | android:layout_height="wrap_content" |
| 30 | android:layout_marginStart="0dp" |
| 31 | android:layout_marginEnd="0dp" |
| 32 | android:background="?android:attr/windowBackground" |
| 33 | app:layout_constraintBottom_toBottomOf="parent" |
| 34 | app:layout_constraintLeft_toLeftOf="parent" |
| 35 | app:layout_constraintRight_toRightOf="parent" |
| 36 | app:menu="@menu/bottom_nav_menu" /> |
| 37 | |
Ömer Faruk Yılmaz | 3b68064 | 2022-06-15 04:41:00 +0000 | [diff] [blame] | 38 | <fragment |
Ömer Faruk Yılmaz | 8048763 | 2023-02-01 08:07:25 +0000 | [diff] [blame] | 39 | android:id="@+id/nav_host_fragment_activity_main" |
Ömer Faruk Yılmaz | 3b68064 | 2022-06-15 04:41:00 +0000 | [diff] [blame] | 40 | android:name="androidx.navigation.fragment.NavHostFragment" |
Ömer Faruk Yılmaz | 8048763 | 2023-02-01 08:07:25 +0000 | [diff] [blame] | 41 | android:layout_width="0dp" |
| 42 | android:layout_height="0dp" |
Ömer Faruk Yılmaz | 3b68064 | 2022-06-15 04:41:00 +0000 | [diff] [blame] | 43 | app:defaultNavHost="true" |
Ömer Faruk Yılmaz | d0d1c72 | 2023-02-17 01:18:05 +0000 | [diff] [blame] | 44 | app:layout_constraintBottom_toBottomOf="parent" |
Ömer Faruk Yılmaz | 8048763 | 2023-02-01 08:07:25 +0000 | [diff] [blame] | 45 | app:layout_constraintLeft_toLeftOf="parent" |
| 46 | app:layout_constraintRight_toRightOf="parent" |
| 47 | app:layout_constraintTop_toTopOf="parent" |
Ömer Faruk Yılmaz | 3b68064 | 2022-06-15 04:41:00 +0000 | [diff] [blame] | 48 | app:navGraph="@navigation/nav_graph" /> |
| 49 | |
Ömer Faruk Yılmaz | 8048763 | 2023-02-01 08:07:25 +0000 | [diff] [blame] | 50 | </androidx.constraintlayout.widget.ConstraintLayout> |