- 博客(8)
- 资源 (10)
- 问答 (1)
- 收藏
- 关注
转载 InputStream 与 String 转化
方法一: public static String InputStream2String(InputStream in) throws IOException{ ByteArrayOutputStream bos = new ByteArrayOutputStream(); int n = -1; while((n =
2014-01-29 22:18:08 683
翻译 android dp 与 px 的换算
Density-independent pixel (dp)The density-independent pixel is equivalent to one physical pixel on a 160 dpi screen, which is the baseline density assumed by the system for a "medium" density screen
2014-01-15 15:36:19 777
翻译 单选按钮 RadioButton 的使用
To create each radio button option, create a RadioButton in your layout. However, because radio buttons are mutually exclusive, you must group them together inside a RadioGroup. By grouping them t
2014-01-07 22:40:00 808
翻译 Android EditText 定制键盘行为
原文地址:http://developer.android.com/guide/topics/ui/controls/text.html#ActionsSpecifying Keyboard ActionsYou can specify the action by setting theandroid:imeOptions attribute. For example, h
2014-01-07 21:49:38 1120
翻译 android 写 selector.xml 时的注意事项
原文链接:http://developer.android.com/guide/topics/ui/controls/button.html <item android:drawable="@drawable/button_pressed" android:state_pressed="true" /> <item android:drawab
2014-01-07 21:21:02 690
翻译 Android Button 添加 onclick 属性的注意事项
The method you declare in the android:onClick attribute must have a signature exactly as shown above. Specifically, the method must:Be publicReturn voidDefine a View as its only parameter (thi
2014-01-07 21:00:37 1448
翻译 Android Styles and Themes(风格与主题)
Styles and Themes(风格与主题)A style is a collection of properties that specify the look and format for a View or window. A style can specify properties such as height, padding, font color, font
2014-01-02 17:15:40 605
原创 Android EditText 只能输入三行文本的实现方法
MainActivity.javapackage com.example.edittext;import android.app.Activity;import android.os.Bundle;import android.text.Editable;import android.text.TextWatcher;import android.widget.EditText;i
2014-01-02 14:59:03 1221
ANDROID AIDL DEMO
2015-02-12
java 方法参数传值问题
2016-06-25
TA创建的收藏夹 TA关注的收藏夹
TA关注的人