有时候在一些子页面或者内容页面,不需要显示ActionBar的标题栏图标。可用如下方式进行设置。首先获取到ActionBar对象ActionBar actionBar=getActionBar();使用android:logo属性。不像方方正正的icon,logo的图像不会有任何宽度限制。logo图...
分类:
其他好文 时间:
2014-09-17 20:05:42
阅读次数:
198
1.知识点:FragmentCustomAnimation
2.示例:来自于官网示例的简化,这样更方便于学习该知识点。
本示例的源码下载地址为:http://download.csdn.net/detail/far_sight/7932287
3.项目FragmentCustomAnimationTest1效果:重复点按钮new fragment,第点一次,数字加一,实现原因是第点一次...
分类:
其他好文 时间:
2014-09-17 18:42:52
阅读次数:
239
其他学友资料: ActionBar和Fragment结合ViewPager实现TabActivity
分类:
其他好文 时间:
2014-09-17 18:22:52
阅读次数:
181
作者 : 万境绝尘 (octopus_truth@163.com)转载请著名出处 : http://blog.csdn.net/shulianghan/article/details/39269163示例代码下载 : -- GitHub : https://github.com/han1202012/Octopus_ActionBarStyle.git -- CSDN : http://downl...
分类:
移动开发 时间:
2014-09-17 10:20:02
阅读次数:
356
Android包含三种动画:View Animation、 Drawable Animation、Property Animation(Android3.0新引入)。...
分类:
移动开发 时间:
2014-09-16 17:31:50
阅读次数:
188
第9章 Android动画效果Android系统提供了两种实现动画的方式,一种是补间动画(Tween Animation),另一种是帧动画(Frame Animation)。补间动画可以实现View组件的移动、放大、缩小以及渐变等效果,帧动画则提供了一种逐帧播放图片的动画方式。无论是补间动画还是帧动...
分类:
移动开发 时间:
2014-09-16 12:13:10
阅读次数:
331
刚看了CSDN上的Android开源项目,我就自己自身情况,觉得可以学的做了如下整理:1.ActionBarSherlock能够让开发者轻松开发一款带动作栏(Actionbar)的应用,并且适用于Android2.x及其以上所有版本。详情请参考:ActionBarSherlock2.facebook-android-sdkFacebookSDKforAndroid..
分类:
移动开发 时间:
2014-09-16 02:50:10
阅读次数:
300
一、屏幕高度和宽度获取方法int screenWidth,screenHeight; WindowManager windowManager = getWindowManager(); Display display = windowManager.getDefaultDisplay(); s...
分类:
移动开发 时间:
2014-09-15 14:09:38
阅读次数:
196
The following graphs demonstrate the different values ofEasingMode, wheref(t) represents the animation progress andtrepresents time.BackEaseBounceEase...
分类:
其他好文 时间:
2014-09-15 09:55:18
阅读次数:
212
作者 : 万境绝尘 (octopus_truth@163.com)转载请注明出处 : http://blog.csdn.net/shulianghan/article/details/39204393示例代码下载 : -- GitHub : https://github.com/han1202012/Octopus_ActionBar.git-- CSDN : http://download.cs...
分类:
移动开发 时间:
2014-09-14 16:44:37
阅读次数:
398