I am working on an example about Support Library and Toolbar, this is the code of the layout on the Android documentation
<android.support.v7.widget.Toolbar
android:id="@+id/my_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:elevation="4dp"
android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>
It is the first time I see these ?attr
and I have no clue about what they mean or where are these values stored. Are these custom or are they predefined on the Android framework?
Reference: Android Toolbar Documentation