版本 3.0.1
想知道下面片段中
<android.support.v7.widget.Toolbar
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:contentInsetStart="0dp"
android:background="@color/white"
>
这一个报红色,但是AS编译没问题
?attr/actionBarSize
不仅是上面的,还有style.xml里的 Theme 字体也红色了
运行编辑没毛病,但是看着不舒服啊。想问问咋了。。
也可以在文件右边的红色的地方,右键,取消。
编译警告,可以忽略,取消方式: http://blog.csdn.net/xiangxueping80/article/details/44977715