12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?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=".MainActivity">
- <Button
- android:id="@+id/buttonStart"
- android:layout_width="120dp"
- android:layout_height="80dp"
- android:layout_marginTop="32dp"
- android:text="Start"
- app:layout_constraintEnd_toStartOf="@+id/buttonStop"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <Button
- android:id="@+id/buttonStop"
- android:layout_width="120dp"
- android:layout_height="80dp"
- android:layout_marginTop="32dp"
- android:text="STOP"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toEndOf="@+id/buttonStart"
- app:layout_constraintTop_toTopOf="parent" />
- <FrameLayout
- android:id="@+id/main_frame_layout"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- </FrameLayout>
- <com.google.android.material.bottomnavigation.BottomNavigationView
- android:id="@+id/bottomNavigationView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:menu="@menu/bottom_nav_menu"/>
- </androidx.constraintlayout.widget.ConstraintLayout>
|