- 博客(14)
- 资源 (2)
- 收藏
- 关注
原创 百度地图
1.布局xml version="1.0" encoding="utf-8"?>xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.
2016-05-29 14:52:33 313
原创 Fragment+ViewPager
1.Fragment主类package com.bwei.uu;import java.util.ArrayList;import java.util.List;import com.bwei.fragment.FragLeft;import com.bwei.fragment.Fragright1;import com.bwei.fragment.Fragrigh
2016-05-28 08:17:25 308
原创 Ion + HttpUtils 网络请求
public void getFriend(){ showProgressDialog(FriendCircleActivity.this); String ticket = PreferencesUtil.getPreferences(MakeFriend.TICKET_TOKEN,"",getApplicationContext()); Log.d("ticket
2016-05-25 21:42:36 498
原创 加载图片
1。xUtil.BitmapUtils bt = new BitmapUtils(context); bt.display(holder.iv, Environment.getExternalStorageDirectory()+list.get(position).imageurl);2.ImageLoader//初始化ImageLoader Im
2016-05-25 21:38:05 366
原创 GridView+下拉刷新+上拉加载
一、布局1.activity_main布局 android:id="@+id/refresh_view" android:layout_width="match_parent" android:layout_height="match_parent" > android:id="@+id/gv"
2016-05-21 08:49:43 10064 1
原创 设置圆形图片
1.圆形图片布局"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
2016-05-20 16:31:52 454
原创 Android Studio常用快捷键
Android Studio常用快捷键1. Ctrl+D: 集合了复制和粘贴两个操作,如果有选中的部分就复制选中的部分,并在选中部分的后面粘贴出来,如果没有选中的部分,就复制光标所在的行,并在此行的下面粘贴出来。2. Ctrl+空格: 输入代码时按此组合键会列出与之相匹配的类、方法名、成员变量等,起智能提示的作用。在编辑XML文件一样有用。3. Ctrl+向下箭头 或Ctrl+
2016-05-16 20:22:31 324
原创 下拉刷新+上拉加载+xml解析
一、布局1.activity_main布局 xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"
2016-05-13 20:49:15 789
原创 事件分发
1.MainActivity布局 xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" >
2016-05-12 21:22:08 322
原创 HttpClient+ViewPager自动轮播
1.MainActivity布局 xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" >
2016-05-12 09:30:09 349
原创 侧滑-SlidingMenu
1.activity_main布局 xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" to
2016-05-11 15:11:25 394
原创 数据库之-增删改查-sqlite-AlertDialog-ContextMenu
1.布局 xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" >
2016-05-10 19:13:12 377
原创 listview中-全选-单选-多选
1.布局 xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context="
2016-05-10 17:56:09 443
原创 自定义view+onTouch
自定义view布局 xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_verti
2016-05-09 11:48:59 1167
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人