警告:这是一个库项目演示的应用程序!
ActionBarSherlock是兼容性库旨在促进在所有版本的Android的使用操作栏的设计模式与单个API的一个扩展。
该库会自动在适当的时候使用本机的操作栏或会自动环绕你的布局,自定义实现。这使您可以轻松地开发与从2.x及以上版本每个版本的Android的操作栏中的应用程序。
此示例是简单的'API演示“从移植到使用SherlockFragmentActivity和SherlockFragment Android的支持库的样本。它应该提供如何这两个类是用来代替FragmentActivity和片段是一个好主意。
权限:无论是“读取联系人”和“互联网”的权限仅用于演示目的。这些权限是目前官方兼容性库样本中,因此这个范例。该应用程序是开源的,没有任何企图窃取任何私人信息。
请不要在评论报告错误。创建于GitHub项目的问题,或将其直接发送到我的邮箱。通过网站提供更多的信息。
库项目演示更新内容
新版变化
Altered technique used for menu event dispatching through the fragment manager for greater control.
Do not dispatch menu creation event if the activity has been destroyed.
Correct potential NullPointerException when the hardware menu key was pressed in an activity that is forcing the overflow menu.
Do not set a listener on the native action bar tab wrapper unless a compatibility listener has been set.
Ensure the compatibility animation framework is always available on views.
了解更多
网友评论更多