摘要: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_pa 阅读全文
posted @ 2021-11-04 22:37 w-j 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1.创建3个界面 第一个界面有3个button 第二个界面有单选按钮 学历:初中 高中 专科 本科 第三个界面有5个复选框 学过哪些课程 Java Ios Android Html Jsp 把第二个界面设置为启动界面 <?xml version="1.0" encoding="utf-8"?> <R 阅读全文
posted @ 2021-10-08 22:16 w-j 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1.安装环境,截图编程界面,截图运行界面 2.九宫格 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:i 阅读全文
posted @ 2021-10-08 22:13 w-j 阅读(38) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/ 阅读全文
posted @ 2021-10-08 22:10 w-j 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1.返回键实现对话框弹出是否退出应用程序 package com.example.helloandroid; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; imp 阅读全文
posted @ 2021-09-26 18:47 w-j 阅读(18) 评论(0) 推荐(0) 编辑
摘要: public class eee { int x; int y; public eee(int x0,int y0){ x=x0; y=y0; } public eee(){ } public String movePoint(int dx,int dy){ x+=dx; y+=dy; return 阅读全文
posted @ 2021-05-25 17:51 w-j 阅读(32) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class Text { public static void PX(){ Scanner input=new Scanner(System.in); int []a=new int[5]; int b; System.out.pri 阅读全文
posted @ 2021-05-12 18:53 w-j 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 第一题 public class 练习1 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int []a={10,20,30,40,50}; for( 阅读全文
posted @ 2021-04-19 23:18 w-j 阅读(28) 评论(0) 推荐(0) 编辑
摘要: public class Exe01 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int sum = 0; for (int i = 0; i < 阅读全文
posted @ 2021-04-13 17:09 w-j 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 第一题 public class Wang { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int i=1; int sum=0; while(i<= 阅读全文
posted @ 2021-04-07 15:44 w-j 阅读(48) 评论(0) 推荐(0) 编辑