PullToRefreshScrollView+Banner+banner.Listview

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

2017-10-25 08:38:57

阅读数:92

评论数:0

Banner无限轮播

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

2017-10-24 13:33:39

阅读数:176

评论数:0

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

主页面       xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_heigh...

2017-10-22 19:45:36

阅读数:105

评论数:0

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

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

2017-10-22 18:08:11

阅读数:84

评论数:0

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

public class NetWorkUtil { private int responseCode; /** * 获取图片并返回; * @param urlString * @return */ public Bitmap get...

2017-10-20 11:29:10

阅读数:212

评论数:0

Fragment互相转换+textView变换

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

2017-10-18 14:49:12

阅读数:129

评论数:0

侧滑,头条,XlistView

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

2017-10-15 20:13:02

阅读数:157

评论数:0

TabLayout 资讯首页滑动

效果图:1文件:导包:compile 'com.android.support:design:26+' activity_main.xmlRelativeLayout布局 &amp;lt;android.support.design.widget.TabLayout and...

2017-10-13 16:17:42

阅读数:144

评论数:0

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

Activaty_main.xml <ListView android:id="@+id/main_listview" android:layout_width="match_parent" andro...

2017-10-12 18:42:24

阅读数:184

评论数:0

ImagerLolder MyApplication.java

import android.app.Application; import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiscCache; import com.nostra13.universalimageloade...

2017-10-12 09:09:33

阅读数:120

评论数:0

HttpClient+HttpURLConnection02

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

2017-10-08 19:26:58

阅读数:82

评论数:0

HttpClient+HttpURLConnection

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

2017-10-08 18:29:58

阅读数:71

评论数:0

Android studio如何添加HttClient

Android studio如何添加HttClient 在build.gradle文件中添加 useLibrary 'org.apache.http.legacy' ,如下图示: 添加完之后,点击右上角按钮,进行编译 使用HttpClient访问 https://...

2017-10-08 16:12:51

阅读数:163

评论数:0

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