自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (8)
  • 收藏
  • 关注

原创 focus

  1.call requestFocus() on that component. Note that it wont work in touch mode (== after the user touched the screen) because the Android UI design calls for no focused/selected element in

2009-11-27 14:53:00 1104

原创 Scroller 粗浅理解

 public class TestTextView extends Activity {    /** Called when the activity is first created. */    LinearLayout lay1,lay2,lay;     private Scroller mScroller;     private boolean s1,s2;  

2009-11-24 15:14:00 17072 5

原创 declare-styleable, 自定义属性

  Normal 0 7.8 pt 0 2 false false false MicrosoftInternetExplorer4 <!-- /*

2009-11-24 09:43:00 6802 2

原创 layout_weight

  Normal 0 7.8 pt 0 2 false false false MicrosoftInternetExplorer4 <!-- /*

2009-11-24 09:39:00 1613

原创 padding and layout_margin

  Normal 0 7.8 pt 0 2 false false false MicrosoftInternetExplorer4 <!-- /*

2009-11-24 09:34:00 1879

原创 事件处理

 activity和VIEW都能接收触摸和按键,如果响应事件只需要在继承类里复写事件函数即可但是对于VIEW来说,我们如果不改变DRAW,不需要继承,所以如果想响应事件,则需要当一个视图(如一个按钮)被触摸时,该对象上的onTouchEvent()方法会被调用。不过,为了侦听这个事件,你必须扩展这个类并重写该方法。很明显,扩展每个你想使用的视图对象(只是处理一个事件)是荒唐的。

2009-11-24 09:31:00 8709

原创 merge usage

 The was created for the purpose of optimizing Android layouts by reducing the number of levels in view trees You could not apply this trick if your layout was using a LinearLayout as its

2009-11-23 14:10:00 867

原创 自定义VIEWGROUP的一个用法

 图片看http://www.curious-creature.org/2009/03/01/android-layout-tricks-3-optimize-part-1/merge    xmlns:android="http://schemas.android.com/apk/res/android"   

2009-11-23 14:00:00 3045

原创 比较LINEARLAYOUT和RELATIVELAYOUT在LISTVIEW中的内存耗用

 图片见:http://www.curious-creature.org/2009/02/22/android-layout-tricks-1/ 在LINEARLAYOUT布局里,多用了一个LINEARLAYOUT,造成每一个VIEW建立时都用多创建一个,资源浪费The layout pass can be especially expensive when you nest se

2009-11-23 09:46:00 1692

Kotlin官方参考文档中文版.pdf

Kotlin官方参考文档中文版.pdf

2021-04-13

2056页Android面试题集2020年末大合集(含答案解析).pdf

面试题

2021-04-13

android解压所有img

android解压所有img,只能是非签名的。 exe文件方便。

2012-06-12

Android Essentials

This book covers the essential information required to build an Android application.

2009-09-01

Oracle编程入门经典

Begining oracle programming 清华出版 绝对好书

2009-08-24

desgin pattern

[Robert C.Martin]-[1996]-Dependency InversionPrinciple(DIP).pdf

2009-03-03

effectice java第二版

effectice java第二版. It is english version, if anyone needs chinese version, I will try to translate.

2009-03-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除