随笔分类 - android
摘要:ListViewActivity 查看代码 package com.ltj.myapplication1.listview; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import andro
阅读全文
摘要:首先是xml文件中的样式 需求是点击“我再想想”,关闭dialog提示框 查看代码 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/and
阅读全文
摘要:实验名称 资源文件的使用 实验序号 实验一 姓 名 系院专业 软件工程 班 级 学 号 实验日期 2022/3/7 指导教师 一、实验目的和要求 1. 掌握资源文件的定义 2. 掌握资源文件的两种使用方法(XML和Java) 二、实验内容 给定App界面和要求,设计布局文件,灵活运用资源文件,实现不
阅读全文
摘要:控件的布局内容 线性布局 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?><GridLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" andro
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?><TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/ap
阅读全文