自定义博客皮肤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)
  • 收藏
  • 关注

转载 DataShow

主界面    xmlns:tools="http://schemas.android.com/tools"    android:id="@+id/activity_main"    android:layout_width="match_parent"    android:layout_height="match_parent"    android:padding

2017-06-16 11:25:04 876

转载 Android 内容提供者之读取联系人案例

ContentProvider是不同应用程序之间进行数据交换的标准API,以Uri形式对外提供数据,允许其他应用操作本应用数据。其他应用则使用ContentResolver,并根据ContentProvider提供的Uri操作指定数据布局文件    xmlns:app="http://schemas.android.com/apk/res-auto"    xmlns:to

2017-06-09 16:06:43 1701

转载 发送有序广播

1.布局界面    xmlns:tools="http://schemas.android.com/tools"    android:id="@+id/activity_main"    android:layout_width="match_parent"    android:layout_height="match_parent"    android:back

2017-06-02 11:22:22 192

转载 实现网络图片的加载

SmartImageView 是一个Android替代标准ImageView,可以将图像从url(网络地址)或用户的联系人图片中进行加载。通过将图像缓存在内存和磁盘中来使图片加载更快作为ImageView的替代可以从一个URL装载图像可以从手机的联系人通讯录加载图片布局界面    xmlns:tools="http://schemas.android.com/too

2017-06-01 20:21:36 584

转载 商品展示案例

总布局界面    xmlns:tools="http://schemas.android.com/tools"    android:id="@+id/activity_main"    android:layout_width="match_parent"    android:layout_height="match_parent"    android:orien

2017-05-19 10:15:00 214

转载 登录密码

activity_top 顶端布局    xmlns:tools="http://schemas.android.com/tools"    android:id="@+id/activity_main"    android:layout_width="match_parent"    android:layout_height="match_parent"   

2017-04-07 20:48:32 231

转载 Activity的四种启动模式

在实际开发中,会根据特定的需求为每个Activity指定恰当的启动模式。Activity的启动模式有四种:standard,singleTop,singleTask,singleInstance.在AndroidMainfest.xml中,通过标签的android:launchMode属性可以设置启动模式。第一种,standard模式standard是Activity默认的启动模式,在不指

2017-03-30 11:09:18 234

转载 装备选择

第一步,创建“装备选择”的工程activity_main.xml        android:layout_width="wrap_content"        android:layout_height="wrap_content"        android:id="@+id/pet_imgv"        android:layout_gravity="cen

2017-03-30 10:31:03 198

转载 Android UI

实现一个简单的手机信息展示界面:创建线性布局,然后在线性布局中创建相对布局,在相对布局下又添加相应的TextView,在Value中的style.xml下存放抽取出来的样式。而且在这个界面中我们要实现国际化,因此有相应的资源文件夹,分别命名为values-zh-rCN和values-en-rUS,并将values文件夹下的string.xml复制到这个文件夹下。    xmlns:to

2017-03-14 20:40:50 129

空空如也

空空如也

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

TA关注的人

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