[英]How to change size of a menu item in Android Toolbar?
我认为,这只是Android的新操作栏
http://android-developers.blogspot.ru/2014/10/appcompat-v21-material-design-for-pre.html
只需将其与项目中包含的AppCompat v21库一起使用:
<android.support.v7.widget.Toolbar
android:id=”@+id/my_awesome_toolbar”
android:layout_height=”wrap_content”
android:layout_width=”match_parent”
android:minHeight=”?attr/actionBarSize”
android:background=”?attr/colorPrimary”>
<--Your UI elements here-->
</android.support.v7.widget.Toolbar>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.