All Projects → hypeapps → Materialtimelineview

hypeapps / Materialtimelineview

Licence: mit
With MaterialTimelineView you can easily create a material looking timeline.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Materialtimelineview

Materialanim
基于Android 系统的动画总结
Stars: ✭ 123 (-72.23%)
Mutual labels:  material-design, material, material-ui
Material Singleinputform
A single EditText instead of a classical form. Library that implements flavienlaurent's singleinputform
Stars: ✭ 202 (-54.4%)
Mutual labels:  material-design, material, material-ui
Svelte Material Ui
Svelte Material UI Components
Stars: ✭ 2,081 (+369.75%)
Mutual labels:  material-design, material, material-ui
Materialspinner
Implementation of a Material Spinner for Android with TextInputLayout functionalities
Stars: ✭ 107 (-75.85%)
Mutual labels:  material-design, material, material-ui
Material Auto Rotating Carousel
Introduce users to your app with this Material-style carousel.
Stars: ✭ 400 (-9.71%)
Mutual labels:  material-design, material, material-ui
Smart Webcomponents
Web Components & Custom Elements for Professional Web Applications
Stars: ✭ 110 (-75.17%)
Mutual labels:  material-design, material, material-ui
Jekyll Material Theme
A Jekyll Theme based on Material Design using Materialize.
Stars: ✭ 165 (-62.75%)
Mutual labels:  material-design, material, material-ui
Materialchipview
Material Chip view. Can be used as tags for categories, contacts or creating text clouds
Stars: ✭ 1,181 (+166.59%)
Mutual labels:  material-design, material-ui, view
Motion Shapeofview
Explain how to use MotionLayout with ShapeOfView
Stars: ✭ 236 (-46.73%)
Mutual labels:  material-design, material, material-ui
Material Admin
Free Material Admin Template
Stars: ✭ 219 (-50.56%)
Mutual labels:  material-design, material, material-ui
Cardview
Material Design Cards ? How cool is that !
Stars: ✭ 101 (-77.2%)
Mutual labels:  material-design, material, material-ui
Materiallettericon
Material first letter icon like lollipop contacts icon. Letter(s) on a shape drawn on canvas.
Stars: ✭ 255 (-42.44%)
Mutual labels:  material-design, material, material-ui
Cyanea
A theme engine for Android
Stars: ✭ 1,319 (+197.74%)
Mutual labels:  material-design, material, material-ui
Materialabout
It's a material-design about screen to use on your Android apps. A developer profile and application information easy to integrate. 🔖
Stars: ✭ 1,511 (+241.08%)
Mutual labels:  material-design, material, material-ui
Togglebuttons
Android toggle buttons that adhere to the Material Design documentation.
Stars: ✭ 88 (-80.14%)
Mutual labels:  material-design, material, material-ui
Ibackdrop
A library to simply use Backdrop in your project (make it easy). Read more ->
Stars: ✭ 137 (-69.07%)
Mutual labels:  material-design, material, material-ui
Shards Dashboard
🔥A beautiful Bootstrap 4 admin dashboard templates pack.
Stars: ✭ 1,143 (+158.01%)
Mutual labels:  material-design, material, material-ui
Mahapps.metro.iconpacks
Awesome icon packs for WPF and UWP in one library
Stars: ✭ 1,157 (+161.17%)
Mutual labels:  material-design, material, material-ui
Hubuntu Ui
Material Admin Dashboard Starter UI ( Ubuntu style ) - https://720kb.github.io/hubuntu-ui/
Stars: ✭ 207 (-53.27%)
Mutual labels:  material-design, material, material-ui
Alyle Ui
Minimal Design, a set of components for Angular 9+
Stars: ✭ 234 (-47.18%)
Mutual labels:  material-design, material, material-ui

MaterialTimelineView Build Status Download Platform License: MIT Android Arsenal

With MaterialTimelineView you can easily create a material looking timeline.

Banner Get it on Google Play

Setup

The library is pushed to jCenter() as an AAR, so you just need to add the following to your build.gradle file:

dependencies {
    implementation 'pl.hypeapp:materialtimelineview:1.1'
}

Usage

MaterialTimelineView extends from ConstraintLayout, so it has all of its possibilities.

A sample of simple recycler view that demonstrates usage of library

In your xml layout add:

<pl.hypeapp.materialtimelineview.MaterialTimelineView
        android:id="@+id/material_timeline_view"
        android:layout_width="match_parent"
        android:layout_height="100dp"
        android:background="@android:color/holo_orange_light"
        app:timeline_top_radio_color="@android:color/white"
        app:timeline_bottom_radio_color="@android:color/white"
        app:timeline_line_color="@android:color/white"
        app:timeline_type="item"
        app:timeline_position="first"                                              
        app:timeline_margin_start="32dp"
        app:timeline_radio_outline_radius="20"
        app:timeline_radio_radius="12">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="HELLO WORLD"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"/>

</pl.hypeapp.materialtimelineview.MaterialTimelineView>      

or programatically:

val materialTimelineView: MaterialTimelineView = findViewById(R.id.material_timeline_view)
materialTimelineView.position = MaterialTimelineView.POSITION_FIRST // Default MaterialTimelineView.POSITION_FIRST
materialTimelineView.timelineType = MaterialTimelineView.TIMELINE_TYPE_ITEM // Default MaterialTimelineView.TIMELINE_TYPE_LINE
materialTimelineView.radioRadius = 14f // Default 12f
materialTimelineView.radioOutlineRadius = 22f // Default 22f
materialTimelineView.radioMarginStart = 100f // Default 150f
materialTimelineView.topRadioColor = Color.Black // Default Color.White
materialTimelineView.bottomRadioColor = Color.Black // Default Color.White
materialTimelineView.lineColor = Color.Black // Default Color.White

Timeline types overview

Attributes Screen
app:timeline_type="item" app:timeline_position="first" item first
app:timeline_type="item" app:timeline_position="middle" item middle
app:timeline_type="item" app:timeline_position="last" item last
app:timeline_type="line" app:timeline_position="first" line first
app:timeline_type="line" app:timeline_position="middle" line middle
app:timeline_type="line" app:timeline_position="last" line last

Apps that use MaterialTimelineView

If you're using this library in your app and you'd like to list it here, Please let me know via email, pull requests or issues.

License

MIT License

Copyright (c) 2017 Przemysław Szymkowiak ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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].