大佬教程收集整理的这篇文章主要介绍了android – 屏幕底部的ActionBarSherlock,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
<activity android:name=".MyActivity" android:uiOptions="splitActionBarWhenNarrow" > </activity>
但有一个小问题,标题仍然存在,我也想删除它,所以可以任何人请帮我删除ActionBarSherlock的标题
提前致谢
<style name="NoActionBar" parent="@android:style/Theme.Holo.Light"> <item name="android:windowActionBar">false</item> <item name="android:windowNotitle">true</item> </style> <RelativeLayout xmlns:android="http://scheR_804_11845@as.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content"> <TextView android:id="@+id/title" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:layout_toLeftOf="@+id/buttons_holder" android:ellipsize="end" style="@style/TextAppearance.Sherlock.Widget.ActionBar.title"/> <LinearLayout android:id="@+id/buttons_holder" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_alignParentright="true" > <ImageButton android:id="@+id/acion_add" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/menu_label_add" style="?attr/actionButtonStyle" /> <ImageButton android:id="@+id/action_prev" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/menu_label_prev" style="?attr/actionButtonStyle" /> <ImageButton android:id="@+id/action_next" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/menu_label_next" style="?attr/actionButtonStyle" /> </LinearLayout> </RelativeLayout>
以上是大佬教程为你收集整理的android – 屏幕底部的ActionBarSherlock全部内容,希望文章能够帮你解决android – 屏幕底部的ActionBarSherlock所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。