自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 浏览器加载网络图片

一.activity_main.xml布局文件LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layo

2017-06-16 19:11:28 665

原创 案例——新闻客户端

1.创建程序(activity_mian.xml)LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" andro

2017-06-16 09:54:47 474

原创 有序广播

一·编写用户交互界面<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_heig

2017-06-15 20:43:17 375

原创 商品展示

一:activity_main.xml创建一个Containers下的ListView条目二:创建布局文件item.xmlxml version="1.0" encoding="utf-8"?>xmlns:android="http://schemas.android.com/apk/res/android"android:orientation="hori

2017-06-15 13:09:17 380

原创 SharedPrefences

一.存储方式SharedPreferences 中存储的数据是以键值对的形式保存在XML文件中。二.获取实例对象的方法1.通过context.getSharedPreferences(Stringname,int mode)获取2.Activity中的getPreferences()方法3.PrefencesManager类中的getDefauHShar

2017-04-10 22:56:26 564

原创 Activity四种启动模式的特点

一.Activity四种启动模式的特点1.standard模式 Activity默认的启动模式,依次入栈出栈,满足"先进后出"的原则。这种模式下,可以有多个相同的实例,也允许多个相同Activity叠加2.singleTop模式 当启动的Activity已经位于栈顶,则直接使用它不创建新的实例。如果没有则创建新的实例。 3.singleTask模式

2017-03-31 18:38:27 3534

原创 小宝宝打装备

1.创建对应布局activity_main.xmlAndroid="http://schemas.android.com/apk/res/android"   xmlns:tools="http://schemas.android.com/tools"   android:layout_width="match_parent"   android:layout_height="

2017-03-29 21:37:24 523

原创 手机信息页面设置

创建一个线性布局将图片导入drawable文件中创建drawable-en-rUS,drawable-zh-rCN,并创建values-zh-rCN、values-en-rUS文件夹并在values-zh-rCN,values-en-rUS编写代码修改成国际化在线性布局中创建

2017-03-12 14:59:20 495

原创 Android的安装

Android的安装

2017-03-12 13:27:00 321

空空如也

空空如也

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

TA关注的人

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