All Projects → kobakei → CenteredDrawableButton

kobakei / CenteredDrawableButton

Licence: Apache-2.0 license
Android custom button with centered drawable

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to CenteredDrawableButton

Easybutton
Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.
Stars: ✭ 187 (+619.23%)
Mutual labels:  button
Pygame Menu
Menu for pygame. Simple, lightweight and easy to use
Stars: ✭ 244 (+838.46%)
Mutual labels:  button
unity-button-sounds-editor
Editor extension for Unity game engine. It helps to assign AudioClip to buttons and to play sounds by button clicks.
Stars: ✭ 65 (+150%)
Mutual labels:  button
Tristatetogglebutton
Customizable tri-state toggle button (with three states, three state toggle) for Android
Stars: ✭ 198 (+661.54%)
Mutual labels:  button
Cameravideobutton
Instagram like animated button for taking photo or recording video.
Stars: ✭ 223 (+757.69%)
Mutual labels:  button
Radiorealbutton
A custom radio button for Android API 12+
Stars: ✭ 250 (+861.54%)
Mutual labels:  button
Acebutton
An adjustable, compact, event-driven button library for Arduino that debounces and dispatches events to a user-defined event handler.
Stars: ✭ 180 (+592.31%)
Mutual labels:  button
react-native-touchable
React-Native button helper library
Stars: ✭ 46 (+76.92%)
Mutual labels:  button
Fannypack
[UNMAINTAINED] An accessible-focused, themeable, friendly React UI Kit.
Stars: ✭ 245 (+842.31%)
Mutual labels:  button
ShapeView
打造万能shape,再也不用写很多xml了,可以当做TextView,Button,EditText等多种控件,方便实用
Stars: ✭ 34 (+30.77%)
Mutual labels:  button
Heyui
🎉UI Toolkit for Web, Vue2.0 http://www.heyui.top
Stars: ✭ 2,373 (+9026.92%)
Mutual labels:  button
Customfloatingactionbutton
This view is for replacement of standard Floating Action Button from Google Support Library. It is easy to use, customizable and you can also add text to button
Stars: ✭ 222 (+753.85%)
Mutual labels:  button
Semantic Ui
Semantic is a UI component framework based around useful principles from natural language.
Stars: ✭ 49,729 (+191165.38%)
Mutual labels:  button
Llbootstrapbutton
Bootstrap 3.0扁平化风格按钮,自带图标,一句代码直接调用!!!
Stars: ✭ 189 (+626.92%)
Mutual labels:  button
vue-github-button
Unofficial github:button component for Vue.js
Stars: ✭ 24 (-7.69%)
Mutual labels:  button
Lgbutton
A fully customisable subclass of the native UIControl which allows you to create beautiful buttons without writing any line of code.
Stars: ✭ 2,216 (+8423.08%)
Mutual labels:  button
Separateshapesview
Simple custom ViewGroup with two shapes inside and simple scale animation
Stars: ✭ 250 (+861.54%)
Mutual labels:  button
Copy-button
copy textview into anywhere
Stars: ✭ 14 (-46.15%)
Mutual labels:  button
CameraButton
No description or website provided.
Stars: ✭ 31 (+19.23%)
Mutual labels:  button
vue-clap-button
👍 A Medium like clap button
Stars: ✭ 30 (+15.38%)
Mutual labels:  button

CenteredDrawableButton

Download JitPack Android Arsenal

Android custom button with centered drawable

Screenshot

Gradle

Add the following dependency to your app build.gradle.

dependencies {
    compile 'io.github.kobakei:centereddrawablebutton:x.y.z'
}

x,y,z is Download

JitPack.io is also available.

Usage

<io.github.kobakei.centereddrawablebutton.CenteredDrawableButton
        android:id="@+id/button"
        android:layout_width="match_parent"
        android:layout_height="48dp"
        android:background="@drawable/button_bg"
        app:drawableLeft="@drawable/foo"
        app:drawableRight="@drawable/foo"
        app:drawableTop="@drawable/foo"
        app:drawableBottom="@drawable/foo"
        app:drawablePadding="@dimen/drawable_padding"
        app:text="@string/foo"
        app:textColor="@color/white"
        app:textSize="@dimen/font_size"
        app:textStyle="bold|italic"/>

License

Copyright (c) 2016 Keisuke Kobayashi

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