- 博客(15)
- 资源 (4)
- 收藏
- 关注
原创 MPAndroidChart的具体属性方法(二)
......好懒......就不改了package com.ashzheng.mpandroidchart;import android.app.Activity;import android.graphics.Color;import android.graphics.PointF;import android.os.Bundle;import android.view.View;
2015-09-25 12:47:12 10099 9
原创 MPAndroidChart的具体属性方法
package com.ashzheng.mpandroidchart;import android.app.Activity;import android.graphics.Color;import android.os.Bundle;import com.github.mikephil.charting.charts.LineChart;import com.github.mik
2015-09-24 16:21:31 17311 1
原创 MPAndroidChart的使用
MPAndroidChart的使用简介:一个可以拖动缩放的图表库,包含曲线图、直方图、饼状图,其中直方图支持3d效果。项目地址:https://github.com/PhilJay/MPAndroidChartLineChart使用的最简操作:1.新建项目-->导包(资源地址 http://download.csdn.net/detail/ash_zheng/9136061)
2015-09-24 16:17:38 1303
原创 RadioButton设置了checked属性 运行后 一直选中的问题
RadioButton设置了checked属性为true后, 运行后 一直选中的问题。解决方法,给每个RadioButton设置不同的Id值!!
2015-09-20 15:54:31 5750 2
原创 Android数据库SQLite的简单使用
Android数据库SQLite的简单使用:根据扣丁课堂的教程学习首先可以创建一个类 用来表示数据库:package com.ashzheng.sqlitetest.sqlite;import android.provider.BaseColumns;/** * Created by Administrator on 2015/9/17. * * 元数据的定义 */
2015-09-18 13:07:11 616
原创 TimePicker 和 DatePicker 的基本使用
TimePicker 和 DatePicker 的基本使用http://wear.techbrood.com/guide/topics/ui/controls/pickers.html#官方讲的挺详细。1.在xml文件中新建按钮,设置单击事件,以便显示 <Button android:layout_width="match_parent" andr
2015-09-10 11:12:34 1451
原创 AlertDialog的几种使用形式
AlertDialog的几种形式1.基本的样式 <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:onClick="showAlertDialog1" android:text="3个按钮的AlertD
2015-09-08 20:48:25 495
原创 ProgressBar的使用
ProgressBar的使用1.简单使用 <ProgressBar style="?android:attr/progressBarStyleHorizontal" //条状 android:layout_width="wrap_content" android:layout_height="wrap_content" a
2015-09-08 12:37:06 537
原创 Spinner下拉列表组件的3种数据绑定方式
1.使用xml中的属性值 绑定 xml中字符串资源<Spinner android:id="@+id/spinner1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:entries="@array/spin
2015-09-07 19:54:12 5734
原创 ToggleButton,Switch,RatingBar的使用
<ToggleButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:textOff="2" android:textOn="1" /> <Switch android:layout_wid
2015-09-05 13:57:03 421
原创 CheckBox控件及OnCheckedChangeListener监听器的使用,RadioGroup及RadioButton的使用
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_par
2015-09-04 20:40:59 1147
原创 Button 样式及selector选择器
<Button android:id="@+id/button7" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/button6" android:text="按钮的s
2015-09-04 09:52:19 960
原创 Button的3种单击事件监听器设置
<Button android:id="@+id/button4" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/edit_text1" android:onClic
2015-09-02 10:17:55 1553
原创 EditText控件及相关操作
<EditText android:id="@+id/edit_text1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@id/button3" android:drawa
2015-09-01 20:40:28 494
原创 Toast 显示文本,图片,及图文
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_p
2015-09-01 11:22:02 974
Android数据库SQLite的例子
2015-09-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人