摘要:
在主页中显示图片,然后点击向上翻或者向下翻能够实现图片的切换xml中两个button组件,还有一个ImageSwitcher组件<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_parent" 阅读全文
摘要:
项目需求:通过点击按钮,显示出来一个对话框,选择其中一个选项之后出来一个进度对话框,一段时间之后自动消失。xml文件中<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_parent" too 阅读全文
摘要:
AlertDialog应用2xml中添加一个按钮就可以<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_parent" tools:context=".MainActivity&q 阅读全文
摘要:
AlertDialog对话框应用一项目需求:在主页面上显示一个button,点击button,跳出一个对话框,里面有图片,文字还有按钮可以选择;xml中添加一个button<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=& 阅读全文
摘要:
一、基础1、说明:创建数据库CREATE DATABASE database-name2、说明:删除数据库drop database dbname3、说明:备份sql server---创建 备份数据的deviceUSE masterEXEC sp_addumpdevice 'disk', 'testBack', 'c:\mssql7backup\MyNwind_1.dat'---开始 备份BACKUP DATABASE pubs TO testBack4、说明:创建新表create table tabname(col1 type1 [not n 阅读全文