All Projects → siriscac → Rippleview

siriscac / Rippleview

View that imitates Ripple Effect on click which was introduced in Android L (for Android 2.3+)

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Rippleview

System Alert Window Example
Example project showing use of SYSTEM_ALERT_WINDOW permission on Android 23+, with back button interception.
Stars: ✭ 39 (-96.6%)
Mutual labels:  android-ui
Phonenumberverificationui Android
Check out the new style for mobile number verification 😉😉😊😊
Stars: ✭ 52 (-95.47%)
Mutual labels:  android-ui
Battery Meter View
🔋 Material design battery meter (i.e. level, state) view for Android
Stars: ✭ 57 (-95.03%)
Mutual labels:  android-ui
Sortabletableview
An Android library containing a simple TableView and an advanced SortableTableView providing a lot of customisation possibilities to fit all needs.
Stars: ✭ 1,019 (-11.16%)
Mutual labels:  android-ui
Colorpickerview
🎨 Android colorpicker for getting colors from any images by tapping on the desired color.
Stars: ✭ 1,042 (-9.15%)
Mutual labels:  android-ui
Testleavesloading
Android 自定义 View 之 LeavesLoading
Stars: ✭ 55 (-95.2%)
Mutual labels:  android-ui
Bluetooth State View
Material design animated Bluetooth state view for Android
Stars: ✭ 36 (-96.86%)
Mutual labels:  android-ui
Fitbutton
The button which can use with icon, text, divider, custom ripple effect, border, corner radius e.t.c.
Stars: ✭ 63 (-94.51%)
Mutual labels:  android-ui
Grocerystore With Server
Grocery Store with server integration
Stars: ✭ 51 (-95.55%)
Mutual labels:  android-ui
Android Dial Picker
A custom rotating dial like picker for android
Stars: ✭ 56 (-95.12%)
Mutual labels:  android-ui
Tagsedittext
Android TagsEditText View
Stars: ✭ 47 (-95.9%)
Mutual labels:  android-ui
Lovelydialog
This library is a set of simple wrapper classes that are aimed to help you easily create fancy material dialogs.
Stars: ✭ 1,043 (-9.07%)
Mutual labels:  android-ui
Paper Ripple
Material Design Ripple effect in pure JS & CSS.
Stars: ✭ 55 (-95.2%)
Mutual labels:  ripple
Dev tools
一些很实用工具或插件(开发或者日常使用)----慢慢更新ing
Stars: ✭ 41 (-96.43%)
Mutual labels:  android-ui
Kakao
Nice and simple DSL for Espresso in Kotlin
Stars: ✭ 1,109 (-3.31%)
Mutual labels:  android-ui
Buffertextinputlayout
A simple customised version of the TextInputLayout from the Android Design Support Library ⌨️
Stars: ✭ 991 (-13.6%)
Mutual labels:  android-ui
Cryptolights
Live visualisation of blockchain transactions for popular cryptocurrencies
Stars: ✭ 54 (-95.29%)
Mutual labels:  ripple
Bubbles
⚡️A library for adding messenger style floating bubbles to any android application 📲
Stars: ✭ 66 (-94.25%)
Mutual labels:  android-ui
Moviebookingui Android
This is a concept of fetching a user's cinema show details like venue, movie, date & showtime before allowing him to place a cinema F&B order.
Stars: ✭ 62 (-94.59%)
Mutual labels:  android-ui
Expandable Fab
A highly customizable 'speed dial' FloatingActionButton implementation.
Stars: ✭ 56 (-95.12%)
Mutual labels:  android-ui

Android Arsenal

RippleView

View that imitates Ripple Effect on click which was introduced in Android L.

Sample Screenshot

Usage

For a working implementation, Have a look at the Sample Project - RippleViewExample

  1. Include the library as local library project.

  2. Include the RippleView widget in your layout.

    <com.indris.material.RippleView
            android:id="@+id/btn"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            ripple:alphaFactor="0.7"
            ripple:rippleColor="#58FAAC" >
    </com.indris.material.RippleView>
    
  3. In your onCreate method refer to the View and add 'OnClickListener' for the same.

    mButton = (RippleView) findViewById(R.id.btn);
    mButton.setOnClickListener(new View.OnClickListener() {
    	@Override
    	public void onClick(View v) {
    		//your code
    	}
    });
    

Customization

There are three attributes which are applicable to RippleView.

  • rippleColor Color of the Ripple

  • alphaFactor Opacity of the Ripple

  • hover Hover effect on the button

  • You can also set these attributes from your java code by calling setRippleColor(rippleColor, alphaFactor) and setHover(enabled) respectively.

Compatibility

  • Android GingerBread 2.3+

Changelog

Current Version: 1.2

  • Added option to enable or disable Hover
  • Added GingerBread Support
  • Bug fixes

Version: 1.1

  • Improved Animation
  • Added Hover Effect (Thanks to YangHui)

Version: 1.0

  • Initial Build

Author

Credits

License

Copyright 2014 Muthuramakrishnan

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].