Description
This library was made from the existing StepIndicator library but with lots of improvements. I needed a page indicator that could display title and at the same time have a transparent border, but I couldn't find one. So I modified the source code of StepIndicator and made it into a library.
PageStepIndicator alternatives and similar packages
Based on the "UI Widget" category.
Alternatively, view PageStepIndicator alternatives based on common mentions on social networks and blogs.
-
EffectiveAndroidUI
Sample project created to show some of the best Android practices to work in the Android UI Layer. The UI layer of this project has been implemented using MVP or MVVM (without binding engine) to show how this patterns works. This project is used during the talk "EffectiveAndroidUI". -
ShowcaseView
Highlight the best bits of your app to users quickly, simply, and cool...ly -
GreenDroid
GreenDroid is a development library for the Android platform. It makes UI developments easier and consistent through your applications. -
SuperTextView
Hi,Developer,Welcome to use SuperTextView ! -
FancyToast-Android
Make your native android Toasts Fancy. A library that takes the standard Android toast to the next level with a variety of styling options. Style your toast from code. -
Smiley Rating
SmileyRating is a simple rating bar for android. It displays animated smileys as rating icon. -
ParallaxEverywhere
Parallax everywhere is a library with alternative android widgets with parallax effects. -
SnapTabLayout
Android library for fluid tablayout animation as seen on Snapchat. -
MotionViews-Android
Code Guide: How to create Snapchat-like image stickers and text stickers. -
FancyAlertDialog-Android
Make your native android Dialog Fancy. A library that takes the standard Android Dialog to the next level with a variety of styling options. Style your dialog from code. -
ProSwipeButton
A swipe button for Android with a circular progress bar for async operations -
MaterialBanner
A library that provides an implementation of the banner widget from the Material design. -
Custom-Calendar-View
The CustomCalendarView provides an easy and customizable calendar to create a Calendar. It dispaly the days of a month in a grid layout and allows to navigate between months -
Android SegmentedControl + multi row support
Android SegmentedControl + multi row support -
ChatBar for Android
[Moved to: https://github.com/cenkgun/ChatBar] -
Aesthetic GraphView
This is a custom graph library where you can customize the graph as you want. The key features are you can take the full control over drawing the path, change the gradient color (Start Color - End Color), Change the circle color, Change the circle radius, Change the path color, Change the line thickness, On/Off Gridlines, Change the grid line color, On/Off Graduations, Change the graduation text color, Draw graph with different starting point, Draw graph from the left border (X0 - coordinate), Draw graph with exact coordinates given, Draw graph from left border and stretch until the end of the screen and it is Supported on OS - JellyBean 4.1 and above -
GIFView
GIFView is a library for showing GIFs in applications -
FingerSignView
A simple library to let you sign (or draw lines) smoothly with your finger into a view and save it. -
CircleControlView
Android implementation of customizable circle control view -
Horizontal Calendar View
A simple library to display a horizontal calendar with custom start and end date, and mark events with a background -
BrushView
Simple View to change Brush Size, Alpha and Color -
AnimatedTabLayout
A nice Animated TabLayout for Android -
BubbleImageView
A custom ImageView for android that adds a little "arrow" on a extremity -
Compose ArcLayout
Composable ArcLayout library for Android
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of PageStepIndicator or a related project?
README
PageStepIndicator was built from existing StepIndicator library developed by Layerlre . I needed a page indicator that can display title and at the same time have a transparent border, but I couldn't find one. So I modified the existing StepIndicator's source code to suit my needs, and shamelessly publish it as a new library.
Preview
How To Use
- Add
PageStepIndicator
to your app.
Add it to your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency
dependencies {
implementation 'com.github.devmike01:pagestepindicator:1.1.1'
}
- Add
PageStepIndicator
to your layout. E.g:
<devmike.jade.com.PageStepIndicator
app:pgTitles="@array/titles"
app:pgTitleTextSize="15sp"
app:pgStrokeAlpha="255"
app:pgRadius="15dp"
app:pgCurrentStepColor="@android:color/holo_red_dark"
app:pgTextColor="@android:color/white"
app:pgStepColor="@android:color/holo_purple"
android:id="@+id/page_stepper"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
Create a pager adapter by extending
FragmentStatePagerAdapter
orFragmentPagerAdapter
.Setup the adapter with your viewpager.
Call
setupWithViewPager(ViewPager)
fromPageStepIndicator
and pass the instance of your viewpager as an argument to it.
That's all. You can customize it the way you want.
Customization
pgStepColor
Color of the step indicatorpgCurrentStepColor
Color of the current steppgBackgroundColor
Background color of the step indicatorpgTextColor
Active step position colorpgSecondaryTextColor
Inactive step position colorpgRadius
Radius of the step indicatorpgStrokeWidth
Stroke Width of a current steppgStepCount
Size of step (With out ViewPager)pgTitles
Title of pagespgActiveTitleColor
Current color of page's titlepgInActiveTitleColor
Color of your previous or future page's titlepgTitleTextSize
Size of your page's titlepgLineHeight
Height of indicator linepgStrokeAlpha
Opacity of current stroke(255 means the color is solid)
License
Copyright 2018 Oladipupo Gbenga
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 all licence references and agreements mentioned in the PageStepIndicator README section above
are relevant to that project's source code only.