自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 2791 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 289

原创 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 244

原创 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 1075

原创 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 638

原创 Android UI 开发入门—线性布局

线性布局(LinearLayout)  线性布局是Android中较为常用的布局方式,它使用标签。线性布局主要有两种形式,一种是水平线性布局,一种是垂直线性布局,如图所示:1.在Androidstudio开发环境中建立UI界面切换至Android视图依次打开app-res-layout,在layout中选择新建XML文件(linearlayout_demo1.xml)编

2017-03-05 22:17:21 3615

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除