All Projects → params-ing → Stepviewandroid

params-ing / Stepviewandroid

Licence: apache-2.0
An Android library (Step View) written in kotlin to display steps (without any max-min limits) along with the status/description using a single view. It also supports some really cool features.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Stepviewandroid

Chips Input Layout
A customizable Android ViewGroup for displaying Chips (specified in the Material Design Guide).
Stars: ✭ 591 (+209.42%)
Mutual labels:  design, view
FigmaConvertXib
FigmaConvertXib is a tool for exporting design elements from figma.com and generating files to a projects iOS .xib / Android .xml
Stars: ✭ 111 (-41.88%)
Mutual labels:  design, view
Fiftyshadesof
An elegant context-care loading placeholder for Android
Stars: ✭ 1,110 (+481.15%)
Mutual labels:  design, view
Kotlinpleaseanimate
Kotlin, please, can you animate my views ?
Stars: ✭ 541 (+183.25%)
Mutual labels:  design, view
Arclayout
With Arc Layout explore new styles and approaches on material design
Stars: ✭ 1,662 (+770.16%)
Mutual labels:  design, view
Guideview
A guideView implements using the DialogFragment
Stars: ✭ 176 (-7.85%)
Mutual labels:  view
Graaf
A collection of pure CSS grids for designing your new projects
Stars: ✭ 186 (-2.62%)
Mutual labels:  design
Light dark toggle
An awesome flutter app which artistically animates light and dark mode 😍
Stars: ✭ 175 (-8.38%)
Mutual labels:  design
React Mdc Web
Material Design Components for React
Stars: ✭ 175 (-8.38%)
Mutual labels:  design
Awesome Startup Tools List
List of all tools (apps, services) that startups should use.
Stars: ✭ 188 (-1.57%)
Mutual labels:  design
Argon Design System
Argon - Design System for Bootstrap 4 by Creative Tim
Stars: ✭ 2,307 (+1107.85%)
Mutual labels:  design
Webgradients
A curated collection of splendid gradients made in CSS3, .sketch and .PSD formats.
Stars: ✭ 2,197 (+1050.26%)
Mutual labels:  design
View Effects
Apply custom effects on view backgrounds
Stars: ✭ 176 (-7.85%)
Mutual labels:  view
Estmusicplayer
An elegant and simple iOS music player.
Stars: ✭ 2,165 (+1033.51%)
Mutual labels:  design
Youtubevideosample
YoutubeVideoSample
Stars: ✭ 176 (-7.85%)
Mutual labels:  view
Awesome Iconjar
44 Collect free icon sets for iconjar. 收集免费的图标包,iconjar 格式(44套)。
Stars: ✭ 188 (-1.57%)
Mutual labels:  design
Transitioner
A library for dynamic view-to-view transitions
Stars: ✭ 2,049 (+972.77%)
Mutual labels:  view
Appfairy
A CLI tool to Migrate a Webflow project into a React app
Stars: ✭ 183 (-4.19%)
Mutual labels:  design
Yii2 Minify View
Yii2 View component with minification css & js
Stars: ✭ 186 (-2.62%)
Mutual labels:  view
Portfolio
📰 Meu portfólio criado com o objetivo de mostrar meus projetos recentes e futuros ao longo da minha carreira.
Stars: ✭ 178 (-6.81%)
Mutual labels:  design

StepViewAndroid

An Android library written in kotlin to display steps (without any max-min limits) along with the status/description. It also supports some really cool features.

Custom Views Tutorial

For any information on how to create custom views you can refer to the link below.
https://medium.com/mindorks/how-to-create-custom-views-141dc0570e57

Setup

implementation 'com.params.stepview:stepview:1.0.2'

Usage

A customised StepView

Downloading..

  • Set step count and current count.

  • Set different dimensions for circle radius, line length, line gap, stroke width, line width, text size of label (step count).

  • Set status data using android:entries

  • Chose a color mode i.e fill, stroke or both using circleColorType

  • Stroke color (circle), fill color (circle), line color & label text color can be set differently for completed, current & incomplete states.

<params.com.stepview.StatusViewScroller
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:stepCount="5"
    app:currentCount="4"
    app:drawLabels="true"
    android:entries="@array/status"
    app:circleColorType="fillStroke"
    app:lineGap="5dp"
    app:lineWidth="3dp"
    app:lineColor="@android:color/black"
    app:lineColorIncomplete="#B4B7BA"
    app:lineColorCurrent="#91A8D0"
    app:circleColor="#CC004B8D"
    app:circleColorCurrent="#004B8D"
    app:circleColorIncomplete="#BCBCBE"
    app:textColorLabels="@android:color/white"
    app:textColorLabelsCurrent="@android:color/white"
    app:textColorLabelsIncomplete="@android:color/black"
    app:circleStrokeWidth="4dp"
    app:circleStrokeColorCurrent="#91A8D0"
    app:textSizeLabels="15sp"
    app:completeDrawable="@drawable/ic_done_black_24dp" />

Some more customisations

Downloading..

  • Set a zoom value to your current step
  • Set different drawables for completed, current & incomplete states.
    app:currentStepZoom="0.5"
    app:completeDrawable="@drawable/ic_satisfied_black_24dp"
    app:currentDrawable="@drawable/ic_dissatisfied_black_24dp"
    app:incompleteDrawable="@drawable/ic_very_dissatisfied_black_24dp"

Step status customisations

Downloading..

  • Multiline Text Support: View automatically adjusts line length to make sure words or alphabets from one line do not crossover to next line. However, If you want to strictly obey line length set app:strictObeyLineLength= "true".
  • To add font to status simply refer to the font file from res/font directory.
  • Ensure a minimum margin between status texts in case they are too close.
  • Set top margin of a status text from its corresponding circle.
  • Align all status at the same level in case, a zoom level is set to current step.
  • Set text color to status.
    app:currentStepZoom="0.3"
    app:statusFont="@font/lekton_r"
    app:statusTopMargin="15dp"
    app:minStatusAdjacentMargin="5dp"
    app:alignStatusWithCurrent="true"
    app:textColorStatus="#000000"

Scrolling property

Downloading..

  • The view can be scrolled if the content exceeds the available width.
  • You can also scroll to a particular step by calling statusViewScroller.scrollToStep(stepCount)

Changing properties at runtime

  • You can also easily change any property at runtime as described below.
     statusViewScroller.statusView.run {
        currentCount = 2
        circleFillColorCurrent = Color.RED
     }
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].