2016-03-23 14 views

Antwort

0

Android L's Ripple Effect - Touch Feedback for Buttons - Using XML

Sie etwas tun können:

<Button 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:background="@drawable/ripple" 

/> 

<ripple xmlns:android="http://schemas.android.com/apk/res/android" 
        android:color="?android:colorControlHighlight"> 
    <item android:id="@android:id/mask"> 
     <shape android:shape="oval"> 
      <solid android:color="?android:colorAccent" /> 
     </shape> 
    </item> 

+0

Hallo Dank für Ihre Antwort danken ... ist das, was ich will, dass sich allmählich ausbreitende Wirkung kontinuierlich ... unendliche Kräuselungeffekt für diese Schaltfläche. – Arjun090

Verwandte Themen