view
杨筱毅
本博客中绝大部分内容为解决项目中遇到的一些问题的方案,可能是从各种途径中获取到的,留个备份让别人(以后的自己也是别人)遇到相同问题时能够快速的解决。。。
展开
-
Android实现透明的颜色效果
android Button或者ImageButton背景透明状态设置 设置Button或ImageButton的背景为透明或者半透明 半透明< Button android:background="#e0000000" ... /> 透明< Button android:background="#00000000" ... /> 颜色和不透明度 (alpha) 值以十六进制表示法表示。任何转载 2015-04-23 09:02:40 · 5548 阅读 · 0 评论 -
How to use isInEditMode() to see layout with custom View in the editor
Problem: I must edit a software that have a custom view, when I try to edit layout xml, Eclipse says me: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse But I have no原创 2015-05-06 10:57:43 · 905 阅读 · 0 评论