自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 错误:Failed to resolve: com.android.support.constraint:constraint-layout:1.0.0-beta2

我遇到的是在github上拉取代码时报的错,已经解决了。看的是这篇博客:https://stackoverflow.com/questions/45960633/failed-to-resolve-com-android-support-constraintconstraint-layout1-1-0-beta1allprojects {repositories {jcenter()g...

2019-10-30 10:51:07 3336 2

原创 在Web Storm 中React Native连接模拟器连接不上时怎么办?

一、React Native在运行时发生连接不上模拟器。1.首先使用adb命令查看 adb devices 会出现这么几种情况。命令查看 adb devices 显示下面(如果没有此命令)1.会出现(没有进程adb.exe):List of devices attacheddaemon not running; starting now at tcp:5037daemon sta...

2019-10-17 19:58:08 557

原创 在android studio运行打印不出okhttp接口数据解决办法

在android studio运行打印不出okhttp接口数据解决办法----有可能----是这样的你的编码错乱了,可以与别人的对照一下。1.打开Setting->Editor->File Encoding 进行编码设置看一下你的与别人的是否不一样 修改一下就行,我的是这样改好的,不妨一试。...

2019-07-17 09:24:09 637

原创 PopupWindow相机相册

public class MainActivity extends AppCompatActivity {private ImageView img;@Overrideprotected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(...

2019-05-06 12:53:43 171

转载 XBanner无限轮播

https://blog.csdn.net/Mydtudysy/article/details/78837082

2019-03-18 16:46:00 118

原创 垂直与抛物线

绘制public class CustomView extends View {public CustomView(Context context, AttributeSet attrs, int defStyleAttr) {super(context, attrs, defStyleAttr);}public CustomView(Context context, Attribute...

2019-02-25 19:23:57 442

原创 自定义控件展示

依赖implementation ‘com.android.support:recyclerview-v7:28.+’implementation ‘com.squareup.okio:okio:1.5.0’implementation ‘com.squareup.okhttp3:okhttp:3.2.0’implementation ‘com.squareup.okhttp3:loggi...

2019-02-25 19:16:43 118

原创 登录

依赖implementation ‘com.android.support:recyclerview-v7:28.+’implementation ‘com.squareup.okio:okio:1.5.0’implementation ‘com.squareup.okhttp3:okhttp:3.2.0’implementation ‘com.squareup.okhttp3:loggi...

2019-02-25 18:55:40 195

原创 引导页

布局<RelativeLayout… xmlns:android=“http://schemas.android.com/apk/res/android”xmlns:tools=“http://schemas.android.com/tools”android:layout_width=“match_parent”android:layout_height=“match_parent...

2019-01-20 09:19:38 109

原创 倒计时与动画

布局文件<RelativeLayout… xmlns:android=“http://schemas.android.com/apk/res/android”xmlns:tools=“http://schemas.android.com/tools”android:layout_width=“match_parent”android:layout_height=“match_pare...

2019-01-20 09:00:25 123

原创 动态频道管理

频道管理1. 在app的gradle里面 implementation 'com.github.andyoom:draggrid:v1.0.1'2.在项目的build.gradle中添加 maven {url "https://jitpack.io"}3.权限<!-- 在SDCard中创建与删除文件权限 --><uses-permission android:...

2019-01-19 16:23:32 119

原创 静态频道管理

频道管理1. 在app的gradle里面 implementation 'com.github.andyoom:draggrid:v1.0.1'2.在项目的build.gradle中添加 maven {url "https://jitpack.io"}3.权限<!-- 在SDCard中创建与删除文件权限 --><uses-permission android:...

2019-01-19 16:01:08 134

原创 原生解析要点

这只是一些要点解析@Overrideprotected void onPostExecute(String s) {super.onPostExecute(s);Log.i(“xxx”,s); try { //获取s的时候看json解析最外面是{}还是[],{}的话就是JSONObject(s),[]的话就是JSONArray(s); ...

2019-01-19 15:41:29 125

原创 数据库和图片缓存,PullToRefreshListView上拉加载下拉刷新

//前往别忘记加载PullToRefreshListView文件夹//--------------------------------------------------------------------------------------------------网络连接状态管理器package com.xx.cache.utils;import android.content.Cont...

2019-01-19 15:33:06 143 1

原创 侧向滑动

//布局<?xml version="1.0" encoding="utf-8"?><android.support.v4.widget.DrawerLayout xmlns:android=“http://schemas.android.com/apk/res/android”xmlns:app=“http://schemas.android.com/apk

2019-01-13 17:24:58 228

原创 头部横向标签

//所需要的注解implementation ‘com.android.support:design:28.0.0-rc01’implementation project(’:xListView’)implementation ‘com.google.code.gson:gson:2.8.5’implementation’com.nostra13.universalimageloader:...

2019-01-13 17:12:33 159

原创 XListView和多条目应用

XListview和多条目应用//主页面//不要忘记权限////意图implementation project(’:xListView’)implementation ‘com.google.code.gson:gson:2.8.5’implementation’com.nostra13.universalimageloader:universal-image-loader:1.9...

2019-01-06 18:03:11 905 1

空空如也

空空如也

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

TA关注的人

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