All Projects → nntuyen → Text Decorator

nntuyen / Text Decorator

Licence: apache-2.0
Decorate your TextView easily

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Text Decorator

EasyMoney-Widgets
The widgets (EditText and TextView) for support of money requirements like currency, number formatting, comma formatting etc.
Stars: ✭ 91 (-77.36%)
Mutual labels:  custom-view, textview
Countanimationtextview
A tiny Android library makes very easier count animation of TextView.
Stars: ✭ 392 (-2.49%)
Mutual labels:  textview
Boxbilling
BoxBilling - Open source billing and client management software
Stars: ✭ 372 (-7.46%)
Mutual labels:  open-source
Wtfjht
Logging the daily shock and awe in national politics. Read in moderation.
Stars: ✭ 386 (-3.98%)
Mutual labels:  open-source
Cipi
An Open Source Control Panel for your Cloud! Deploy and manage LEMP apps in one click!
Stars: ✭ 376 (-6.47%)
Mutual labels:  open-source
Virustotaluploader
C# Open-Source Winforms application for uploading files to VirusTotal
Stars: ✭ 387 (-3.73%)
Mutual labels:  open-source
Rxpresso
Easy Espresso UI testing for Android applications using RxJava.
Stars: ✭ 373 (-7.21%)
Mutual labels:  open-source
Gradle Static Analysis Plugin
Easy setup of static analysis tools for Android and Java projects.
Stars: ✭ 398 (-1%)
Mutual labels:  open-source
Mumble
Mumble is an open-source, low-latency, high quality voice chat software.
Stars: ✭ 4,418 (+999%)
Mutual labels:  open-source
Simple Notes
A simple textfield for adding quick notes without ads.
Stars: ✭ 386 (-3.98%)
Mutual labels:  open-source
Vgplayer
📺 A simple iOS video player by Vein.
Stars: ✭ 383 (-4.73%)
Mutual labels:  open-source
Raasnet
Open-Source Ransomware As A Service for Linux, MacOS and Windows
Stars: ✭ 371 (-7.71%)
Mutual labels:  open-source
I Educar
Lançando o maior software livre de educação do Brasil!
Stars: ✭ 388 (-3.48%)
Mutual labels:  open-source
Flutter Design Patterns
Flutter Design Patterns mobile application
Stars: ✭ 368 (-8.46%)
Mutual labels:  open-source
Triage
Interactive command-line GitHub issue & notification triaging tool.
Stars: ✭ 394 (-1.99%)
Mutual labels:  open-source
Slimefun4
Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
Stars: ✭ 369 (-8.21%)
Mutual labels:  open-source
Voiceripple
Voice Record Button that has ripple effect with users voice
Stars: ✭ 379 (-5.72%)
Mutual labels:  custom-view
Laravel Eloquent Uuid
A simple drop-in solution for providing UUID support for the IDs of your Eloquent models.
Stars: ✭ 388 (-3.48%)
Mutual labels:  open-source
Arx
ARX is a comprehensive open source data anonymization tool aiming to provide scalability and usability. It supports various anonymization techniques, methods for analyzing data quality and re-identification risks and it supports well-known privacy models, such as k-anonymity, l-diversity, t-closeness and differential privacy.
Stars: ✭ 398 (-1%)
Mutual labels:  open-source
Open Solution Home Credit
Open solution to the Home Credit Default Risk challenge 🏡
Stars: ✭ 397 (-1.24%)
Mutual labels:  open-source

Text Decorator

Build Status

Decorate your TextView easily

Usage

TextDecorator
        .decorate(textView, text)
        .setTextColor(R.color.colorAccent, 0, 5)
        .setBackgroundColor(R.color.colorPrimary, 6, 11)
        .strikethrough(12, 26)
        .setTextStyle(Typeface.BOLD | Typeface.ITALIC, 27, 40)
        .setTypeface("serif", 70, 77)
        .setSuperscript(78, 86)
        .setSubscript(87, 92)
        .underline(120, 200)
        .blur(3, BlurMaskFilter.Blur.NORMAL, 0, 2)
        .makeTextClickable(new OnTextClickListener() {
          @Override public void onClick(View view, String text) {
            Toast.makeText(MainActivity.this, text, Toast.LENGTH_SHORT).show();
          }
        }, 250, 270, false)
        .build();

or

TextDecorator
        .decorate(textView, text)
        .setTextColor(R.color.colorAccent, "Lorem", "amet")
        .setBackgroundColor(R.color.colorPrimary, "dolor", "elit")
        .strikethrough("Duis", "Praesent")
        .underline("sodales", "quam")
        .setSubscript("vitae")
        .makeTextClickable(new OnTextClickListener() {
          @Override public void onClick(View view, String text) {
            Toast.makeText(MainActivity.this, text, Toast.LENGTH_SHORT).show();
          }
        }, false, "porta", "commodo", "tempor venenatis nulla")
        .setTextColor(android.R.color.holo_green_light, "porta", "commodo", "tempor venenatis nulla")
        .build();

Download

Gradle

dependencies {
    compile 'com.tuyenmonkey:text-decorator:1.0.0'
}

License

Copyright 2016 Tuyen Monkey

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