All Projects → hearsilent → Amazingavatar

hearsilent / Amazingavatar

Licence: mit
An android amazing avatar anim in CollapsingToolbarLayout.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Amazingavatar

Px4 Sitl gazebo
Set of plugins, models and worlds to use with OSRF Gazebo Simulator in SITL and HITL.
Stars: ✭ 182 (-2.15%)
Mutual labels:  hacktoberfest
Linebot
🤖 SDK for the LINE Messaging API for Node.js
Stars: ✭ 184 (-1.08%)
Mutual labels:  hacktoberfest
Star Battle
🎮 A spaceship shooting game developed using JavaScript ES6, Canvas
Stars: ✭ 184 (-1.08%)
Mutual labels:  hacktoberfest
Yii2 Gii
Yii 2 Gii Extension
Stars: ✭ 183 (-1.61%)
Mutual labels:  hacktoberfest
Pretty Simple
pretty-printer for Haskell data types that have a Show instance
Stars: ✭ 183 (-1.61%)
Mutual labels:  hacktoberfest
Doctree
Repository of Japanese Ruby reference manual
Stars: ✭ 184 (-1.08%)
Mutual labels:  hacktoberfest
Discord Bot Dashboard
📊 A tool for Discord.js Bot Developers to get detailed analytics of their bots and to manage them.
Stars: ✭ 182 (-2.15%)
Mutual labels:  hacktoberfest
Fluentvalidation
A library for using FluentValidation with Blazor
Stars: ✭ 184 (-1.08%)
Mutual labels:  hacktoberfest
Demo
Demo app for the API Platform framework
Stars: ✭ 184 (-1.08%)
Mutual labels:  hacktoberfest
View component reflex
Stars: ✭ 185 (-0.54%)
Mutual labels:  hacktoberfest
Chef Client
Development repository for Chef Client cookbook
Stars: ✭ 183 (-1.61%)
Mutual labels:  hacktoberfest
Magento2 Menu
Provides powerful menu editor to replace category based menus in Magento 2
Stars: ✭ 184 (-1.08%)
Mutual labels:  hacktoberfest
Optaplanner
AI constraint solver in Java to optimize the vehicle routing problem, employee rostering, task assignment, maintenance scheduling, conference scheduling and other planning problems.
Stars: ✭ 2,454 (+1219.35%)
Mutual labels:  hacktoberfest
Docker
🐳
Stars: ✭ 183 (-1.61%)
Mutual labels:  hacktoberfest
Simplepresence
An easy and simple way to set your Discord Rich Presence Status through RPC (no token required)
Stars: ✭ 184 (-1.08%)
Mutual labels:  hacktoberfest
Terraform Provider Sentry
Terraform provider for Sentry
Stars: ✭ 183 (-1.61%)
Mutual labels:  hacktoberfest
Training Material
A collection of Galaxy-related training material
Stars: ✭ 184 (-1.08%)
Mutual labels:  hacktoberfest
Mockbukkit
MockBukkit is a mocking framework for bukkit to allow the easy unit testing of Bukkit plugins.
Stars: ✭ 186 (+0%)
Mutual labels:  hacktoberfest
Electricalage
Electrical Age (ELN) is a Minecraft Mod offering the ability to perform large-scale in-game electrical simulations.
Stars: ✭ 185 (-0.54%)
Mutual labels:  hacktoberfest
Discordchatexporter
Exports Discord chat logs to a file
Stars: ✭ 3,198 (+1619.35%)
Mutual labels:  hacktoberfest

AmazingAvatar

GitHub release license

An android amazing avatar anim in CollapsingToolbarLayout.

Screenshot

Expanded

Collapsed

Usage

For a working implementation, please have a look at the Sample Project - sample

Get it on Google Play

Just Clone and Build.

Customization

You can change header view to what you want.

<android.support.design.widget.CollapsingToolbarLayout
    android:layout_width="match_parent"
    android:layout_height="224dp"
    app:contentScrim="@android:color/transparent"
    app:layout_scrollFlags="scroll|exitUntilCollapsed"
    app:statusBarScrim="@android:color/transparent"
    app:titleEnabled="false">

    <android.support.v7.widget.Toolbar
        android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        app:layout_collapseMode="pin"
        app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        android:gravity="center_vertical"
        app:layout_collapseMode="parallax"
        app:layout_collapseParallaxMultiplier="1">

        <android.support.v4.widget.Space
            android:id="@+id/space"
            android:layout_width="32dp"
            android:layout_height="32dp"
            android:layout_marginLeft="32dp"/>

        <TextView
            android:id="@+id/toolbar_title"
            style="@style/TextAppearance.Widget.AppCompat.Toolbar.Title"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            android:gravity="center_vertical"/>
    </LinearLayout>

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:layout_collapseMode="parallax"
        app:layout_collapseParallaxMultiplier="1">

        <de.hdodenhof.circleimageview.CircleImageView
            android:id="@+id/imageView_avatar"
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="?attr/actionBarSize"
            android:background="@drawable/avatar_background"
            android:contentDescription="@null"
            android:padding="1dp"/>

        <TextView
            android:id="@+id/textView_title"
            android:layout_width="wrap_content"
            android:layout_height="?attr/actionBarSize"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="130dp"
            android:gravity="center"
            android:maxLines="1"
            android:text="HearSilent"
            android:textColor="#FFF"
            android:textSize="24sp"/>
    </FrameLayout>
</android.support.design.widget.CollapsingToolbarLayout>

Compatibility

Android GINGERBREAD 4.2+

Credits

Avatars from maximedegreve/TinyFaces.

Let me know!

I'd be really happy if you sent me links to your projects where you use my component. Just send an email to [email protected] And do let me know if you have any questions or suggestion regarding the example.

License

MIT License

Copyright (c) 2017 HearSilent

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