android:layout_height=“?attr/actionBarSize” is not working with support:design:23.0.0' library
If I set android:layout_height="56dp" , I can see the toolbar in graphical layout. But when I set like the below, <android.support.v7.widget.Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="@color/purple" android:gravity="center_vertical" android:minHeight="?attr/actionBarSize" app:layout_scrollFlags="scroll|enterAlways" app:popupTheme="@style/ThemeOverlay.AppCompat.Light"> </android.support.v7.widget.Toolbar> toolbar is not showing in graphical layout. Studio says that attr/actionBarSize is marked as private.