include属性使用方法本文地址: http://blog.csdn.net/caroline_wendyAndroid的layout中, 可以使用include属性样式, 这样可以把不同的layout拼接在一起.可以进行layout的复用, 但是需要注意的是layout属性是"layout", 前面不能添加"android:layout".代码:
<FrameLayout xmlns:and...
分类:
移动开发 时间:
2014-11-07 08:38:29
阅读次数:
306
shape圆形画法(oval)本文地址: http://blog.csdn.net/caroline_wendy1. 创建一个文件夹drawable, 用于存放xml类型的图片资源;2. 在drawable中建立一个shape标签的文件:
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:s...
分类:
移动开发 时间:
2014-11-07 08:38:19
阅读次数:
281
shape不完整的圆环(ring)本文地址: http://blog.csdn.net/caroline_wendyAndroid不仅可以画圆环(ring), 也可以使用属性"android:thicknessRatio", 画不完整的圆环.把thicknessRatio属性值设为浮点小数, 如1.9, 即可以得到不完整的圆环.代码:
<shape xmlns:android="http://sc...
分类:
移动开发 时间:
2014-11-07 08:38:18
阅读次数:
252
使用ApiDemos学习Android开发本文地址: http://blog.csdn.net/caroline_wendy位置: android-sdk/samples/android-20/legacy/ApiDemos;ReadMe中,在使用ApiDemos需要添加依赖库;Project Structure - Dependencies:添加 com.android.support:supp...
分类:
移动开发 时间:
2014-11-06 09:23:01
阅读次数:
174
Android - HelloWorld的Layout内容本文地址: http://blog.csdn.net/caroline_wendy作为最基础的Android程序, HelloWorld的XML文件可以作为测试使用.<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:too...
分类:
移动开发 时间:
2014-11-04 19:42:02
阅读次数:
159
Manifest Merger的简介本文地址: http://blog.csdn.net/caroline_wendyManifest Merger可以使用一些策略,合并Android APP模块之间的Manifest,从而保证Manifest的整洁。参考: http://tools.android.com/tech-docs/new-build-system/user-guide/manifes...
分类:
移动开发 时间:
2014-11-02 12:34:16
阅读次数:
212
监听Activity点击无效本文地址: http://blog.csdn.net/caroline_wendy...
分类:
移动开发 时间:
2014-11-02 12:31:50
阅读次数:
228
系统路径添加命令本文地址: http://blog.csdn.net/caroline_wendy1. 在根目录建立bin文件夹:$mkdir bin2. 修改".bash_profile”:$vi ~/.bash_profile3. 在”.bash_profile"添加系统路径:PATH=$PATH:/Users/wangchenlong/bin
export PATH4. 更新”.bash_p...
分类:
系统相关 时间:
2014-11-02 12:29:39
阅读次数:
197
Android - 直线(line)画法本文地址: http://blog.csdn.net/caroline_wendy横线(horizontal line)<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:background="@androi...
分类:
移动开发 时间:
2014-10-30 21:05:50
阅读次数:
218