Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.drawerlayout.widget.DrawerLayout
- 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:id="@+id/drawerLayout"
- android:layout_height="match_parent"
- android:background="#4827f1"
- android:forceDarkAllowed="false"
- tools:context=".HomePage"
- android:fitsSystemWindows="true"
- tools:openDrawer="start"
- tools:targetApi="q">
- <com.google.android.material.navigation.NavigationView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:id="@+id/nav_view"
- app:headerLayout="@layout/header"
- app:menu="@menu/main_menu"
- android:background="#4827f1"
- app:itemIconTint="@color/white"
- app:itemTextColor="@color/white"
- android:layout_gravity="start"
- android:visibility="gone"
- />
- <androidx.appcompat.widget.Toolbar
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:id="@+id/toolbar"
- app:itemIconTint="@color/white"
- android:background="#00008577"
- />
- <androidx.appcompat.widget.LinearLayoutCompat
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/app_name"
- android:layout_gravity="center"
- android:textSize="60sp"
- android:layout_marginTop="40dp"
- android:textStyle="bold"
- android:textColor="@color/white"
- android:fontFamily="cursive" />
- <androidx.appcompat.widget.AppCompatButton
- android:id="@+id/GetStart"
- android:layout_width="350dp"
- android:layout_height="50dp"
- android:paddingLeft="20dp"
- android:paddingRight="20dp"
- android:layout_marginTop="40dp"
- android:background="#eee86b"
- android:drawableEnd="@drawable/ic_arrow"
- android:text="@string/buongiorno_con_silente"
- android:textColor="#000000"
- android:layout_gravity="center"
- android:textSize="20sp"
- />
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/RecyclerViewBuongiorno"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="4dp"
- android:scrollbars="vertical"
- android:background="@color/white"
- />
- <androidx.appcompat.widget.AppCompatButton
- android:id="@+id/augurio"
- android:layout_width="350dp"
- android:layout_height="50dp"
- android:paddingLeft="20dp"
- android:paddingRight="20dp"
- android:layout_marginTop="20dp"
- android:background="#eee86b"
- android:drawableEnd="@drawable/ic_arrow"
- android:text="@string/frasi_del_buon_augurio"
- android:textColor="#000000"
- android:layout_gravity="center"
- android:textSize="20sp"
- />
- </androidx.appcompat.widget.LinearLayoutCompat>
- </androidx.drawerlayout.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement