Java Android avatar
Need help with AmazingAvatar?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.
hearsilent

Description

An android amazing avatar anim in CollapsingToolbarLayout.

149 Stars 23 Forks MIT License 23 Commits 1 Opened issues

Services available

Need anything else?

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. ```xml


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

<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"></textview>
<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"></de.hdodenhof.circleimageview.circleimageview>

<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"></textview>

```

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.