All Projects → bosphere → Android Fadingedgelayout

bosphere / Android Fadingedgelayout

A versatile layout that fades its edges regardless of child view type.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Fadingedgelayout

Xray React
React layout debugger.
Stars: ✭ 128 (-20.99%)
Mutual labels:  layout
Motionlayoutsamples
A sample to take you to appreciate the charm of MotionLayout.
Stars: ✭ 135 (-16.67%)
Mutual labels:  layout
Flourish
🎩 Flourish implements dynamic ways to show up and dismiss layouts with animations.
Stars: ✭ 150 (-7.41%)
Mutual labels:  layout
Popo
PoPo is the grid layout tool, the best choice for runtime layout.
Stars: ✭ 130 (-19.75%)
Mutual labels:  layout
Pinlayout
Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]
Stars: ✭ 1,870 (+1054.32%)
Mutual labels:  layout
Vlayout
Project vlayout is a powerfull LayoutManager extension for RecyclerView, it provides a group of layouts for RecyclerView. Make it able to handle a complicate situation when grid, list and other layouts in the same recyclerview.
Stars: ✭ 10,818 (+6577.78%)
Mutual labels:  layout
The Grid
Grid layout custom element with drag and drop capabilities
Stars: ✭ 122 (-24.69%)
Mutual labels:  layout
Easypeasy
Auto Layout made easy
Stars: ✭ 1,877 (+1058.64%)
Mutual labels:  layout
Framezilla
Elegant library that wraps working with frames with a nice chaining syntax.
Stars: ✭ 134 (-17.28%)
Mutual labels:  layout
Bsp Layout
Manage layouts in bspwm (tall and wide)
Stars: ✭ 145 (-10.49%)
Mutual labels:  layout
Widgetlayout
自定义ViewGroup的集合(有 kotlin 实现分支):提高编写效率和 UI 绘制性能,少嵌套,易用易扩展。
Stars: ✭ 130 (-19.75%)
Mutual labels:  layout
Arclayout
With Arc Layout explore new styles and approaches on material design
Stars: ✭ 1,662 (+925.93%)
Mutual labels:  layout
Uistatus
一个简单且强大的Ui状态视图控制库!
Stars: ✭ 137 (-15.43%)
Mutual labels:  layout
Involt
Inject hardware interactions directly into HTML layout.
Stars: ✭ 128 (-20.99%)
Mutual labels:  layout
Swipelayout
A library what allows you to execute a swipe for the android platform
Stars: ✭ 150 (-7.41%)
Mutual labels:  layout
Greedo Layout For Android
Full aspect ratio grid LayoutManager for Android's RecyclerView
Stars: ✭ 1,588 (+880.25%)
Mutual labels:  layout
Popuplayout
通用弹出布局辅助库,允许开发者从顶部、底部、左侧、右侧和中心这五个位置弹出自己指定的View。The general pop-up Layout Assistant library allows developers to show their own view from the top, bottom, left, right and center five locations.
Stars: ✭ 135 (-16.67%)
Mutual labels:  layout
Expansionpanel
Android - Expansion panels contain creation flows and allow lightweight editing of an element.
Stars: ✭ 1,984 (+1124.69%)
Mutual labels:  layout
Paiges
an implementation of Wadler's a prettier printer
Stars: ✭ 153 (-5.56%)
Mutual labels:  layout
Android Statefullayout
A custom Android ViewGroup to display different states of screen (CONTENT, PROGRESS, OFFLINE, EMPTY, etc.)
Stars: ✭ 140 (-13.58%)
Mutual labels:  layout

Android-FadingEdgeLayout

A versatile layout that fades its edges regardless of child view type.

What is available:

  • Four fading edges that are individually configurable
  • Length of fading edge is adjustable
  • Supports any type of child View

Usage

dependencies {
    compile 'com.github.bosphere.android-fadingedgelayout:fadingedgelayout:1.0.0'
}
<com.bosphere.fadingedgelayout.FadingEdgeLayout
    android:id="@+id/fading_edge_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:fel_edge="top|left|bottom|right"
    app:fel_size_top="80dp"
    app:fel_size_bottom="80dp"
    app:fel_size_left="80dp"
    app:fel_size_right="80dp">

    <android.support.v7.widget.RecyclerView
        android:id="@+id/recycler_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

</com.bosphere.fadingedgelayout.FadingEdgeLayout>
FadingEdgeLayout mFadingEdgeLayout = ...;
mFadingEdgeLayout.setFadeEdges(mEnableTop, mEnableLeft, mEnableBottom, mEnableRight);
mFadingEdgeLayout.setFadeSizes(lenPx, lenPx, lenPx, lenPx);

The fading edges are not implemented as color overlay but rather linear gradient alpha mask of the content. So it'll naturally follow the color of the background.

Compatibility

API 7 (Android 2.1) and up

License

Copyright 2017 Yang Bo

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