摘要: Android中常常使用shape来定义控件的一些显示属性,今天看了一些shape的使用,对shape有了大体的了解,稍作总结先看下面的代码: ... 阅读全文
posted @ 2014-05-21 16:59 w愿得一人心 阅读(275) 评论(0) 推荐(0) 编辑
摘要: drawable/button_color.xml 最后,需要在包含button的xml文件里添加两项。假如是activity_main.xml 文件,我们需要在里加两项。 android:focusable="true" android:backgroud="@drawable/button_co... 阅读全文
posted @ 2014-05-21 16:50 w愿得一人心 阅读(333) 评论(0) 推荐(0) 编辑
摘要: package com.keysense.trafficmanagement.activity;import java.io.File;import android.app.Activity;import android.content.Intent;import android.net.Uri;i... 阅读全文
posted @ 2014-05-21 16:43 w愿得一人心 阅读(206) 评论(0) 推荐(0) 编辑