All Projects → Ekalips → FancyButtonProj

Ekalips / FancyButtonProj

Licence: other
Juste a funcy button with progress bar

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to FancyButtonProj

Night-Mode-Button
Easy to use night mode button with cool animation
Stars: ✭ 74 (+174.07%)
Mutual labels:  button, button-animation
liquid button
Liquify your buttons, web demo at website
Stars: ✭ 18 (-33.33%)
Mutual labels:  button, button-animation
TDButton
TDButton 带有动画效果、支持各种对齐方式的按钮
Stars: ✭ 12 (-55.56%)
Mutual labels:  button, button-animation
Semantic Ui
Semantic is a UI component framework based around useful principles from natural language.
Stars: ✭ 49,729 (+184081.48%)
Mutual labels:  button
ShapeView
打造万能shape,再也不用写很多xml了,可以当做TextView,Button,EditText等多种控件,方便实用
Stars: ✭ 34 (+25.93%)
Mutual labels:  button
obvi
A Polymer 3+ webcomponent / button for doing speech recognition
Stars: ✭ 54 (+100%)
Mutual labels:  button
aria-switch-control
ARIA Switch control component
Stars: ✭ 38 (+40.74%)
Mutual labels:  button
Separateshapesview
Simple custom ViewGroup with two shapes inside and simple scale animation
Stars: ✭ 250 (+825.93%)
Mutual labels:  button
smart-webcomponents-community
Material & Bootstrap Web Components built with Smart
Stars: ✭ 30 (+11.11%)
Mutual labels:  button
Copy-button
copy textview into anywhere
Stars: ✭ 14 (-48.15%)
Mutual labels:  button
react-native-touchable
React-Native button helper library
Stars: ✭ 46 (+70.37%)
Mutual labels:  button
RNSlidingButton
React Native Button component which support Slide event to perform action.
Stars: ✭ 19 (-29.63%)
Mutual labels:  button-animation
captouch
👇 Add capacitive touch buttons to any FPGA!
Stars: ✭ 96 (+255.56%)
Mutual labels:  button
vue-clap-button
👍 A Medium like clap button
Stars: ✭ 30 (+11.11%)
Mutual labels:  button
vue-burger-button
🍔 vue-burger-button is a functional component, which is faster than a regular component, and is pretty small (JS min+gzip is lower than 700b and CSS min+gzip is lower than 400b).
Stars: ✭ 41 (+51.85%)
Mutual labels:  button
Radiorealbutton
A custom radio button for Android API 12+
Stars: ✭ 250 (+825.93%)
Mutual labels:  button
CircleProgressButton
circle progress button
Stars: ✭ 29 (+7.41%)
Mutual labels:  progress-button
CameraButton
No description or website provided.
Stars: ✭ 31 (+14.81%)
Mutual labels:  button
vue-github-button
Unofficial github:button component for Vue.js
Stars: ✭ 24 (-11.11%)
Mutual labels:  button
CenteredDrawableButton
Android custom button with centered drawable
Stars: ✭ 26 (-3.7%)
Mutual labels:  button

Download

FancyButtonProj

Juste a funcy button with progress bar

Showcase

List of attributes:

  1. app:f_btnStyle with values "stroke" , "fill", "stroke_fill". [default - stroke]

Use this for defining style of your button

  1. app:f_text [default - ""]

  2. app:f_textColor [default - black]

  3. app:f_fillColor [default - transperent]

Use this for changing fill color of button (for "fill" and "stroke_fill" styles)

  1. app:f_strokeColor [default - black]

Use this for changing stroke color of button (for "fill" and "stroke_fill" styles)

  1. app:f_progressColor [default - black]

Use this for changing color of progress bar (for "fill" and "stroke_fill" styles)

  1. app:f_hideFillAfterCollapse [default - false]

Use this for determing if button will stay on screen after collapsing (for "fill" and "stroke_fill", looks like little circle inside of progress bar)

  1. app:f_strokeWidth [default - 4]

Determins stroke width (for "stroke" and "stroke_fill")

  1. app:f_capsText [default - true]

If true will make all text uppercase

Example of usage:

xmlns:app="http://schemas.android.com/apk/res-auto"

<com.ekalips.fancybuttonproj.FancyButton
    android:id="@+id/btn1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:f_btnStyle="stroke_fill"
    app:f_fillColor="@android:color/holo_blue_bright"
    app:f_hideFillAfterCollapse="false"
    app:f_progressColor="@android:color/holo_green_light"
    app:f_strokeColor="@android:color/holo_red_light"
    app:f_text="Button"
    app:f_textColor="#000"
    app:f_textSize="22sp" />
    
    
    FancyButton button1 = (FancyButton) findViewById(R.id.btn1);

    View.OnClickListener listener = new View.OnClickListener() {
        @Override
        public void onClick(View view) {
            if (view instanceof  FancyButton)
            {
                if (((FancyButton)view).isExpanded())
                    ((FancyButton)view).collapse();
                else
                    ((FancyButton)view).expand();
            }

        }
    };
    button1.setOnClickListener(listener);

Adding to project:

Maven

    <dependency>
      <groupId>com.ekalips.android</groupId>
      <artifactId>fancyprogressbutton</artifactId>
      <version>1.2.1</version>
      <type>pom</type>
    </dependency>

Gradle

    implementation 'com.ekalips.android:fancyprogressbutton:1.2.1'

Ivy

    <dependency org='com.ekalips.android' name='fancyprogressbutton' rev='1.2.1'>
    <artifact name='fancyprogressbutton' ext='pom' />
    </dependency>
Copyright 2017 Ekalips

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].