- 博客(6)
- 资源 (53)
- 收藏
- 关注
转载 透明度百分比 对应16进制颜色值
for (double i = 1; i >= 0; i -= 0.01) { i = Math.round(i * 100) / 100.0d; int alpha = (int) Math.round(i * 255); String hex = Integer.toHexString(alpha).toUpperCase(); if (hex.length()
2016-12-16 09:35:37 3246
原创 actionBar toolbar setHomeButtonEnabled setHomeButtonEnabled setDisplayHomeAsUpEnabled
actionBar.setHomeButtonEnabled(true); //设置返回键可用 actionBar.setDisplayShowHomeEnabled(true);//使左上角图标是否显示 // 使左上角图标是否显示,如果设成false,则没有程序图标,仅仅就个标题,否则,显示应用程序图标,对应id为android.R.id.home,对应ActionBar.DISPLAY_S
2016-12-12 10:13:21 653
原创 setIconifiedByDefault() setIconified() onActionViewExpanded()对比
ps:不考虑光标的状态1、不设置: 初始状态 点击放大镜 2、 mSearchView.setIconifiedByDefault(false);//The default value is true ,设置为false直接展开显示 左侧有放大镜 右侧无叉叉3、 mSearchView.setIconified(false);//true value will collapse th
2016-12-12 00:50:59 3004
原创 actionViewClass使用 menuItem.getActionView() MenuItemCompat.getActionView() 返回null
因为使用了 menu.xml 中使用了android:actionViewClass改成app:actionViewClass
2016-12-11 23:57:29 2634
原创 Android WebView In NestedScrollView 加载腾讯新闻页面 点击弹出层 bug 小记
目的是: CoordinatorLayou+AppBarLayout+NestedScrollView webview 显示html的 Toolbar可以滑动时候隐藏和唤出。。。链接素材:webview要加载的是腾讯触屏版新闻链接 http://xw.qq.com/ent/20161208035863/ENT2016120803586308页面html本身效果:(新闻详情页显示图片,...
2016-12-09 00:09:48 2278
原创 Android 歌词Lrc显示 自定义View
package com.louisgeek.louisappbase.custom;import android.animation.ValueAnimator;import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.
2016-12-02 22:37:28 3235
macOS Unlocker for VMware v3.0.3.7z
2020-08-03
罗技Logitech无线键盘鼠标重连工具2019
2019-03-14
Android 通用标题栏 简单封装实现
2016-03-20
Android二级分类列表ListView GirdView in ViewPager
2016-03-18
可展开列表ExpandableListView嵌套GirdView demo
2016-03-17
可扩展listview demo BaseExpandableListAdapter
2016-03-16
ExpandableListView—SimpleExpandableListAdpater
2016-03-16
ViewPager、Fragment、RadioButton实现顶部切换Tab页面
2016-03-10
应用程序之间能够彼此通信AidlDemo
2016-02-26
ListViewRefreshAndListViewLoad自定义实现下拉刷新和滑动加载
2016-02-23
Android Mvp模式 Demo
2016-02-16
Android多线程断点续传下载
2016-02-14
Vysor-win32-ia32-1.8.3 独立版
2018-05-07
SqlDbx_5.11_Unicode_Zh-Cn 中文破解最新版
2018-05-07
Win10可用的Microsoft SQL Server 2008 Native Client
2016-05-16
SlidingMenu demo android studio
2016-04-05
fragment之间用eventbus进行传值调用方法
2016-04-03
Otto和EventBus使用demo
2016-04-03
接口关联方式 Fragment之间通过Activity相互传值和调用方法
2016-03-31
Collapsing ToolbarLayout、AppBarLayout和NestedScrollView组合滑动折叠或拉伸Toolbar的demo
2016-03-29
Toolbar、TabLayout、AppBarLayout和RecyclerView组合可以滑动收起或显示Toolbar的demo
2016-03-29
CoordinatorLayout 、FloatingAct、Snackbar、DrawerLayout和NavigationView结合demo
2016-03-29
Android TabLayout、ViewPager实现顶部和底部Tab导航
2016-03-23
PagerTitleStrip和PagerTabStrip使用demo
2016-03-22
ListView、SwipeRefreshLayout实现下拉刷新,上拉加载、滑动加载(自动加载)和点击加载
2016-03-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人