Changeset View
Changeset View
Standalone View
Standalone View
app/res/layout/activity_principal.xml
Show All 24 Lines | <androidx.drawerlayout.widget.DrawerLayout | ||||
</LinearLayout> | </LinearLayout> | ||||
<com.google.android.material.navigation.NavigationView | <com.google.android.material.navigation.NavigationView | ||||
android:id="@+id/nvView" | android:id="@+id/nvView" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="match_parent" | android:layout_height="match_parent" | ||||
android:layout_gravity="start" | android:layout_gravity="start" | ||||
android:background="?attr/colorPrimaryDark" | android:background="@color/grey_050" | ||||
android:theme="@style/ThemeOverlay.AppCompat.Dark" | android:theme="@style/ThemeOverlay.AppCompat.Light" | ||||
app:headerLayout="@layout/nav_header" | app:headerLayout="@layout/nav_header" | ||||
app:insetForeground="@color/teal_200" | app:itemIconTint="@color/teal_500" | ||||
app:itemIconTint="@color/teal_200" | |||||
app:itemTextAppearance="?android:attr/textAppearanceMedium" | app:itemTextAppearance="?android:attr/textAppearanceMedium" | ||||
app:itemTextColor="@android:color/white" | app:itemTextColor="@color/black_900" | ||||
android:fitsSystemWindows="true" | android:fitsSystemWindows="true" | ||||
app:menu="@menu/drawer_main" /> | app:menu="@menu/drawer_main" /> | ||||
</androidx.drawerlayout.widget.DrawerLayout> | </androidx.drawerlayout.widget.DrawerLayout> | ||||
No newline at end of file | No newline at end of file |
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register