Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mmm-rain
AndroidUtilCode
提交
60b00b61
A
AndroidUtilCode
项目概览
mmm-rain
/
AndroidUtilCode
与 Fork 源项目一致
从无法访问的项目Fork
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
AndroidUtilCode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
60b00b61
编写于
10月 27, 2017
作者:
B
Blankj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: see 10/27 log
上级
cb23f4ee
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
58 addition
and
41 deletion
+58
-41
README-CN.md
README-CN.md
+2
-2
README.md
README.md
+2
-2
app/src/main/res/drawable/ic_menu_blog.xml
app/src/main/res/drawable/ic_menu_blog.xml
+3
-3
app/src/main/res/drawable/ic_menu_github.xml
app/src/main/res/drawable/ic_menu_github.xml
+27
-14
build.gradle
build.gradle
+9
-7
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
+1
-1
update_log.md
update_log.md
+1
-0
utilcode/src/main/java/com/blankj/utilcode/util/BarUtils.java
...code/src/main/java/com/blankj/utilcode/util/BarUtils.java
+1
-0
utilcode/src/main/java/com/blankj/utilcode/util/LogUtils.java
...code/src/main/java/com/blankj/utilcode/util/LogUtils.java
+12
-12
未找到文件。
README-CN.md
浏览文件 @
60b00b61
...
...
@@ -612,7 +612,7 @@ getComments : 获取压缩文件中的注释链表
Gradle:
```
groovy
compile
'com.blankj:utilcode:1.9.
5
'
compile
'com.blankj:utilcode:1.9.
6
'
```
...
...
@@ -635,7 +635,7 @@ Utils.init(application);
[
logo
]:
https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
[
aucsvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.9.
5
-brightgreen.svg
[
aucsvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.9.
6
-brightgreen.svg
[
auc
]:
https://github.com/Blankj/AndroidUtilCode
[
apisvg
]:
https://img.shields.io/badge/API-14+-brightgreen.svg
...
...
README.md
浏览文件 @
60b00b61
...
...
@@ -612,7 +612,7 @@ getComments
Gradle:
```
groovy
compile
'com.blankj:utilcode:1.9.
5
'
compile
'com.blankj:utilcode:1.9.
6
'
```
...
...
@@ -635,7 +635,7 @@ Utils.init(application);
[
logo
]:
https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
[
aucsvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.9.
5
-brightgreen.svg
[
aucsvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.9.
6
-brightgreen.svg
[
auc
]:
https://github.com/Blankj/AndroidUtilCode
[
apisvg
]:
https://img.shields.io/badge/API-14+-brightgreen.svg
...
...
app/src/main/res/drawable/ic_menu_blog.xml
浏览文件 @
60b00b61
...
...
@@ -6,7 +6,7 @@
android:viewportWidth=
"508.52"
>
<path
android:fillColor=
"
@color/light_black
"
android:fillColor=
"
#191919
"
android:pathData=
"M254.26,0C113.845,0,0,113.845,0,254.26s113.845,254.26,254.26,254.26
s254.26-113.845,254.26-254.26C508.52,113.813,394.675,0,254.26,0z
M412.727,310.451c0,56.509-45.989,102.308-102.943,102.308
...
...
@@ -14,11 +14,11 @@ H198.831c-56.891,0-103.102-45.735-103.102-102.308V198.132c0.032-56.541,46.18-102
c56.954,0,102.53,42.525,102.53,99.066c0.731,10.584,10.298,19.8,21.167,19.8h17.766c11.378,0,20.5,11.95,20.5,23.233
L412.727,310.451L412.727,310.451z"
/>
<path
android:fillColor=
"
@color/light_black
"
android:fillColor=
"
#191919
"
android:pathData=
"M313.693,293.893H194.827c-10.901,0-19.8,8.899-19.8,19.801c0,10.87,8.931,19.8,19.8,19.8
h118.866c10.901,0,19.8-8.931,19.8-19.8C333.494,302.792,324.594,293.893,313.693,293.893z"
/>
<path
android:fillColor=
"
@color/light_black
"
android:fillColor=
"
#191919
"
android:pathData=
"M194.827,214.627h59.433c10.901,0,19.8-8.931,19.8-19.8c0-10.901-8.931-19.8-19.8-19.8h-59.433
c-10.901,0-19.8,8.931-19.8,19.8C174.994,205.728,183.925,214.627,194.827,214.627z"
/>
</vector>
\ No newline at end of file
app/src/main/res/drawable/ic_menu_github.xml
浏览文件 @
60b00b61
...
...
@@ -2,18 +2,31 @@
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportHeight=
"
16
"
android:viewportWidth=
"
16
"
>
android:viewportHeight=
"
438.549
"
android:viewportWidth=
"
438.549
"
>
<path
android:fillColor=
"@color/light_black"
android:pathData=
"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59 .4 .07 .55 -.17 .55 -.38
0-.19-.01-.82-.01-1.49-2.01 .37
-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53 .63 -.01
1.08 .58 1.23 .82 .72 1.21 1.87 .87 2.33 .66 .07-.52 .28 -.87 .51
-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87 .31 -1.59 .82 -2.15-.08-.2-.36-1.02 .08
-2.12 0 0 .67-.21 2.2 .82 .64-.18 1.32-.27 2-.27 .68 0 1.36 .09 2 .27 1.53-1.04
2.2-.82 2.2-.82 .44 1.1 .16 1.92 .08 2.12 .51 .56 .82 1.27 .82 2.15 0 3.07-1.87
3.75-3.65 3.95 .29 .25 .54 .73 .54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21 .15 .46
.55 .38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"
/>
</vector>
\ No newline at end of file
<group>
<path
android:fillColor=
"#191919"
android:pathData=
"M409.132,114.573c-19.608-33.596-46.205-60.194-79.798-79.8C295.736,15.166,259.057,5.365,219.271,5.365
c-39.781,0-76.472,9.804-110.063,29.408c-33.596,19.605-60.192,46.204-79.8,79.8C9.803,148.168,0,184.854,0,224.63
c0,47.78,13.94,90.745,41.827,128.906c27.884,38.164,63.906,64.572,108.063,79.227c5.14,0.954,8.945,0.283,11.419-1.996
c2.475-2.282,3.711-5.14,3.711-8.562c0-0.571-0.049-5.708-0.144-15.417c-0.098-9.709-0.144-18.179-0.144-25.406l-6.567,1.136
c-4.187,0.767-9.469,1.092-15.846,1c-6.374-0.089-12.991-0.757-19.842-1.999c-6.854-1.231-13.229-4.086-19.13-8.559
c-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559
c-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-0.951-2.568-2.098-3.711-3.429c-1.142-1.331-1.997-2.663-2.568-3.997
c-0.572-1.335-0.098-2.43,1.427-3.289c1.525-0.859,4.281-1.276,8.28-1.276l5.708,0.853c3.807,0.763,8.516,3.042,14.133,6.851
c5.614,3.806,10.229,8.754,13.846,14.842c4.38,7.806,9.657,13.754,15.846,17.847c6.184,4.093,12.419,6.136,18.699,6.136
c6.28,0,11.704-0.476,16.274-1.423c4.565-0.952,8.848-2.383,12.847-4.285c1.713-12.758,6.377-22.559,13.988-29.41
c-10.848-1.14-20.601-2.857-29.264-5.14c-8.658-2.286-17.605-5.996-26.835-11.14c-9.235-5.137-16.896-11.516-22.985-19.126
c-6.09-7.614-11.088-17.61-14.987-29.979c-3.901-12.374-5.852-26.648-5.852-42.826c0-23.035,7.52-42.637,22.557-58.817
c-7.044-17.318-6.379-36.732,1.997-58.24c5.52-1.715,13.706-0.428,24.554,3.853c10.85,4.283,18.794,7.952,23.84,10.994
c5.046,3.041,9.089,5.618,12.135,7.708c17.705-4.947,35.976-7.421,54.818-7.421s37.117,2.474,54.823,7.421l10.849-6.849
c7.419-4.57,16.18-8.758,26.262-12.565c10.088-3.805,17.802-4.853,23.134-3.138c8.562,21.509,9.325,40.922,2.279,58.24
c15.036,16.18,22.559,35.787,22.559,58.817c0,16.178-1.958,30.497-5.853,42.966c-3.9,12.471-8.941,22.457-15.125,29.979
c-6.191,7.521-13.901,13.85-23.131,18.986c-9.232,5.14-18.182,8.85-26.84,11.136c-8.662,2.286-18.415,4.004-29.263,5.146
c9.894,8.562,14.842,22.077,14.842,40.539v60.237c0,3.422,1.19,6.279,3.572,8.562c2.379,2.279,6.136,2.95,11.276,1.995
c44.163-14.653,80.185-41.062,108.068-79.226c27.88-38.161,41.825-81.126,41.825-128.906
C438.536,184.851,428.728,148.168,409.132,114.573z"
/>
</group>
</vector>
build.gradle
浏览文件 @
60b00b61
...
...
@@ -2,11 +2,12 @@
buildscript
{
repositories
{
jcenter
()
google
()
}
dependencies
{
classpath
'com.android.tools.build:gradle:
2.3.3
'
classpath
'com.android.tools.build:gradle:
3.0.0
'
classpath
'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath
'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.
6
'
classpath
'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.
7.3
'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
...
...
@@ -15,6 +16,7 @@ buildscript {
allprojects
{
repositories
{
jcenter
()
google
()
}
}
...
...
@@ -24,16 +26,16 @@ task clean(type: Delete) {
ext
{
// Sdk and tools
compileSdkVersion
=
2
5
buildToolsVersion
=
'2
5
.0.2'
compileSdkVersion
=
2
6
buildToolsVersion
=
'2
6
.0.2'
minSdkVersion
=
14
targetSdkVersion
=
22
versionCode
=
100900
5
00
versionName
=
'1.9.
5
'
versionCode
=
100900
6
00
versionName
=
'1.9.
6
'
// App dependencies
supportVersion
=
'2
5.3.1
'
supportVersion
=
'2
6.0.2
'
junitVersion
=
'4.12'
robolectricVersion
=
'3.1.2'
...
...
gradle/wrapper/gradle-wrapper.properties
浏览文件 @
60b00b61
...
...
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
3.3
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
4.1
-all.zip
update_log.md
浏览文件 @
60b00b61
*
17/10/27 修复LogUtils在kotlin中使用的问题
*
17/10/25 修复LogUtils边框,修复getBitmap从流获取
*
17/09/30 完善FragmentUtils,发布1.9.2
*
17/09/29 完善FragmentUtils和isInstallApp
...
...
utilcode/src/main/java/com/blankj/utilcode/util/BarUtils.java
浏览文件 @
60b00b61
...
...
@@ -6,6 +6,7 @@ import android.content.res.Resources;
import
android.graphics.Color
;
import
android.os.Build
;
import
android.support.annotation.ColorInt
;
import
android.support.annotation.ColorRes
;
import
android.support.annotation.IntRange
;
import
android.support.annotation.NonNull
;
import
android.support.v4.widget.DrawerLayout
;
...
...
utilcode/src/main/java/com/blankj/utilcode/util/LogUtils.java
浏览文件 @
60b00b61
...
...
@@ -100,48 +100,48 @@ public final class LogUtils {
log
(
V
,
sGlobalTag
,
contents
);
}
public
static
void
v
(
final
String
tag
,
final
Object
...
contents
)
{
log
(
V
,
tag
,
contents
);
public
static
void
v
(
final
String
tag
,
final
Object
content
,
final
Object
...
contents
)
{
log
(
V
,
tag
,
content
,
content
s
);
}
public
static
void
d
(
final
Object
contents
)
{
log
(
D
,
sGlobalTag
,
contents
);
}
public
static
void
d
(
final
String
tag
,
final
Object
...
contents
)
{
log
(
D
,
tag
,
contents
);
public
static
void
d
(
final
String
tag
,
final
Object
content
,
final
Object
...
contents
)
{
log
(
D
,
tag
,
content
,
content
s
);
}
public
static
void
i
(
final
Object
contents
)
{
log
(
I
,
sGlobalTag
,
contents
);
}
public
static
void
i
(
final
String
tag
,
final
Object
...
contents
)
{
log
(
I
,
tag
,
contents
);
public
static
void
i
(
final
String
tag
,
final
Object
content
,
final
Object
...
contents
)
{
log
(
I
,
tag
,
content
,
content
s
);
}
public
static
void
w
(
final
Object
contents
)
{
log
(
W
,
sGlobalTag
,
contents
);
}
public
static
void
w
(
final
String
tag
,
final
Object
...
contents
)
{
log
(
W
,
tag
,
contents
);
public
static
void
w
(
final
String
tag
,
final
Object
content
,
final
Object
...
contents
)
{
log
(
W
,
tag
,
content
,
content
s
);
}
public
static
void
e
(
final
Object
contents
)
{
log
(
E
,
sGlobalTag
,
contents
);
}
public
static
void
e
(
final
String
tag
,
final
Object
...
contents
)
{
log
(
E
,
tag
,
contents
);
public
static
void
e
(
final
String
tag
,
final
Object
content
,
final
Object
...
contents
)
{
log
(
E
,
tag
,
content
,
content
s
);
}
public
static
void
a
(
final
Object
contents
)
{
log
(
A
,
sGlobalTag
,
contents
);
}
public
static
void
a
(
final
String
tag
,
final
Object
...
contents
)
{
log
(
A
,
tag
,
contents
);
public
static
void
a
(
final
String
tag
,
final
Object
content
,
final
Object
...
contents
)
{
log
(
A
,
tag
,
content
,
content
s
);
}
public
static
void
file
(
final
Object
contents
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录