[英]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.