登录
首页 » Java » android 自绘switchButton

android 自绘switchButton

于 2014-01-10 发布
0 220
下载积分: 1 下载次数: 0

代码说明:

android 自绘switchButton

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • android 拍照或从相册中选择并保存到sd卡
    拍照或从相册中选择并保存到sd卡
    2015-05-07下载
    积分:1
  • android selector例子(normal/pressed/focused/disabled状态)
    android selector例子(normal/pressed/focused/disabled状态)
    2015-06-12下载
    积分:1
  • Android ListView 下拉刷新 上拉更多
    Android ListView 下拉刷新 上拉更多
    2013-08-07下载
    积分:1
  • 安卓 zexlistview 实例源码下载
    安卓 zexlistview 实例源码下载
    2015-02-08下载
    积分:1
  • android 地图 缩放例子源码
    android 地图 缩放例子源码
    2014-09-22下载
    积分:1
  • android 蓝牙发送消息实例源码下载(有注释)
    android 蓝牙发送消息实例源码下载(有注释)
    2014-08-27下载
    积分:1
  • AndroidPdfViewerPDF查看器
    AndroidPdfViewerPDF查看器
    2015-09-07下载
    积分:1
  • Android Intent开发实例
    Android Intent开发实例 核心代码:package com.amaker.ch06.app;import com.amaker.ch06.app.R;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;import android.widget.EditText;/** * @author 郭宏志 * 发送Email */public class MainActivity extends Activity { // 声明视图组件 private EditText toEditText,subjectEditText,contentEditText; private Button sendBtn; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // 实例化视图组件 toEditText = (EditText)findViewById(R.id.toEditText01); subjectEditText = (EditText)findViewById(R.id.subjectEditText01); contentEditText = (EditText)findViewById(R.id.contentEditText01); sendBtn = (Button)findViewById(R.id.sendButton01); // 为按钮添加单击监听器 sendBtn.setOnClickListener(listener); } // 发送按钮单击监听器 private OnClickListener listener = new OnClickListener() { @Override public void onClick(View v) { // 获得输入信息 String to = toEditText.getText().toString(); String subject = subjectEditText.getText().toString(); String content = contentEditText.getText().toString(); // 创建Intent Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); // 设置内容类型 emailIntent.setType("plain/text"); // 设置额外信息 emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{to}); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject); emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, content); startActivity(Intent.createChooser(emailIntent, "发送邮件...")); } };}
    2014-11-24下载
    积分:1
  • android上传文件到 java服务器端 例子源码下载
    另类文件上传
    2015-05-09下载
    积分:1
  • 薛定宇-《控制数学问题的 MATLAB求解》第二版 源代码
    薛定宇-《控制数学问题的 MATLAB求解》第二版 全书配套源代码
    2019-04-15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载