简体   繁体   English

如何使ActionBar LayoutParams适用于android 2.x设备

[英]How to make the ActionBar LayoutParams workable for the android 2.x devices

I have successfully created an application which is workable on the >3.0 devices. 我已经成功创建了一个可在> 3.0设备上使用的应用程序。 However, I need to make the application also function-able on the 2.x devices. 但是,我需要使该应用程序在2.x设备上也可以运行。 I would like ask if it is possible to make the ActionBar.LayoutParams also functionable on those devices. 我想问一下是否有可能使ActionBar.LayoutParams在这些设备上也可以运行。

Does there have any compatibility package available to make it functionable? 是否有任何兼容软件包可使其起作用?

Anyone idea is welcome... 任何人都欢迎...

Thankyou 谢谢

ActionBarSherlock is what you're looking for. 您正在寻找ActionBarSherlock。 It will allow you to use the action bar on 2.x+ devices: 它将允许您在2.x +设备上使用操作栏:

http://actionbarsherlock.com/ http://actionbarsherlock.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在使用ActionBar的应用程序中正常支持Android 2.x设备? - How to gracefully support Android 2.x devices in apps that use the ActionBar? 设置ActionBar后,Android 2.x中出现错误 - Error in Android 2.x after setting the ActionBar 如何在Android中为LayoutParams x和y制作动画 - How to animate LayoutParams x and y in Android ActionBar Compat ActionBarActivity setTitle在Android 2.X中不起作用 - ActionBar Compat ActionBarActivity setTitle does not work in Android 2.X 如何使android actionbar背景图像重复x和y - How to make android actionbar background image repeat x and y 如何使用PhoneGap 1.7在Android 2.x设备上进行部署? - How can I use PhoneGap 1.7 for deployment on Android 2.x devices? 使Datepicker在Android 4.0上的外观为2.x - Make Datepicker look on Android 4.0 as 2.x 如何在动作栏中制作功能后退按钮,例如设备android中的后退按钮 - How to make function back button in actionbar like back button in devices android 如何使渲染脚本从android 4.0作为单独的lib运行在android 2.x? - How to make renderscript from android 4.0 as separate lib to run at android 2.x? Java Android-如何使WebView对Android 2.x透明? - java Android - how can I make WebView transparent for android 2.x?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM