Introduction

Toolbar is so boring

Informations

Creator
ppamorim
ppamorim
Git URL:
Language
Java
Min SDK:
Android 4.0.2
License:
Apache License
Created At:
May 29, 2015
Last Updated:
Jan 12, 2018
Star:
496
Fork:
71
Watcher count:
25
Tags

Description

logo 1

build status android arsenal jitpack

the cult will provide a new layout for your toolbar. this allow you to use with a custom searchview with animation and more.

this library should work on api 14.

demo 1

usage

you can use this library like a toolbar, you just need to do the following:

    1. add ''cultview'' view to your root layout and add a reference for your layout, look like:

<framelayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/blue">


&lt;com.github.ppamorim.cult.cultview
    android:id="@+id/cult_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:toolbar_height="64dp"
    app:content_view="@layout/layout_base"/&gt;
</framelayout>

sample

get it on google play

import dependency

  • this library is under development yet, use at your own risk.
this library use appcompat-v7:22.1.1 and dmytrodanylyk.shadow-layout.

but why not to add in mavencentral? because it is so much bureaucratic.

jitpack is there and is the future!

into your build.gradle:

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

dependencies {
  compile 'com.github.ppamorim:cult:0.1.5'
}

todo

  • fix the bug on dragviewhelper class that not allow a drag possibility the second content.

contributors

developed by

add me to linkedin

libraries used on the sample project

license


copyright 2015 pedro paulo de amorim

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.

Discussion