zoukankan      html  css  js  c++  java
  • android 按钮特效 波纹 Android button effects ripple

    android 按钮特效 波纹

    Android button effects ripple

    作者:韩梦飞沙

    Author:han_meng_fei_sha

    邮箱:313134555@qq.com

    E-mail: 313134555 @qq.com

    这里写图片描述

    在drawable下 新建一个xml文件,比如ripple.xml

    Create a new XML file, such as ripple. XML, under drawable

    内容如下:

    The contents are as follows:

     ====================

    <?xml version="1.0" encoding="utf-8"?>
    <ripple xmlns:android="http://schemas.android.com/apk/res/android"
    android:color="#FF9e9e9e">
    <item android:drawable="@drawable/psb"/>
    </ripple>
    ====================

    其中
     <item android:drawable="@drawable/psb"/>
    是自己定制的波纹效果的背景图片. 可有可无。

    Among them

    The < item android: drawable = "@ drawable/PSB" / >

    A background image of your own custom ripple effects.

    按钮背景改成这个。就行了。

    I'm going to change the button to this.Will do.

  • 相关阅读:
    PHP install perl module
    PHP 静态页
    PHP对类的操作
    PHP Mysql操作。
    2020.7.16
    2020.7.19
    2020.7.14
    2020.7.12
    2020.7.17
    2020.7.10
  • 原文地址:https://www.cnblogs.com/yue31313/p/7288492.html
Copyright © 2011-2022 走看看