We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
layout
<android.support.design.widget.NavigationView android:id="@+id/nav_view" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="start" android:fitsSystemWindows="true" app:menu="@menu/drawer_view" app:headerLayout="@layout/nav_header"/>
drawer_view
<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/cars" android:title="@string/cars" /> <item android:id="@+id/history" android:title="@string/trips_history" /> </menu>
activity
Menu menu = navigationView.getMenu(); MenuItem carsItem = menu.findItem(R.id.cars); carsItem.setIcon(new IconDrawable(this, FontAwesomeIcons.fa_taxi) .color(ContextCompat.getColor(this, R.color.gray)));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
layout
drawer_view
activity
The text was updated successfully, but these errors were encountered: