z24

center_vertical
        
 
专门Activity ,里面有缺省定义的布局。
TabHost  ,实现。
用子组件可定义。fix id 。 
玩啥 tableWidget 根本没有用。
setCurrentTab(int index)
void setCurrentTabByTag(String tag)    
setOnTabChangedListener(TabHost.OnTabChangeListener l)
how close tab 
tab 三种方法定义。activity ,view ,factory。


bitmap.getDensity() 没有价值
clip drawable 。
可以切割中间部分
normally view height is 0  before layout 。
seekbar thumb and bar size 
为什么Seekbar thumb 没有变大,在854,900 
http://stackoverflow.com/questions/7404100/how-to-fix-seekbar-bar-thumb-centering-issues




有个人旁边检查一下,可以避免许多低级错误。
错误 1 ,尺寸问题,第一尺寸不会过大,第二bar 不会缩小(所以要两边透明) 。
3 clip 问题,可以任意气割图片。缺省是切割
4 scale 图片问题,没有scale 大。
5 width 问题。没有绘制时候为0 。
6 resource 取图片问题。




http://stackoverflow.com/questions/5159388/listview-click-and-longclick
need return true when longclick  


丰富多彩的Android onTouch事件
http://my.oschina.net/javayou/blog/924


MotionEvent的getX(),getY()与getRawX(),getRawY()
RawX,RawY 相对于屏幕位置坐标
X,Y 相对于容器的位置坐标


http://www.2cto.com/kf/201109/102655.html




如果google 
http://stackoverflow.com/questions/4268426/android-difference-between-action-up-and-action-pointer-up
http://android-developers.blogspot.com/2010/06/making-sense-of-multitouch.html
There are a few new elements at work here. We’re switching on action & MotionEvent.ACTION_MASK now rather than just action itself, and we’re using a new MotionEvent action constant, MotionEvent.ACTION_POINTER_UP. ACTION_POINTER_DOWN and ACTION_POINTER_UP are fired whenever a secondary pointer goes down or up. If there is already a pointer on the screen and a new one goes down, you will receive ACTION_POINTER_DOWN instead of ACTION_DOWN. If a pointer goes up but there is still at least one touching the screen, you will receive ACTION_POINTER_UP instead of ACTION_UP.




斗地主 ,480 根本无法打开, 960的时候,activity 居中,(why ) 但是游戏在左上角。


MD5 加密


projection 投影


BroadcastReceiver


http://stackoverflow.com/questions/7248984/when-will-a-service-be-put-to-sleep 
cpu shut down


PreferenceActivity use setPreferenceScreen to set Preference .
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(com.android.internal.R.layout.preference_list_content);
     mPreferenceManager = onCreatePreferenceManager();
    getListView().setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
}
Preference Represents the basic Preference UI building block displayed by a PreferenceActivity in the form of a ListView. This class provides the View to be displayed in the activity and associates with a SharedPreferences to store/retrieve the preference data.
PreferenceManager Used to help create Preference hierarchies from activities or XML.
In most cases, clients should use addPreferencesFromIntent(Intent) or addPreferencesFromResource(int).
setPreferences is  package access ,so It is only can used by PreferenceActivity .
it can set default value and preferenceMode


gesture ,return ture ,might many event is conflict .
child touch event is used first .


从按钮上滚动,什么事件都没有触发。不会触发click 事件。但是也不会触发activity touch 事件。
但是List 影响了。


dp 转 px ,raidokbox 中的原点 需要进一位才刚好


开源社区是如何运作的:Debian vs Ubuntu(2)
http://os.51cto.com/art/201008/221294_1.htm


why galley extend AbsSpiner use galley 


AdapterView








Custom Components exampli LabelView
define stylable
CharSequence s = a.getString(R.styleable.LabelView_text);


AlertDialog.Builder
set button ,list , clickListener 


pendent intent 。  you are granting it the right  。
A PendingIntent itself is simply a reference to a token maintained by the system describing the original data used to retrieve it. This means that, even if its owning application's process is killed, the PendingIntent itself will remain usable from other processes that have been given it. If the creating application later re-retrieves the same kind of PendingIntent (same operation, same Intent action, data, categories, and components, and same flags),
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值