egek92 / Discrollview2
Licence: mit
[DEPRECATED]Android Library for fancy layouts
Stars: ✭ 79
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Discrollview2
Php Library Starter Kit
A tool to quickly set up the base files of a PHP library project.
Stars: ✭ 75 (-5.06%)
Mutual labels: library
Photoviewslider
📷 A simple photo browser for Android applications.
Stars: ✭ 78 (-1.27%)
Mutual labels: library
Kit
Tools for developing, documenting, and testing React component libraries
Stars: ✭ 1,201 (+1420.25%)
Mutual labels: library
Cat
Plain C library for parsing AT commands for use in host devices.
Stars: ✭ 77 (-2.53%)
Mutual labels: library
Kotlin Futures
A collections of extension functions to make the JVM Future, CompletableFuture, ListenableFuture API more functional and Kotlin like.
Stars: ✭ 79 (+0%)
Mutual labels: library
Vue Horizontal
An ultra simple pure vue horizontal layout for modern responsive web with zero dependencies. (SPA/SSG/SSR)
Stars: ✭ 75 (-5.06%)
Mutual labels: layouts
Kbcsv
KBCsv is an efficient, easy to use .NET parsing and writing library for the CSV (comma-separated values) format.
Stars: ✭ 75 (-5.06%)
Mutual labels: library
Shotwatch
Android Screenshot Watcher (Screenshot Detection)
Stars: ✭ 76 (-3.8%)
Mutual labels: library
Funnyloader
Loading indicator for android with over 200 random messages
Stars: ✭ 77 (-2.53%)
Mutual labels: library
Mailchimp Api Php
PHP library for v3 of the MailChimp API.
Stars: ✭ 75 (-5.06%)
Mutual labels: library
Bottombar
(Deprecated) A custom view component that mimics the new Material Design Bottom Navigation pattern.
Stars: ✭ 8,459 (+10607.59%)
Mutual labels: library
Neuralpy
NeuralPy: A Keras like deep learning library works on top of PyTorch
Stars: ✭ 77 (-2.53%)
Mutual labels: library
Locationhelper
Android library project that helps you to track user location and manage the updates.
Stars: ✭ 79 (+0%)
Mutual labels: library
DiscrollView 2
Updated and revised version of flavienlaurent's DiscrollView.
Compatibilty
API Level 15+
Download
build.gradle(Project)
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
build.gradle(Module:app)
dependencies {
implementation 'com.github.egek92:discrollview2:v1.0'
}
Usage
DiscrollView
<!-- Use DiscrollView as your root view in your layout -->
<us.egek.discrollview2.DiscrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:discrollve="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<us.egek.discrollview2.DiscrollViewContent
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- put your discrollvable views here -->
</us.egek.discrollview2.DiscrollViewContent>
</us.egek.discrollview2.DiscrollView>
Discrollvable views
- alpha
discrollve:discrollve_alpha="true
- scale
discrollve:discrollve_scaleX="true"
discrollve:discrollve_scaleY="true"
- translation
discrollve:discrollve_translation="fromLeft"
discrollve:discrollve_translation="fromRight"
discrollve:discrollve_translation="fromBottom"
discrollve:discrollve_translation="fromTop"
you can also combine:
discrollve:discrollve_translation="fromRight | fromBottom"
- background color
from cyan to pink:
discrollve:discrollve_fromBgColor="#00b8d4"
discrollve:discrollve_toBgColor="#c51162"
See DiscrollView 2 in action:
Sample Code:
<?xml version="1.0" encoding="utf-8"?>
<us.egek.discrollview2.DiscrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:discrollve="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<us.egek.discrollview2.DiscrollViewContent
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="match_parent"
android:layout_height="600dp"
android:background="@android:color/white"
android:textColor="@android:color/black"
android:padding="25dp"
android:textSize="72sp"
android:gravity="center"
android:text="Welcome to DiscrollView 2" />
<View
android:layout_width="match_parent"
android:layout_height="200dp"
android:background="@color/colorPrimaryDark"
discrollve:discrollve_alpha="true"
discrollve:discrollve_threshold="0.3" />
<ImageView
android:layout_width="200dp"
android:layout_height="120dp"
discrollve:discrollve_alpha="true"
discrollve:discrollve_translation="fromRight|fromBottom"
android:src="@android:drawable/ic_dialog_alert" />
<View
android:layout_width="match_parent"
android:layout_height="200dp"
discrollve:discrollve_fromBgColor="@color/colorPrimary"
discrollve:discrollve_toBgColor="@color/colorAccent" />
<ImageView
android:layout_width="220dp"
android:layout_height="110dp"
android:layout_gravity="end"
android:src="@android:drawable/ic_btn_speak_now"
discrollve:discrollve_translation="fromRight" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="20dp"
android:gravity="center"
android:text="Fancy layout"
android:textSize="18sp"
discrollve:discrollve_alpha="true"
discrollve:discrollve_translation="fromTop" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:layout_gravity="center"
android:src="@android:drawable/ic_delete"
discrollve:discrollve_scaleX="true"
discrollve:discrollve_scaleY="true" />
</us.egek.discrollview2.DiscrollViewContent>
</us.egek.discrollview2.DiscrollView>
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].