All Projects → imbeerus → hat-view

imbeerus / hat-view

Licence: Apache-2.0 license
Allow to put "hat" on TextView. Inspired by Telegram appbar title with Santa Claus hat 🎅🏻

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to hat-view

MyLogLibrary
🚧 - Simple Android Kotlin logger (2017/2020)
Stars: ✭ 31 (-39.22%)
Mutual labels:  androidx, androidx-library
TTInputVisibilityController
Lightweight controller to keep your inputs visible when the keyboard is presented.
Stars: ✭ 21 (-58.82%)
Mutual labels:  lightweight, textview
flagpack
A lightweight flag icon toolkit for the web.
Stars: ✭ 51 (+0%)
Mutual labels:  lightweight
Klean-ArchiteKture
Kotlin Android clean-architecture demo project for a meetup talk. Slides: https://docs.google.com/presentation/d/1CxnntHf3CorNDicx_cDN5s1t5pEbUwjwWHZ5PNmfe6Y/edit?usp=sharing
Stars: ✭ 10 (-80.39%)
Mutual labels:  demo-app
twilio-chat-demo-android
Chat API Demo Application for Android
Stars: ✭ 64 (+25.49%)
Mutual labels:  demo-app
lwlog
A lightweight header only logging library for C
Stars: ✭ 46 (-9.8%)
Mutual labels:  lightweight
copy-translator
简单、轻量、好用的划词翻译软件
Stars: ✭ 979 (+1819.61%)
Mutual labels:  lightweight
nmu
neg4n's mathematics utilities
Stars: ✭ 17 (-66.67%)
Mutual labels:  lightweight
Biometric-Authentication-Android
A sample implementation of AndroidX biometrics API using Kotlin. Authenticate using biometrics or PIN/Password if biometrics isn't available on device. Fully implemented in Jetpack compose using Material 3 dynamic theming and also has a separate implementation in xml with MDC 3.
Stars: ✭ 29 (-43.14%)
Mutual labels:  androidx
TextViewSetWordSpace
Android设置TextView字间距
Stars: ✭ 18 (-64.71%)
Mutual labels:  textview
Hyena
鬣狗快速开发库(2018年6月停止维护)
Stars: ✭ 21 (-58.82%)
Mutual labels:  textview
demo-firebase-js
A simple Web application that demonstrates how the end-to-end encryption works. The application uses firebase as a backend service for authentication and chat messaging, and Virgil E3Kit SDK for end-to-end encryption.
Stars: ✭ 31 (-39.22%)
Mutual labels:  demo-app
ecosystem-ci
Automate issue discovery for your projects against Lightning nightly and releases.
Stars: ✭ 41 (-19.61%)
Mutual labels:  lightweight
lexer
Hackable Lexer with UTF-8 support
Stars: ✭ 19 (-62.75%)
Mutual labels:  lightweight
craftcms
Craft CMS Docker Image
Stars: ✭ 73 (+43.14%)
Mutual labels:  lightweight
HealthKit-and-Bluetooth-HRM
A simple Core Bluetooth demo
Stars: ✭ 51 (+0%)
Mutual labels:  demo-app
lightings
A lightweight Ajax Library
Stars: ✭ 20 (-60.78%)
Mutual labels:  lightweight
xdecor
A decoration mod for Minetest meant to be light, simple and well-featured
Stars: ✭ 25 (-50.98%)
Mutual labels:  lightweight
khudro
Khudro is a very light weight web-server built with C.
Stars: ✭ 19 (-62.75%)
Mutual labels:  lightweight
RePluginX
🔥 Supports AndroidX and Android-Support
Stars: ✭ 32 (-37.25%)
Mutual labels:  androidx

hat-view

API License

What?

Library that allow to put "hat" on TextView. Inspired by Telegram appbar title with Santa Claus hat 🎅🏻

Usage

See app directory

From XML

The simplest way is to use HatTextView like a normal TextView

   <com.lockwood.hat.HatTextView
        android:id="@+id/test"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Argh!"
        app:hat="@drawable/ic_hat_pirate" />

Download

Download the latest release or grab via Gradle:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
dependencies {
    	implementation 'com.github.lndmflngs:hat-view:1.0.4'
}

Issue Tracking

Found a bug? Have an idea for an improvement? Feel free to add an issue

License

Copyright (C) 2020 Ivan Zinovyev (https://github.com/lndmflngs)

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