上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页

2014年5月11日

用户定位

摘要: 代码如下:AndroidManifest.xml:在后面增加一行:Activity_main.xml: MainActivity.java:packageleihu.location01;importandroid.location.Location;importandroid.location.L... 阅读全文

posted @ 2014-05-11 20:17 leihupqrst 阅读(255) 评论(0) 推荐(0)

图形与动画在Android中的实现

摘要: public class MyView extends View{ Bitmap myBitmap; Paint paint; public MyView(Context context, AttributeSet attrs) { super(context, attrs); this.ini... 阅读全文

posted @ 2014-05-11 20:01 leihupqrst 阅读(228) 评论(0) 推荐(0)

2014年5月9日

官方关于Dialog的介绍

摘要: 将Activity显示成Dialog的形式:Tip: If you want a custom dialog, you can instead display an Activity as a dialog instead of using the Dialog APIs. Simply creat... 阅读全文

posted @ 2014-05-09 16:59 leihupqrst 阅读(374) 评论(0) 推荐(0)

android:scaleType属性

摘要: ImageView.ScaleType.CENTER|android:scaleType="center" 以原图的几何中心点和ImagView的几何中心点为基准,按图片的原来size居中显示,不缩放,当图片长/宽超过View的长/宽,则截取图片的居中部分显示ImageView的size.当图片小于... 阅读全文

posted @ 2014-05-09 15:13 leihupqrst 阅读(211) 评论(0) 推荐(0)

2014年5月6日

Android设计应用图标不用愁---Asset Studio Integration来帮你

摘要: http://blog.csdn.net/michael__li/article/details/6957975 阅读全文

posted @ 2014-05-06 16:16 leihupqrst 阅读(148) 评论(0) 推荐(0)

关于“按钮”按下效果两种设计方法

摘要: 使用Button时为了让用户有“按下”的效果,有两种实现方式:1.在代码里面。imageButton.setOnTouchListener(new OnTouchListener(){ @Override public boolean onTouch(Vi... 阅读全文

posted @ 2014-05-06 16:01 leihupqrst 阅读(441) 评论(0) 推荐(0)

A​n​d​r​o​i​d​—​—​I​m​a​g​e​B​u​t​t​o​n​按​下​效​果​设​计

摘要: http://wenku.baidu.com/link?url=KwPWYlQhxYcFvEdnScYvBBzMIPbRl_bDKUfUjRGsv_Pro_fCd6cz1X3LTXNk_yivtDvhrD8qOX-3uUDCz24dnsMZYngx9s-fP96TmVluvAO 阅读全文

posted @ 2014-05-06 15:58 leihupqrst 阅读(141) 评论(0) 推荐(0)

关于android布局的两个属性dither和tileMode,background 平铺

摘要: http://blog.csdn.net/yuxiaohui78/article/details/8196043 阅读全文

posted @ 2014-05-06 15:49 leihupqrst 阅读(177) 评论(0) 推荐(0)

2014年5月5日

Android Bitmap详细介绍

摘要: http://www.jb51.net/article/32366.htm详细出处参考:http://www.jb51.net/article/32366htm 阅读全文

posted @ 2014-05-05 18:23 leihupqrst 阅读(100) 评论(0) 推荐(0)

[转]Android 如何建立AIDL

摘要: 建立AIDL服务要比建立普通的服务复杂一些,具体步骤如下: (1)在Eclipse Android工程的Java包目录中建立一个扩展名为aidl的文件。该文件的语法类似于Java代码,但会稍有不同。详细介绍见实例52的内容。 (2)如果aidl文件的内容是正确的,ADT会自动生成一个J... 阅读全文

posted @ 2014-05-05 15:28 leihupqrst 阅读(139) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页

导航