All Projects â†’ ronaldsmartin â†’ Material Viewpagerindicator

ronaldsmartin / Material Viewpagerindicator

Licence: apache-2.0
Dot-based Android ViewPager indicator with Material Design animations.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Material Viewpagerindicator

Demo Progressive Web App
🎉 A demo for progressive web application with features like offline, push notifications, background sync etc,
Stars: ✭ 798 (+56.16%)
Mutual labels:  demo, material-design, material
Iconshowcase Dashboard
A full-of-features, easy-to-customize, free and open source, Material Design dashboard for icon packs.
Stars: ✭ 197 (-61.45%)
Mutual labels:  material-design, material, widget
Iconshowcase
Full-of-features, easy-to-customize, free and open source, Material Design dashboard for icon packs.
Stars: ✭ 91 (-82.19%)
Mutual labels:  material-design, material, widget
Material Intro
A simple material design app intro with cool animations and a fluent API.
Stars: ✭ 1,718 (+236.2%)
Mutual labels:  jitpack, material-design, material
Blueprint
Free, feature-rich, easily customizable Android dashboard for icon packs
Stars: ✭ 389 (-23.87%)
Mutual labels:  material-design, material
Samples
Sample projects using Material, Graph, and Algorithm.
Stars: ✭ 386 (-24.46%)
Mutual labels:  material-design, material
Frames
Free, feature-rich, easily customizable Android dashboard for wallpapers apps
Stars: ✭ 396 (-22.5%)
Mutual labels:  material-design, material
Material Axure Library
An Axure widget library based on Google Material Design.
Stars: ✭ 490 (-4.11%)
Mutual labels:  material-design, material
Material Foundation
Material Design version of Foudation for Sites by Zurb
Stars: ✭ 361 (-29.35%)
Mutual labels:  material-design, material
Material Auto Rotating Carousel
Introduce users to your app with this Material-style carousel.
Stars: ✭ 400 (-21.72%)
Mutual labels:  material-design, material
Goindex
Index your Google Drive
Stars: ✭ 418 (-18.2%)
Mutual labels:  demo, material
Material Framework
[Unmaintained] An easy to use material design based framework.
Stars: ✭ 383 (-25.05%)
Mutual labels:  material-design, material
Svelte Materialify
A Material UI Design Component library for Svelte heavily inspired by vuetify.
Stars: ✭ 351 (-31.31%)
Mutual labels:  material-design, material
Md2
Angular2 based Material Design components, directives and services are Accordion, Autocomplete, Collapse, Colorpicker, Datepicker, Dialog(Modal), Menu, Multiselect, Select, Tabs, Tags(Chips), Toast and Tooltip.
Stars: ✭ 389 (-23.87%)
Mutual labels:  material-design, material
Android Extensions
An Android library with modules to quickly bootstrap an Android application.
Stars: ✭ 356 (-30.33%)
Mutual labels:  material-design, material
Material Progressview
🔥A beautiful, gradual and simple used progress view for android.
Stars: ✭ 406 (-20.55%)
Mutual labels:  material-design, material
Mdb Ui Kit
Bootstrap 5 & Material Design 2.0 UI KIT
Stars: ✭ 21,830 (+4172.02%)
Mutual labels:  material-design, material
Materialtimelineview
With MaterialTimelineView you can easily create a material looking timeline.
Stars: ✭ 443 (-13.31%)
Mutual labels:  material-design, material
Components
Component infrastructure and Material Design components for Angular
Stars: ✭ 22,372 (+4278.08%)
Mutual labels:  material-design, material
Gatsby Material Starter
A high performance blog starter with Material design in mind for GatsbyJS.
Stars: ✭ 456 (-10.76%)
Mutual labels:  material-design, material

Icon Material-ViewPagerIndicator

Release API 11+ Android Arsenal License: Apache 2.0 Build Status

A super easy-to-use page indicator for the Android Support Library v4's ViewPager widget with Material Design ink animations.

Example screen capture

Demo

A demo app with examples is available on Google Play. The source for the demo is the app module in this project.

Get it on Google Play

Usage

ViewPagerIndicator is a @ViewPager.DecorView (like Support-Design's TabLayout and Support-v4's PagerTabStrip and PagerTitleStrip) widgets.

Usage is simple - just add it as a child view of your ViewPager!

XML

<androidx.viewpager.widget.ViewPager
    android:id="@+id/view_pager"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_alignWithParentIfMissing="true">

    <!-- Add as a direct child of your ViewPager -->
    <com.itsronald.widget.ViewPagerIndicator
        android:id="@+id/view_pager_indicator"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom|center_horizontal"
        android:gravity="center_vertical"/>

 </androidx.viewpager.widget.ViewPager>

Programatically

Or in code...

import androidx.viewpager.widget.ViewPager;
import android.view.Gravity;
import android.view.ViewGroup.LayoutParams;

import com.itsronald.widget.ViewPagerIndicator;

...

ViewPager viewPager = ...;

final ViewPager.LayoutParams layoutParams = new ViewPager.LayoutParams();
layoutParams.width = LayoutParams.MATCH_PARENT;
layoutParams.height = LayoutParams.WRAP_CONTENT;
layoutParams.gravity = Gravity.BOTTOM;

final ViewPagerIndicator viewPagerIndicator = new ViewPagerIndicator(context);
viewPager.addView(viewPagerIndicator, layoutParams);

For more advanced usage, see the wiki.

Download

Material-ViewPagerIndicator is available via JitPack.io.

Gradle

Add JitPack to your maven repositories:

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

Add Material-ViewPagerIndicator to your app dependencies:

dependencies {
    // x.y.z is the latest release version number.
    implementation 'com.github.ronaldsmartin:Material-ViewPagerIndicator:x.y.z'
}

Other

Please see the JitPack page for instructions on using the library with other build systems.

License

Material-ViewPagerIndicator is licensed under Apache 2.0.

Copyright 2016 Ronald Martin

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.

Parts of this library are derived from Support-v4's PagerTitleStrip, which is also licensed under Apache 2.0.

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