|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | + android:id="@+id/drawer_layout" |
| 5 | + android:layout_width="match_parent" |
| 6 | + android:layout_height="match_parent"> |
| 7 | + |
| 8 | + <androidx.constraintlayout.widget.ConstraintLayout |
| 9 | + android:id="@+id/container" |
| 10 | + android:layout_width="match_parent" |
| 11 | + android:layout_height="match_parent"> |
| 12 | + |
| 13 | + <com.google.android.material.textview.MaterialTextView |
| 14 | + android:id="@+id/text_view" |
| 15 | + style="@style/TextAppearance.Material3.HeadlineSmall" |
| 16 | + android:layout_width="wrap_content" |
| 17 | + android:layout_height="wrap_content" |
| 18 | + android:text="@string/home" |
| 19 | + app:layout_constraintTop_toTopOf="parent" |
| 20 | + app:layout_constraintStart_toStartOf="parent" |
| 21 | + app:layout_constraintEnd_toEndOf="parent" |
| 22 | + app:layout_constraintBottom_toBottomOf="parent" /> |
| 23 | + |
| 24 | + <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton |
| 25 | + android:id="@+id/floating_button_show_syntax" |
| 26 | + style="@style/Widget.Material3.ExtendedFloatingActionButton.Icon.Surface" |
| 27 | + android:layout_width="wrap_content" |
| 28 | + android:layout_height="wrap_content" |
| 29 | + android:layout_margin="24dp" |
| 30 | + android:contentDescription="@string/tooltip_show_code" |
| 31 | + android:text="@string/show_code" |
| 32 | + android:tooltipText="@string/tooltip_show_code" |
| 33 | + app:icon="@drawable/ic_code" |
| 34 | + app:layout_constraintBottom_toBottomOf="parent" |
| 35 | + app:layout_constraintEnd_toEndOf="parent" /> |
| 36 | + |
| 37 | + </androidx.constraintlayout.widget.ConstraintLayout> |
| 38 | + |
| 39 | + <com.google.android.material.navigation.NavigationView |
| 40 | + android:id="@+id/navigation_view" |
| 41 | + android:layout_width="wrap_content" |
| 42 | + android:layout_height="match_parent" |
| 43 | + android:layout_gravity="start" |
| 44 | + app:menu="@menu/drawer_lesson_menu" /> |
| 45 | + |
| 46 | +</androidx.drawerlayout.widget.DrawerLayout> |
0 commit comments