October 2018
Intermediate to advanced
464 pages
15h 17m
English
To start, we will add string resources for our menu items and a button to toggle the menu visibility. Open the res/strings.xml file and follow these steps:
<string name="menu_download">Download</string>
<string name="menu_settings">Settings</string>
<Button android:id="@+id/buttonToggleMenu" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Toggle Menu" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf= ...