
安卓
文章平均质量分 73
embaobao
c# ASP.NET、mvc,api,web page WIN FORM java java web JQ, JS.H5 ,CSS, VUE Android
展开
-
安卓——Activity生命周期
在xml 设计页面添加标签xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xml...原创 2018-06-29 02:26:32 · 679 阅读 · 0 评论 -
安卓——implements——OnClickListener
//实现底部的按钮激活监听 设置不同src class click implements OnClickListener{ @Override public void onClick(View v) { switch (v.getId()) { case R.id....原创 2018-06-29 02:32:44 · 841 阅读 · 0 评论 -
安卓——Handler延迟跳转
//声明控制对象 Handler handler =new Handler(){ @Override public void handleMessage(Message msg) { super.handleMessage(msg); Intent intent=new Intent(MainActivi...原创 2018-06-29 02:32:06 · 268 阅读 · 0 评论 -
安卓——BroadcastReceiver
package com.example.administrator.myapplication_reciver;import android.content.BroadcastReceiver;import android.content.Context;import android.content.Intent;import android.widget.Toast;/** * Created ...原创 2018-06-29 02:31:37 · 164 阅读 · 0 评论 -
安卓——AppTheme
<?xml version="1.0" encoding="utf-8"?><resources><style name="AppTheme.mythem"> <item name="windowNoTitle">true</item> <item name原创 2018-06-29 02:31:09 · 464 阅读 · 0 评论 -
安卓——animotion
在 layout下建立文件夹 animator写入动画文件xml<?xml version="1.0" encoding="utf-8"?><!--<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"--> <!--android:duration="30原创 2018-06-29 02:30:27 · 266 阅读 · 0 评论 -
安卓——AlertDialog多样按钮
在xml 设计页面添加标签 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns...原创 2018-06-29 02:29:45 · 1106 阅读 · 0 评论 -
安卓——Activity生命周期、
在xml 设计页面添加标签 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns...原创 2018-06-29 02:29:07 · 182 阅读 · 0 评论 -
安卓AlertDialog 的使用
引入空间import android.support.v7.app.AlertDialog;import android.support.v7.app.AppCompatActivity; final AlertDialog dia; dia=new AlertDialog.Builder(this).setTitle("嘿嘿") .setMess...原创 2018-06-29 02:28:23 · 1290 阅读 · 0 评论 -
android中include
android中include。include标签用法。1.新建一个xml文件,命名 head.xmlhead.xml文件内容如下:<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...原创 2018-12-02 00:49:12 · 524 阅读 · 0 评论