by brucetoo

brucetoo / ComboView

A view of clicking effect by combo action

205 Stars 24 Forks Last release: Not found 18 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Android Arsenal


A view of clicking effect by combo action

UI Effect


Final Effect


How To Use

  ComboView.Params params = ComboView.Params.create()

             .cornerRadius(dimen(R.dimen.cb_dimen_25), dimen(R.dimen.cb_dimen_52))// Following three to***** values must be the same can morph to circle
             .width(dimen(R.dimen.cb_dimen_70), dimen(R.dimen.cb_dimen_52))
             .height(dimen(R.dimen.cb_dimen_38), dimen(R.dimen.cb_dimen_52))
             .text("赠送", "连击")

             //Option -- and values below is default
             .color(color(R.color.cb_color_blue), color(R.color.cb_color_blue))
             .colorPressed(color(R.color.cb_color_blue_dark), color(R.color.cb_color_blue_dark))
             .strokeWidth(dimen(R.dimen.cb_dimen_1), dimen(R.dimen.cb_dimen_1))
             .strokeColor(color(R.color.cb_color_blue), color(R.color.cb_color_blue))
             .comboClickListener(new ComboView.ComboClickListener() {
                 public void onComboClick() {

                 public void onNormalClick() {


Integrate With Special UI

    <com.bruce.library.comboview android:layout_width="220dp" android:layout_height="220dp" android:id="@+id/combo_view" android:layout_alignparentright="true" android:layout_alignparentbottom="true" android:layout_marginright="-65dp" android:layout_marginbottom="-80dp"></com.bruce.library.comboview>



 compile 'com.brucetoo.comboview:comboview:1.0.0'


repositories {
    maven {
        url ""

dependencies { compile 'com.github.brucetoo:ComboView:{latest-commit-tag}' }

Thanks dmytrodanylyk and his android-morphing-button


Copyright 2016 Bruce too

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

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.

See LICENSE file for details.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.