![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
drawable
杨筱毅
本博客中绝大部分内容为解决项目中遇到的一些问题的方案,可能是从各种途径中获取到的,留个备份让别人(以后的自己也是别人)遇到相同问题时能够快速的解决。。。
展开
-
Android 动态设置TextView drawableLeft的方式
对于TextView或者EditText动态设置drawableLeft,drawableRight,drawableTop,drawableBottom,drawableStart,drawableEnd的方法总结Android中提供了许多动态设置的方法 但是用中容易造成的问题是,我们往往只调用了如上的一些方法,但并没有将Drawable的Bounds设置为特定的数据,导致这些图片无法显示,转载 2015-06-11 13:44:19 · 4242 阅读 · 0 评论 -
android源码中使用getDirtyBounds方法的类
RippleDrawable/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L原创 2016-07-19 00:52:28 · 1537 阅读 · 0 评论