Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farukcankaya/rtlviewpagerindicator
Paging indicator widgets compatible with the RtlViewPager. It is inspired from the JakeWharton's ViewPagerIndicator but it supports RTL layout.
https://github.com/farukcankaya/rtlviewpagerindicator
Last synced: about 1 month ago
JSON representation
Paging indicator widgets compatible with the RtlViewPager. It is inspired from the JakeWharton's ViewPagerIndicator but it supports RTL layout.
- Host: GitHub
- URL: https://github.com/farukcankaya/rtlviewpagerindicator
- Owner: farukcankaya
- Created: 2017-05-03T08:50:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-07T18:45:23.000Z (over 7 years ago)
- Last Synced: 2023-06-30T07:04:31.769Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 564 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RtlViewPagerIndicator
Paging indicator widgets compatible with the RtlViewPager. It is inspired from the JakeWharton's ViewPagerIndicator but it supports RTL layout.[ ![Download](https://api.bintray.com/packages/farukcankaya/maven/RtlViewPagerIndicator/images/download.svg) ](https://bintray.com/farukcankaya/maven/RtlViewPagerIndicator/_latestVersion)
# Showcase
| LTR | RTL |
| ------------- |:-------------:|
| | |# Usage
Now, it is in jCenter!!### First step
Put code below to your build.gradle file that is under /app directory:
```java
dependencies {
...
compile 'com.farukcankaya.rtlviewpagerindicator:1.0.0'
}
```### Second step
Add `CircleIndicator` to your xml file:
```xml```
### Final step
Setup viewpager in your Activity or Fragment:
```java
CircleIndicator rtlCircleIndicator = (CircleIndicator) findViewById(R.id.rtl_view_pager_indicator);
rtlCircleIndicator.setViewPager(rtlViewPager);
```
You can find working example in **app** module.# Available Indicators
- [x] Circle
- [ ] Icon
- [ ] Ics
- [ ] Line
- [ ] Title
- [ ] Tab
- [ ] Underline# License
````
Copyright (c) 2017 Faruk CankayaLicensed 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 athttp://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.
````