- 博客(3)
- 收藏
- 关注
原创 ToolBar显示到状态栏、不全
ToolBar显示到状态栏到状态栏去了,使用SystemBarTintManager修改状态栏颜色后,Toolbar显示不全,将状态栏颜色修改为#00000000透明后,效果图如下: 解决方法: 在Toolbar布局中加入 android:fitsSystemWindows="true" 完整代码: xml version="1.0" encoding="utf-
2016-02-17 09:44:04
4543
原创 NavigationIcon设置点击监听
/** * 设置NavigationIcon图标点击监听方法有两种 * 1.setSupportActionBar(toolbar); * toolbar.setNavigationOnClickListener(this); * 方法1需要注意的是必须放在setSupportActionBar方法之后。 * *2.在onOptionsItemSelected方法中判断 * if(i
2016-02-16 11:38:45
3439
1
转载 may be using a version of Gradle that does not contain the method.
转载自:http://www.bubuko.com/infodetail-650124.html The project ‘HackerTool’ may be using a version of Gradle that does not contain the method.Open Gradle wrapper fileThe build file may be missing a G
2016-02-16 10:16:35
8458
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人