android
cr994667188
你懂的
展开
-
android软键盘开关
[size=medium]打开软键盘: InputMethodManager inputMethodManager = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); inputMethodManager.toggleSoftInput(0, InputMethodManager.HIDE_NOT_ALW...原创 2012-08-07 16:33:35 · 144 阅读 · 0 评论 -
intent传值问题
传值直接实例化Intent 取的时候注意了 getIntent,而不是直接new原创 2012-11-27 11:23:00 · 62 阅读 · 0 评论 -
android按钮半透明
在main.xml里面加入 就可以了 半透明 透明原创 2012-09-10 17:27:20 · 233 阅读 · 0 评论 -
java冒泡排序
public static void sort(int[] array) { int temp; for (int i = 0; i < array.length; i++) { for (int j = 0; j < i; j++) { if (array[i] < array[j]) { temp = array[i]; array[i]...原创 2012-09-10 17:39:09 · 58 阅读 · 0 评论 -
按字母排序
static void so(){ System.out.print("Please input a piece of string: "); String input = new Scanner(System.in).next().trim(); char[] ary = input.toCharArray(); Arrays.sort(ary); Str...原创 2012-09-10 17:40:24 · 97 阅读 · 0 评论 -
android按钮按下的效果
xml文件名为 ic_tab_artists2012-09-11 15:52:47 · 618 阅读 · 0 评论