- 博客(6)
- 收藏
- 关注
原创 手机登录页面(记住密码)
LoginActivity代码如下:package cn.edu.bzu.a01;import android.content.Context;import android.content.Intent;import android.content.SharedPreferences;import android.support.v7.app.AppCompatActivity;
2017-04-12 11:33:33
2829
1
原创 购买装备
activity_main.xml 布局文件中的代码为:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout
2017-03-30 08:59:28
309
原创 Activity四种启动模式
实验步骤:第一步:实验前准备,相关配置文件以及Activity的建立(1)AndroidMainfest.xml配置文件其代码:xml version="1.0" encoding="utf-8"?>manifest xmlns:android="http://schemas.android.com/apk/res/android" package="cn.edu.bzu.int
2017-03-28 21:36:59
257
原创 Android UI 手机信息页面(作业)
1. 设计思路(实现原理) 1)将准备好的八个图标复制到res/drawable文件夹下 2)创建一个垂直的线性布局,并在线性布局中创建4个相对布局 3)在相对布局中添加相应的TextView 4)在values文件下的style.xml文件中存放抽取出来的样式 5)创建values-zh-rCN、values-en-rUS文件夹,并在文
2017-03-15 11:18:48
1110
原创 Android UI 开发入门—线性布局练习
xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" androi
2017-03-05 22:19:42
673
原创 Android UI 开发入门—线性布局
线性布局(LinearLayout) 线性布局是Android中较为常用的布局方式,它使用标签。线性布局主要有两种形式,一种是水平线性布局,一种是垂直线性布局,如图所示:1.在Androidstudio开发环境中建立UI界面切换至Android视图依次打开app-res-layout,在layout中选择新建XML文件(linearlayout_demo1.xml)编
2017-03-05 22:17:21
3688
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人