All Projects → zagum → Android Expandicon

zagum / Android Expandicon

Licence: apache-2.0
Nice and simple customizable implementation of Google style up/down expand arrow.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Expandicon

Togglebuttons
Android toggle buttons that adhere to the Material Design documentation.
Stars: ✭ 88 (-89.9%)
Mutual labels:  material, ui-components
Material
A lightweight Material Design library for Angular based on Google's Material Components for the Web.
Stars: ✭ 143 (-83.58%)
Mutual labels:  material, ui-components
Android Art
🎄 Android™ 设计相关的在线工具: 图标制作、配色方案、尺寸修改、截图加壳等,持续更新...
Stars: ✭ 95 (-89.09%)
Mutual labels:  material, ui-components
Abexpandableview
Expandable, collapsible, filterable and single/multi selectable table view.
Stars: ✭ 138 (-84.16%)
Mutual labels:  ui-components, expandable
Material Bread
Cross Platform React Native Material Design Components
Stars: ✭ 287 (-67.05%)
Mutual labels:  material, ui-components
React Floating Button Menu
A customizable floating action button menu that follows material design
Stars: ✭ 27 (-96.9%)
Mutual labels:  material, ui-components
Smart Webcomponents
Web Components & Custom Elements for Professional Web Applications
Stars: ✭ 110 (-87.37%)
Mutual labels:  material, ui-components
Vuetify
🐉 Material Component Framework for Vue
Stars: ✭ 33,085 (+3698.51%)
Mutual labels:  material, ui-components
Material Backdrop
A simple solution for implementing Backdrop pattern for Android
Stars: ✭ 221 (-74.63%)
Mutual labels:  material, ui-components
Primereact
The Most Complete React UI Component Library
Stars: ✭ 2,393 (+174.74%)
Mutual labels:  material, ui-components
Sexytooltip
The tooltip that has all the right moves
Stars: ✭ 125 (-85.65%)
Mutual labels:  ui-components, arrow
Materialscrollbar
An Android library that brings the Material Design 5.1 sidebar to pre-5.1 devices.
Stars: ✭ 761 (-12.63%)
Mutual labels:  material, ui-components
Smartmaterialspinner
The powerful android spinner library for your application
Stars: ✭ 108 (-87.6%)
Mutual labels:  material, arrow
Mrn
Material React Native (MRN) - A Material Design style React Native component library.
Stars: ✭ 1,741 (+99.89%)
Mutual labels:  material, ui-components
Svelte Materialify
A Material UI Design Component library for Svelte heavily inspired by vuetify.
Stars: ✭ 351 (-59.7%)
Mutual labels:  material, ui-components
Ui Libraries
A collection of UI Frameworks and their platform implementations.
Stars: ✭ 769 (-11.71%)
Mutual labels:  material, ui-components
Breeze
A Material Design game launcher for Windows
Stars: ✭ 22 (-97.47%)
Mutual labels:  material
Ui Box
Blazing Fast React UI Primitive
Stars: ✭ 847 (-2.76%)
Mutual labels:  ui-components
Aiflatswitch
Nicely animated flat design switch alternative to UISwitch
Stars: ✭ 904 (+3.79%)
Mutual labels:  material
Materialdesignsamples
Material Design 系列控件samples,讲了Material Design 系列新控件的使用方法和一些场景示例,使用详情请看对应博客,持续更新中...
Stars: ✭ 900 (+3.33%)
Mutual labels:  material

Android-ExpandIcon

Android Arsenal JitPack API

Nice and simple customizable implementation of Google style up/down arrow.

image

Another nice example of using this library: Pixel Slide by hearsilent

Compatibility

This library is compatible from API 15 (Android 4.0.3).

Download

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}

Add the dependency

dependencies {
    implementation 'com.github.zagum:Android-ExpandIcon:1.3.0'
}

Usage

Default implementation:

    <com.github.zagum.expandicon.ExpandIconView
        android:layout_width="24dp"
        android:layout_height="24dp"/>

Fully customized implementation:

    <com.github.zagum.expandicon.ExpandIconView
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:layout_gravity="center_horizontal"
        android:layout_marginTop="56dp"
        app:eiv_animationDuration="300"
        app:eiv_color="#000"
        app:eiv_colorLess="#f00"
        app:eiv_colorMore="#00f"
        app:eiv_colorIntermediate="#0f0"
        app:eiv_roundedCorners="false"
        app:eiv_switchColor="true"
        app:eiv_padding="8dp"/>

Public methods:

    expandIconView.switchState();
    
    expandIconView.setState(ExpandIconView.LESS, true);
    
    expandIconView.setFraction(.3f, true);
    
    expandIconView.setAnimationDuration(2000);

See sample project for more information.

License

Copyright 2016 Evgenii Zagumennyi

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