android.view.View.setBackgroundDrawable搞笑的废弃声明
来源:互联网 发布:黄金海岸打车软件 编辑:程序博客网 时间:2024/05/16 05:43
源码中是酱紫声明的
/** * @deprecated use {@link #setBackground(Drawable)} instead */ @Deprecated public void setBackgroundDrawable(Drawable background) {}
然后找到这个方法
/** * Set the background to a given Drawable, or remove the background. If the * background has padding, this View's padding is set to the background's * padding. However, when a background is removed, this View's padding isn't * touched. If setting the padding is desired, please use * {@link #setPadding(int, int, int, int)}. * * @param background The Drawable to use as the background, or null to remove the * background */ public void setBackground(Drawable background) { //noinspection deprecation setBackgroundDrawable(background); }
你确定这不是在逗我玩?
- android.view.View.setBackgroundDrawable搞笑的废弃声明
- android view 的setBackgroundDrawable(Drawable background)的API失效问题
- Android中使用setBackgroundDrawable错误提示:The method setBackgroundDrawable(Drawable) from the type View is
- setBackgroundDrawable提示:The method setBackgroundDrawable(Drawable) from the type View is deprecated
- android setBackgroundDrawable 的padding问题
- The method setBackgroundDrawable(Drawable) from the type View is deprecated
- Android自定义View研究:View的大小
- Android自定义View研究:View的大小
- Android自定义View研究:View的大小
- android自定义View---生成虚线的View
- android自定义View---生成虚线的View
- 【view】Android View.onMeasure方法的理解
- Android View.GONE View.INVISIBLE 的区别
- Android自定义View(一) View的测量
- Android自定义View 之 View的测量
- Android 自定义View之View的绘制
- Android 自定义View基础-View的测量
- Android 自定义View基础-View的绘制
- DOM SAX JAXP DOM4J JDOM xerces解析器
- WTL安装心得
- Machine Learning week 8 Dimensionality Reduction
- 黑马程序员-交通灯管理系统
- 一步步构建大型网站架构
- android.view.View.setBackgroundDrawable搞笑的废弃声明
- Oracle11gR2ForWin7旗舰版64位的安装步骤
- 大型网站架构演变和知识体系
- 各种二极管的作用以及用途
- OUC——1581(组合数学)
- dede调用栏目列表
- 融合存储-比如一体机比如刀片服务器
- ZOJ 1494 Climbing Worm
- centOS下用yum只下载rpm包而不安装