10 2021 档案
摘要:1.三个界面,界面1点击按钮使用显式意图开启界面2.界面2点击按钮隐式意图开启界面3 2.在界面1做一个按钮开启浏览器访问百度 package com.example.app6; import android.os.Bundle; import android.app.Activity; impor
阅读全文
摘要:1.返回键实现对话框弹出是否退出应用程序 package com.example.commondialog; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; imp
阅读全文
摘要:1.创建3个界面 第一个界面有3个button <Button android:id="@+id/bu1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLe
阅读全文
摘要:作业1:安装环境,截图编程界面,截图运行界面 作业2:九宫格 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns
阅读全文
浙公网安备 33010602011771号