在android中如果首先在xml中静态添加了一个控件,剩下的控件都是通过addView动态添加,那么如果有控件覆盖的情况(比如说使用FrameLayout或者RelativeLayout),先加入得控件就会被后加入得控件覆盖。
在View类中有这样一个方法 bringToFront ,它得注释如下:
/**
* Change the view's z order in ...
分类:
移动开发 时间:
2014-10-24 13:05:01
阅读次数:
266
1 //int a = -2; 2 //this.BringToFront(); 3 //for (int i = 0; i = -radius; j--)53 {54 ...
分类:
其他好文 时间:
2014-07-22 22:55:54
阅读次数:
185