随笔分类 - 安卓APP开发
摘要:安卓app_sl4_15带图标的列表对话框 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:
阅读全文
摘要:安卓app_sl_4_14询问是否退出的对话框-关闭程序-退出程序 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/too
阅读全文
摘要:安卓app_sl4_13使用AlertDialog创建对话框 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
阅读全文
摘要:安卓app_sl4_12使用Notification在状态栏上显示通知 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/t
阅读全文
摘要:安卓app_sl4_11使用Toast显示消息提示框 通过构造方法创建消息提示框 package com.example.sl4_11; /* * 使用Toast显示消息提示框 */ import android.app.Activity; import android.os.Bundle; imp
阅读全文
摘要:安卓app_sl4_10幻灯片式图片浏览器淡入淡出的效果-动画效果 <?xml version="1.0" encoding="utf-8"?> <resources> <declare-styleable name="Gallery"> <attr name="android:galleryIte
阅读全文
摘要:安卓app_sl4_9显示在标题上的进度条 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:
阅读全文
摘要:安卓app_sl4_8在Eclipse中创建Android项目,名称为4.8,实现在屏幕中添加画廊视图,用于浏览图片 package com.example.sl4_8; import android.app.Activity; import android.content.res.TypedArr
阅读全文
摘要:网格视图GridView使用方法,适配器使用方法 package com.example.sl4_7; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map;
阅读全文
摘要:安卓app_sl4_6图像切换器转换器 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:or
阅读全文
摘要:安卓app_sl4_4星级评分条示范代码 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android
阅读全文
摘要:安卓app_sl4_3拖动条示范代码 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:l
阅读全文
摘要:安卓app_sl4_2水平进度条与圆形进度条_与线程的启动 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools
阅读全文
摘要:安卓app_sl4_1带自动提示的输入框_自动完成文本框的示范 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/too
阅读全文
摘要:c# HexStringtoByte十六进制字符串转字节与modusCRC校验 public static byte[] hexStrTobyte(string hexString) { hexString = hexString.Replace(" ", ""); if ((hexString.L
阅读全文
摘要:https://www.cnblogs.com/txwtech/p/15913845.html 图标在左文字在右 <?xml version="1.0" encoding="utf-8"?> <!-- items.xml --> <LinearLayout xmlns:android="http:/
阅读全文
摘要:安卓app_sl3_28同意显示开始按钮示范 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" andro
阅读全文
摘要:安卓app_sl3_27通过ImageView显示带边边框的图片 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/to
阅读全文
摘要:安卓app_sl3_26练习_猜猜鸡蛋在哪只鞋子里面 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" andr
阅读全文
摘要:安卓app_sl3_25同意游戏条款功能示范 package com.example.sl3_25; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.vie
阅读全文