![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android 控件
文章平均质量分 57
好囧
111
展开
-
Android activity第一次启动Edittext不弹软键盘
AndroidManifest.xml原创 2014-11-10 20:22:27 · 611 阅读 · 0 评论 -
android Spinner下拉列表
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="5dp" android:orie原创 2014-11-06 12:51:13 · 514 阅读 · 0 评论 -
android 画分割线
<View android:layout_width="fill_parent" android:layout_height="1dp" android:background="#11EE11" />原创 2014-11-06 15:01:59 · 437 阅读 · 0 评论 -
android 单选按钮 RadioGroup RadioButton
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <RadioGroup原创 2014-10-12 15:17:24 · 969 阅读 · 0 评论 -
android Edittext 输入法软键盘屏蔽,有光标
/** 输入法软键盘屏蔽,有光标*/ private void srfpb(EditText text) { if (android.os.Build.VERSION.SDK_INT <= 10) {//4.0以下 text.setInputType(InputType.TYPE_NULL); } else { getWindow().setSoftInputMode(转载 2014-10-16 17:05:11 · 728 阅读 · 0 评论 -
android Edittext 限制输入
//限制只能输入正小数 private class CustomTextWatcher implements TextWatcher { private EditText mEditText; public CustomTextWatcher(EditText e) { mEditText = e; } public void beforeTextChanged(Cha原创 2014-10-31 21:49:44 · 470 阅读 · 0 评论 -
android 多个ImageView图片缩小、放大、移动,图片不能移出ImageView视图,清空图片内存
picture_kztj.xml原创 2014-10-13 14:26:59 · 832 阅读 · 0 评论 -
android 在 button、textview等控件按下和选中的时候改变颜色或图片实现方法
首先,在res文件夹下新建一个文件夹drawable,这是无关分辨率的:在下面建立一个xml文件:login_button_selector.xml原创 2014-10-13 23:03:36 · 3441 阅读 · 0 评论