Bar*_*ris 32 twitter user-interface android android-actionbar
实现twitter示例UI模式等操作栏的最佳方法是什么.
Twitter for Android:仔细研究Android不断发展的UI模式模式4:Action Bar http://android-developers.blogspot.com/2010/05/twitter-for-android-closer-look-at.html
Joh*_*son 37
还可以在这里找到另一个动作栏实现(无耻插件),https://github.com/johannilsson/android-actionbar.它是作为库项目实现的,因此无需复制粘贴资源.
实现明智的它是作为一个小部件构建的,它使用它自己的动作和条形布局扩展了RelativeLayout.这使得可以使用自己的xml片段将其添加到布局中.
<com.markupartist.android.widget.ActionBar
android:id="@+id/actionbar"
style="@style/ActionBar"
/>
Run Code Online (Sandbox Code Playgroud)
然后在活动中引用它来添加动作.
ActionBar actionBar = (ActionBar) findViewById(R.id.actionbar);
actionBar.setTitle("Other");
actionBar.setHomeAction(new IntentAction(this, HomeActivity.createIntent(this), R.drawable.ic_title_home_default));
actionBar.addAction(new IntentAction(this, createShareIntent(), R.drawable.ic_title_share_default));
actionBar.addAction(new ToastAction());
Run Code Online (Sandbox Code Playgroud)
Tre*_*hns 23
您可能需要查看Google I/O 2010计划应用程序的源代码,该应用程序是开源的,包含一个Action Bar实现:
http://code.google.com/p/iosched/
Int*_*ons 20
https://github.com/JakeWharton/ActionBarSherlock上的ActionBarSherlock 是一个Android库,用于使用3.0+上的本机ActionBar和3.0之前的第三方库实现操作栏设计模式.
Jur*_*uri 10
我也在等待谷歌开源Twitter应用程序......但是发推特Reto Meier并没有提供有关可能发布的信息......无论如何.
关于QuickActions,我发现了以下有趣的链接,这些链接可能对你们中的一些人有用:
玩得开心!
| 归档时间: |
|
| 查看次数: |
55027 次 |
| 最近记录: |