![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shape,android渐变,控件加圆角
HellowAD
这个作者很懒,什么都没留下…
展开
-
android 中关于shape的使用
shape.xml文件放置在 drawable目录下xml控件配置属性android:background="@drawable/shape.xml"shape中涉及到的标签corners ----------圆角gradient ----------渐变padding ----------内容离边界距离size ------------大小 solid ------原创 2017-04-27 17:19:01 · 279 阅读 · 0 评论 -
Android中selector和shape的结合使用
Android中的Selector(背景选择器)主要是用来改变一个按钮控件的背景,在Android UI设计中经常会遇到,比如我们在点击Button时需要有些效果的变化,这时候就要用到和。和对美化控件有很大的作用。接下来我要以四个在Android实际开发中可能会用的比较的情况来探索selector和shape的结合使用。(1)带圆角,白色背景,彩色边框的矩形首先来定转载 2017-11-07 10:57:52 · 5764 阅读 · 0 评论 -
Android开发欢迎页点击跳过倒计时进入主页
没点击跳过自然进入主页,点击跳过之后立即进入主页2.主要java代码package com.cwj.testimport android.content.Intent;import android.os.Handler;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import...转载 2018-09-20 13:45:02 · 2325 阅读 · 1 评论