自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (2)
  • 问答 (2)
  • 收藏
  • 关注

原创 PullToRefreshScrollView+Banner+banner.Listview

activity_main.xml Banner:http://blog.csdn.net/qq_37454196/article/details/78328594 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.and

2017-10-25 08:38:57 225

原创 Banner无限轮播

在build.gradle中➕compile 'com.youth.banner:banner:1.4.9'权限:联网权限,ImagerLolder包布局文件 &lt;com.youth.banner.Banner android:id="@+id/banner" android:layout_width="match_parent" andro...

2017-10-24 13:33:39 302

原创 DrawerLayout侧滑+ViewPager(n个网址)+XLIstView(左右滑动有数据)

主页面       xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     xmlns:app="http://schemas.android.com/apk/res-aut

2017-10-22 19:45:36 205

原创 ViewPager无线轮播(图片为n个网址)

activity_main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:la

2017-10-22 18:08:11 226

原创 NetWorkUtil,解析Json,获取图片(封装类)

public class NetWorkUtil { private int responseCode; /** * 获取图片并返回; * @param urlString * @return */ public Bitmap getNetImage(String urlString){ try {

2017-10-20 11:29:10 309

原创 Fragment互相转换+textView变换

public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layo

2017-10-18 14:49:12 477

原创 侧滑,头条,XlistView

有XListView效果 //权限 //ImagetLolder            name=“” <android.support.v4.widget.DrawerLayout > <LinearLayout android:layout_width="match_parent" android:layout_height=

2017-10-15 20:13:02 256

原创 TabLayout 资讯首页滑动

效果图:1文件:导包:compile 'com.android.support:design:26+' activity_main.xmlRelativeLayout布局 &lt;android.support.design.widget.TabLayout android:layout_width="match_parent" android:layout_hei...

2017-10-13 16:17:42 262

原创 新ListView多条目加载 4个(重要)

Activaty_main.xml <ListView android:id="@+id/main_listview" android:layout_width="match_parent" android:layout_height="match_parent"/> 4个布局文件     private int TYTLE_ONLY =

2017-10-12 18:42:24 443

原创 ImagerLolder MyApplication.java

import android.app.Application; import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiscCache; import com.nostra13.universalimageloader.cache.disc.naming.Md5FileNameGenerator; import co

2017-10-12 09:09:33 211

原创 HttpClient+HttpURLConnection02

MainActivity.java package animtest.com.example.e531.week1_09month; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log;

2017-10-08 19:26:58 169

原创 HttpClient+HttpURLConnection

Button btnClient = (Button) findViewById(R.id.btn_client); Button btnUrl = (Button) findViewById(R.id.btn_url); ListView listView = (ListView) findViewById(R.id.lv); btnClient

2017-10-08 18:29:58 152

原创 Android studio如何添加HttClient

Android studio如何添加HttClient 在build.gradle文件中添加 useLibrary 'org.apache.http.legacy' ,如下图示: 添加完之后,点击右上角按钮,进行编译 使用HttpClient访问 https://请求的协议,需要添加以下代码,在创建HttpClient之前 SSLSocketFactory.ge

2017-10-08 16:12:51 393

淘宝热点(循环垂直滚动)

https://blog.csdn.net/qq_37454196/article/details/79726875

2018-03-29

今日头条初步代码

今日头条初步代码,今日头条初步代码,今日头条初步代码,今日头条初步代码,今日头条初步代码,今日头条初步代码,

2017-09-18

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

TA关注的人

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