自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 TabLayout

public class MainActivity extends AppCompatActivity { TabLayout tabLayout; ViewPager viewPager;private String [] tili={"标题一","标题2","标题3"}; @Override protected void onCreate(Bundle sa...

2018-07-10 15:34:16 78

原创 自定义View画圆跳转

public class CountDownView extends View{ Paint paint; int time; float radius; int textColor; int bgColor; Handler handler; int cx,cy; public CountDownView(Context contex...

2018-07-08 21:23:33 155

原创 Horiz

<RelativeLayout    xmlns:android="http://schemas.android.com/apk/res/android"    xmlns:app="http://schemas.android.com/apk/res-auto"    xmlns:tools="http://schemas.android.com/tools" android:layout...

2018-07-02 07:46:00 183

原创 UserBean

解析类

2018-07-01 21:00:11 1308

原创 Mybase

public class MyBase extends BaseAdapter{ private Context context; private List<UsersBean.DataBean.ArticleListBean> list;private String s;private final int ONE_TIME=0; public MyBas...

2018-07-01 20:59:31 778

原创 HttpApplications

public class HttpApplications extends Application{ private Context context; @Override public void onCreate() { super.onCreate(); context =this; initImageLouder();...

2018-07-01 20:58:11 95

原创 Frament11

public class Fragment1 extends Fragment{ private XBanner xBanner; private List<String> images = new ArrayList<>(); private HorizontalScrollView hs; private ViewPager viewPa...

2018-07-01 20:56:58 99

原创 HttpUtils

public class HttpUtils { private static HttpUtils httpUtils; private HttpListener httpListener; public static HttpUtils getInstance(){ if (httpUtils == null){ httpUtils...

2018-07-01 20:53:57 75

原创 Xbanner

compile 'com.xhb:xbanner:1.2.2'compile 'com.nineoldandroids:library:2.4.0'compile 'com.github.bumptech.glide:glide:3.7.0'compile 'jp.wasabeef:glide-transformations:1.0.6'<uses-permission andro...

2018-07-01 20:52:58 83 1

原创 Frament1

布局<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:lay...

2018-07-01 19:50:56 80

原创 频道管理代码

布局代码<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android...

2018-06-27 17:12:22 227

原创 Banner

private HorizontalScrollView hs; private LinearLayout linearLayout; private ViewPager viewPager; private String [] titles={"张新","张新","张新","张新","张新","张新","张新","张新"

2018-06-25 08:19:42 251

原创 布局

<HorizontalScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/hs" android:scrollbars="none" > <LinearLayout ...

2018-06-25 08:17:08 108

原创 Horizontalscrollview

private HorizontalScrollView hs;    private LinearLayout linearLayout;    private ViewPager viewPager;    private String[] titles = {"头条", "娱乐", "科技", "信息", "八卦", "北京", "上海", "天津&am

2018-06-25 08:13:42 104

原创 适配器

public class MyBases extends BaseAdapter {    private Context context;    private List<PersonsBean.DataBean> list;    public MyBases(Context context, List<PersonsBean.DataBean> list) {    ...

2018-06-11 08:19:47 481

原创 web

public class MyWeb {    private Context context;    private boolean isweb;    public MyWeb(Context context){        this.context = context;    }    public boolean isWeb() {        ConnectivityManager ...

2018-06-11 08:19:03 277

原创 Farment2

public class Fragment_Tow extends Fragment {    private ListView listView;    private String path = "http://120.27.23.105/product/getProductCatagory?cid=1";    @Nullable    @Override    public View on...

2018-06-11 08:17:14 128

原创 Farment1

public class Fragment_One extends Fragment {    private ListView listView;    private String path = "https://www.zhaoapi.cn/quarter/getJokes?source=android&appVersion=101";    @SuppressLint("Handl...

2018-06-11 08:16:32 130

原创 Farment

list = new ArrayList<>();        list.add(new Fragment_One());        list.add(new Fragment_Tow());        pager.setAdapter(new FragmentPagerAdapter(getSupportFragmentManager()) {            @Ov...

2018-06-11 08:15:13 273

原创 非空1

var app=angular.module("myapp",[])            app.controller("myctrl",function($scope){                $scope.zhang=[{                    id:123,                    name:"张新"                },{      

2018-01-19 10:09:20 129

原创 非空

var app=angular.module("myapp",[]); app.controller("mycon",function($scope){ $scope.shuzu=[ { name:"张飞", pass:1234567, age:19, sex:"男", state:focus }, { name:"关羽"

2018-01-19 08:49:07 143

原创 JSON

var app=angular.module("myapp",[]) app.controller("myctrl",function($scope,$http){ $scope.jia=false; $http.get("http://result.eolinker.com/TucCTQueffdc1d1aaa3be05d8c62e9bb5d3e8b495f97cca?uri=hy

2018-01-19 08:43:51 161

原创 angularJS增删改查

tr:nth-child(even){background-color: darkgray;}tr:nth-child(odd){background-color: bisque;}var app=angular.module("myapp",[]);app.controller("mycon",function($scope){$scope.isSho

2018-01-16 09:10:54 133

空空如也

空空如也

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

TA关注的人

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