aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/activity_main.xml
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2022-10-11 19:44:04 +0200
committerMaksymilian Jopek <maks@jopek.eu>2022-10-11 19:44:04 +0200
commit7ebdab2798013e3b47ff981335fae9d76f104d7c (patch)
tree8ff73c88d0e0d23c48dfaa71476df0dc1b253188 /app/src/main/res/layout/activity_main.xml
downloadtaupngamoni-7ebdab2798013e3b47ff981335fae9d76f104d7c.tar.gz
taupngamoni-7ebdab2798013e3b47ff981335fae9d76f104d7c.tar.zst
taupngamoni-7ebdab2798013e3b47ff981335fae9d76f104d7c.zip
Initial commit, not much this time
Diffstat (limited to 'app/src/main/res/layout/activity_main.xml')
-rw-r--r--app/src/main/res/layout/activity_main.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..e3d1a5e
--- /dev/null
+++ b/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,30 @@
+<?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">
+
+ <FrameLayout
+ android:id="@+id/container"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <com.google.android.material.bottomnavigation.BottomNavigationView
+ android:id="@+id/bottomNavigationView"
+ android:layout_width="match_parent"
+ android:layout_height="75dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:menu="@menu/bottom_nav_menu"/>
+
+</androidx.constraintlayout.widget.ConstraintLayout>