- 博客(23)
- 收藏
- 关注
原创 快速解析代码
但我们拿到一个接口 要怎么快速解析代码呢 这里给大家建议用快捷键 alt+s比如:这样一个接口我们把这个接口放在浏览器内 全选 然后复制接着 我们在代码中使用快捷键接着就会自动为你解析好 简单又方便...
2019-08-20 10:41:01
1500
1
原创 显示版本号
首先我们想把版本号显示在一个位置上的时候我们可以给一个TextView 给好id接下来我们在相应的Activity里面写入他的逻辑这里获取id 显示版本号在我们刚刚写好的TextView上这里是关于版本号获取的逻辑这样一来 我们的版本号就会显示在相应的位置上...
2019-08-20 10:08:39
280
原创 Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in lib
今天导入上拉刷新 下拉加载更多 导入包发生了这个错误这里改为16就可以编译了
2019-03-08 09:53:22
878
原创 摇一摇
<?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="
2018-05-20 19:50:49
216
原创 地图
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
254
原创 tm
javaCompileOptions { annotationProcessorOptions { includeCompileClasspath true }}android.enableAapt2=falsepackage com.example.six;import android.support.design.widget.TabLayout;i...
2018-04-06 15:08:03
614
原创 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
318
原创 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
266
原创 优快云
<?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="
2018-03-06 09:07:17
352
原创 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="
2018-03-06 08:26:57
218
原创 音乐
apply plugin: 'com.android.application'android { compileSdkVersion 26 defaultConfig { applicationId "com.example.music" minSdkVersion 15 targetSdkVersion 22 ...
2018-02-23 08:22:38
266
原创 视频
<?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
717
原创 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
559
原创 记住密码
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
257
原创 倒计时
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
243
原创 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
301
原创 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
543
原创 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
349
原创 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
305
原创 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
231
原创 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
240
原创 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
258
原创 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
266
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人