自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

p__Henry的博客

游戏开发

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

原创 快速解析代码

但我们拿到一个接口 要怎么快速解析代码呢 这里给大家建议用快捷键 alt+s比如:这样一个接口我们把这个接口放在浏览器内 全选 然后复制接着 我们在代码中使用快捷键接着就会自动为你解析好 简单又方便...

2019-08-20 10:41:01 1360 1

原创 显示版本号

首先我们想把版本号显示在一个位置上的时候我们可以给一个TextView 给好id接下来我们在相应的Activity里面写入他的逻辑这里获取id 显示版本号在我们刚刚写好的TextView上这里是关于版本号获取的逻辑这样一来 我们的版本号就会显示在相应的位置上...

2019-08-20 10:08:39 225

原创 Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in lib

今天导入上拉刷新 下拉加载更多 导入包发生了这个错误这里改为16就可以编译了

2019-03-08 09:53:22 788

原创 摇一摇

<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools=&quot

2018-05-20 19:50:49 151

原创 地图

package com.example.map;import com.baidu.mapapi.map.MapView;import com.baidu.mapapi.SDKInitializer;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;public class MainActi...

2018-05-20 19:41:52 192

原创 tm

javaCompileOptions { annotationProcessorOptions { includeCompileClasspath true }}android.enableAapt2=falsepackage com.example.six;import android.support.design.widget.TabLayout;i...

2018-04-06 15:08:03 541

原创 phone

package com.example.dome2;import android.app.FragmentManager;import android.app.FragmentTransaction;import android.support.v4.widget.DrawerLayout;import android.support.v7.app.AppCompatActivity;...

2018-04-06 14:15:16 276

原创 Tablout

compile 'com.android.support:recyclerview-v7:26.1.0' compile 'com.android.support:design:26.1.0' compile 'com.squareup.retrofit2:retrofit:2.1.0' compile 'com.squareup.okhttp3:logging-int...

2018-03-30 19:43:12 221

原创 CSDN

<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools=&quot

2018-03-06 09:07:17 141

原创 xml

<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools=&quot

2018-03-06 08:26:57 171

原创 音乐

apply plugin: 'com.android.application'android { compileSdkVersion 26 defaultConfig { applicationId "com.example.music" minSdkVersion 15 targetSdkVersion 22 ...

2018-02-23 08:22:38 228

原创 视频

<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="h

2018-02-23 08:15:21 680

原创 BasicDrawerActivity

compile 'com.android.support:recyclerview-v7:26.1.0'package com.example.zk1.demo1;import android.support.v4.widget.DrawerLayout;import android.support.v7.app.AppCompatActivity;import android

2018-01-28 23:31:42 489

原创 记住密码

xml version="1.0" encoding="utf-8"?>xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:orien

2018-01-18 20:16:53 200

原创 倒计时

xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main"    android:layout_width="match_parent" android:layout_height="match_parent"    android:orientation="vertical"    tools:co

2018-01-18 19:55:01 210

原创 seriver2

xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main"    android:layout_width="match_parent" android:layout_height="match_parent"    android:orientation="vertical"    tools:co

2018-01-18 19:53:19 252

原创 seriver

xmlns:tools="http://schemas.android.com/tools"    android:id="@+id/activity_main"    android:layout_width="match_parent"    android:layout_height="match_parent"    android:orientation="vertical"    to

2018-01-18 19:47:16 486

原创 listview

package com.example.mylistview;import android.app.DatePickerDialog;import android.app.ProgressDialog;import android.app.TimePickerDialog;import android.content.DialogInterface;import android.os.

2018-01-17 19:27:46 305

原创 taobao

xml version="1.0" encoding="utf-8"?>xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.day14"> 闪光灯权限 --> android:name="android.permission.FLASHLIGHT" />

2018-01-14 19:25:47 259

原创 music

xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" a

2017-12-21 09:26:41 188

原创 FrameLayout

xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent">

2017-12-21 09:19:05 197

原创 pop

xml version="1.0" encoding="utf-8"?>xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="m

2017-12-21 09:17:02 212

原创 SQLite

xml version="1.0" encoding="utf-8"?>xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/activity_main" android:orientation="vertical" android:background="@mipmap/z

2017-12-21 09:11:33 236

空空如也

空空如也

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

TA关注的人

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