控件
u010240094
这个作者很懒,什么都没留下…
展开
-
Android中监听EditText文本输入
平时在做android开发过程中经常要用到EditText,有时候可能需要监听你在TextView中输入的字数的状态和变化,以便于我们能做相应的提示和操作。我们可以通过下面的方式来实现。 package com.damai.test; import android.app.Activity; import android.os.Bundle; import androi转载 2015-09-19 14:37:31 · 367 阅读 · 0 评论 -
android CompoundDrawablesWithIntrinsicBounds用法
setCompoundDrawablesWithIntrinsicBounds用来设置符合控件的上下左右图片 setCompoundDrawablePadding用来设置图片与文字之间的距离 gestureBottom.setCompoundDrawablesWithIntrinsicBounds( R.drawable.jiumu_gesture_menu, 0, 0, 0);原创 2015-10-14 16:40:41 · 414 阅读 · 0 评论