android:background 设置背景色/背景图片。可以通过以下两种方法设置背景为透明:”@android:color/transparent”和”@null”。注意TextView默认是透明的,不用写此属性,但是Buttom/ImageButton/ImageView想透明的话就得写这个属...
分类:
移动开发 时间:
2015-06-06 18:11:28
阅读次数:
180
项目需要,参考了一下网上的资料,写了一个shader,给按钮置灰。
shader具体实现如下:
Shader "Transparent Colored Gray"
{
Properties
{
_MainTex ("Base (RGB), Alpha (A)", 2D) = "white" {}
}
SubShader
{
LOD 200
...
分类:
编程语言 时间:
2015-06-04 15:44:39
阅读次数:
558
/*author:CHdate:2015theme:oracle TDE test*/一透明加密(TDE, Transparent Data Encryption)参考:http://www.oracle.com/technetwork/cn/tutorials/tde-096772-zhs.htm...
分类:
数据库 时间:
2015-06-03 09:37:44
阅读次数:
201
方式一:直接透明隐藏
.file_button_container,.file_button_container input {background: transparent url(./img/BT5AB.png) left top no-repeat;height: 47px;width: 263px;}
.file_button_contain...
分类:
Web程序 时间:
2015-06-02 22:02:24
阅读次数:
341
在ListView中设置Selector为null会报空指针?mListView.setSelector(null);//空指针试试下面这种:mListView.setSelector(new ColorDrawable(Color.TRANSPARENT));如何让ListView初始化的时候就选...
分类:
其他好文 时间:
2015-06-02 15:01:26
阅读次数:
200
IntroductionConfiguring HugePagesForce Oracle to use HugePages (USE_LARGE_PAGES)Disabling Transparent HugePages (RHEL6/OL6)Configuring 1G Hugepagesize...
分类:
数据库 时间:
2015-05-30 19:34:44
阅读次数:
160
Click Jacking: a set of UI Redressing. Make the iframe transparent, the user cannot know what he is clicking. If he happens to click on a button, this...
分类:
移动开发 时间:
2015-05-30 12:01:25
阅读次数:
177
Shader "Custom/LogoShader" { Properties { _MainTex ("Texture", 2D) = "white" {} } SubShader { Tags {"Queue"="Transparent" "Igno...
分类:
其他好文 时间:
2015-05-29 17:49:03
阅读次数:
165
Drawable的设置参数为int 取值:0~255,View的设置参数为float 取值:0~1通过Drawable对透明度的设置://Activity的onCreate()中,setContentView()后,添加如下代码:int color = getResources().getColor...
分类:
移动开发 时间:
2015-05-15 19:39:02
阅读次数:
159
CSS 三角形绘制方法,这里面的transparent比较重要,有和没有影响很大; 原理:这个div是由4个三角形组成,每个三角对应一个border,隐藏其它3个border,就可以得到一个三角形。 复制代码 代码如下: #triangle-up { width: 0; height: 0; bor...
分类:
Web程序 时间:
2015-05-13 21:28:26
阅读次数:
129