自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 横向滑动Tablayout

横向滑动只需要在布局用Tablyout控件在此之前在build.gradle里面添加compile 'com.android.support:design:25.0.1'下面是布局文件android.support.design.widget.TabLayout android:id="@+id/tb" android:layout_width="m

2017-01-03 11:37:00 445

原创 侧滑DrawerLayout

其实侧滑只需要改下布局控件xml version="1.0" encoding="utf-8"?>android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tool

2017-01-03 10:40:12 176

原创 关于RecyclerView刷新

用SwipeRefreshLayout嵌套Recycler下面是布局文件          android:id="@+id/swipeRefreshLayout"        android:layout_width="match_parent"        android:layout_height="wrap_content">

2016-12-31 11:40:24 1345

原创 ViewPage+Fragmnet

实现标签滑动首先是布局文件        android:id="@+id/ho"        android:layout_width="match_parent"        android:layout_height="wrap_content">                    android:layout_width="wrap_conten

2016-12-26 20:58:54 224

原创 全选反选

//Bean需要自己写public class MainActivity extends AppCompatActivity implements View.OnClickListener {    private Button quanxuan;    private Button fanxuan;    private Button quanbuxuan;    p

2016-12-24 11:45:46 194

原创 Recycler实现瀑布流

//首先是布局android.support.v7.widget.RecyclerView android:id="@+id/recy" android:layout_width="match_parent" android:layout_height="match_parent">android.support.v7.widget.RecyclerView>/

2016-12-21 09:56:08 331

原创 百度地图定位

compile files('libs/baidumapapi_base_v4_0_0.jar')compile files('libs/baidumapapi_cloud_v4_0_0.jar')compile files('libs/baidumapapi_map_v4_0_0.jar')compile files('libs/baidumapapi_radar_v4_0_0.jar')

2016-12-12 08:03:24 277

空空如也

空空如也

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

TA关注的人

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