05 2018 档案

摘要:添加依赖compile 'com.airbnb.android:lottie:2.2.0' 进入下载Demo 将项目中的示例中的assets文件夹拷贝到自己新建的项目 https://github.com/airbnb/lottie-android 阅读全文
posted @ 2018-05-11 20:57 Ars灬木子 阅读(246) 评论(0) 推荐(0)
摘要:Intent i = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("tel:9510300000"));startActivity(i); 阅读全文
posted @ 2018-05-10 21:53 Ars灬木子 阅读(168) 评论(0) 推荐(0)
摘要:<?xml version="1.0" encoding="utf-8"?><bwie.com.ganhuo.ResideLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schem 阅读全文
posted @ 2018-05-08 10:14 Ars灬木子 阅读(171) 评论(0) 推荐(0)
摘要:ActivityCompat.requestPermissions(MainActivity.this, new String[]{ Manifest.permission.CAMERA, Manifest.permission.READ_PHONE_STATE, Manifest.permissi 阅读全文
posted @ 2018-05-07 19:47 Ars灬木子 阅读(138) 评论(0) 推荐(0)
摘要:// 系统状态栏透明if (Build.VERSION.SDK_INT >=21){ View decorView = getWindow().getDecorView(); int option = View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View 阅读全文
posted @ 2018-05-07 19:18 Ars灬木子 阅读(247) 评论(0) 推荐(0)
摘要:导入libiary 阅读全文
posted @ 2018-05-07 17:15 Ars灬木子 阅读(556) 评论(0) 推荐(0)
摘要:Intent intent = new Intent(Intent.ACTION_INSERT);intent.setType("vnd.android.cursor.dir/person");intent.setType("vnd.android.cursor.dir/contact");inte 阅读全文
posted @ 2018-05-07 16:02 Ars灬木子 阅读(218) 评论(0) 推荐(0)
摘要:添加权限 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="htt 阅读全文
posted @ 2018-05-07 15:47 Ars灬木子 阅读(334) 评论(0) 推荐(0)
摘要:import android.content.Intent;import android.net.Uri;import android.os.Bundle;import android.provider.MediaStore;import android.support.v7.app.AppComp 阅读全文
posted @ 2018-05-07 15:37 Ars灬木子 阅读(300) 评论(0) 推荐(0)
摘要:String uri = "android.resource://" + getActivity().getPackageName() + "/" + R.raw.xiaohuang; //设置视频路径 videoView.setVideoURI(Uri.parse(uri));// videoVi 阅读全文
posted @ 2018-05-03 19:50 Ars灬木子 阅读(233) 评论(0) 推荐(0)
摘要:private static void initOkHttpClient() { if (okHttpClient == null) { synchronized (RetrofitHelper1.class) { if (okHttpClient == null) { HttpLoggingInt 阅读全文
posted @ 2018-05-02 20:02 Ars灬木子 阅读(139) 评论(0) 推荐(0)
摘要:package bwie.com.jindongdemo.adapter.fragment02adapter;import android.content.Context;import android.support.v7.widget.GridLayoutManager;import androi 阅读全文
posted @ 2018-05-02 19:51 Ars灬木子 阅读(274) 评论(0) 推荐(0)