public void drawRoundRect (RectF rect, float rx, float ry, Paint paint)
Draw the specified round-rect using the specified paint. The roundrect will be filled or framed based on the Style in the paint...
分类:
其他好文 时间:
2015-03-19 20:26:06
阅读次数:
165
问题描述 使用html5编写页面在移动app中嵌套,总会涉及到按钮的使用,在android手机浏览器中显示正常,但在ios safari浏览器中会看到按钮显示为圆角样式,设置border-radius:0也不好使,其实添加css “-webkit-appearance”就能解决问题。出处 :htt....
分类:
移动开发 时间:
2015-03-18 12:03:56
阅读次数:
128
2015.3.17//button除了alloc init方法创建以外,系统封装了类方法,在以前非常实用,不过在ios7中这种方法的实用性有些下降了。(因为取消了圆角风格)+ (id)buttonWithType:(UIButtonType)buttonType;typedef NS_ENUM(NS...
分类:
其他好文 时间:
2015-03-17 23:22:44
阅读次数:
121
Android中要实现如下图的效果:
这个要在真机中才能看出效果!!
switch_button_left_checked.xml
<stroke
...
分类:
移动开发 时间:
2015-03-17 14:18:17
阅读次数:
175
效果图:
参看以下代码:
public class MainActivity extends Activity {
private ImageView imageView1;
private ImageView imageView2;
Bitmap mBitmap;
@Override
protected void onCreate(B...
分类:
移动开发 时间:
2015-03-16 23:13:08
阅读次数:
253
.img-rounded:添加border-radius:6px来获得图片圆角。.img-circle:添加border-radius:500px来让整个图片变成圆形。.img-thumbnail:添加一些内边距(padding)和一个灰色的边框。响应式图像: 图片 .img-responsive....
分类:
其他好文 时间:
2015-03-16 23:05:24
阅读次数:
235
闲来无事,为了巩固自己对qt的掌握程度,就突发奇想做了一个课程表软件。
此软件扩展性能良好,本人在以后会添加一些更加实用和具体的功能。
这个软件是连接数据库的。所以,当需要更新课程时,不用修改程序,只需换数据库就可以。
进入正题:
1.下面为启动画面,为了突出课程表主题,特意为程序启动加了一个屏风,当然,这个模块很好的就实现喽,本课程表为江西师大科学技术学院
12...
分类:
其他好文 时间:
2015-03-16 16:26:18
阅读次数:
150
public
class
CircleImageView extends
ImageView {
private
static
final
ScaleType SCALE_TYPE = ScaleType.CENTER_CROP;
private
static
final
Bitmap.Config BIT...
分类:
移动开发 时间:
2015-03-15 10:55:45
阅读次数:
306
1. 设置UITextView框为圆角
_textView.layer.cornerRadius =
6;
_textView.layer.masksToBounds =
YES;...
分类:
其他好文 时间:
2015-03-14 15:29:47
阅读次数:
158
特点:1、圆角边框 border-radius2、文字有背景 text-shadow3、按钮有阴影 box-shadow4、文字有向上的阴影 text-shadow5、按钮背景色有个从上往下的渐变效果 linear-gradient6、点击后明显有个下按效果 aaa 有渐变还用 back...
分类:
Web程序 时间:
2015-03-13 20:22:14
阅读次数:
257