Here under the
http://code.google.com/p/droiddraw/
Need root
The linear layout beats, in the attribute, the point of apply also not, how should operate it.
I really want to ask Java people, basic functions can not do, but also to support the Mac OS, Linux advertising. No, it's the JVM, really, the writing Helloword program can support multiple systems.
It really doesn't take droiddraw,2011 years to write Android, Eclipse's XML editor has done well, DroidDraw should have been useful for 09 years when Android came out, and it hasn't been updated in 2 years, as is the case with open source projects No team financial support, always depends on the quality of the individual, so by eclipse catch is sure
button text How to hit the vertical, in early 11 when the problem almost no one understand, now Baidu can search a large pile out
button is inherited TextView, so can use TextView properties, android:ems= "1", or btn.setems (1);
Http://www.eoeandroid.com/thread-155951-1-1.html
can only show that the people who are now writing Android have a lot of, want to defy the old are not, go backwards.
Transformation
1. Conversion of Bitmap to Byte
Bytearrayoutputstream out = new Bytearrayoutputstream ();
Bitmap.compress (Bitmap.CompressFormat.PNG, out);
Byte[] array= Out.tobytearray ();
2. Byte converted to bitmap
Bitmap Bitmap = bitmapfactory.decodebytearray (data, 0, data.length);
3. Conversion of bitmap to drawable
drawable drawable = new fastbitmapdrawable (bitmap);
4. Conversion of drawable to bitmap
A. Bitmapdrawable, fastbitmapdrawable directly with Getbitmap
B. Other types of drawable painted on a bitmap with canvas
Canvas Canvas = new Canvas (bitmap)
Drawable.draw (Canvas)
5.id Conversion graphic.drawable
drawable drawable = Activity.getresources (). getdrawable (R.drawable.icon);
6.id converted into bitmap
Bitmap Bitmap = bitmapfactory. Decoderesource (resources res, int ID)
Adapter Mapping
Http://www.cnblogs.com/allin/archive/2010/05/11/1732200.html