Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matthewrkula/SecretTextView

A TextView that simulates the effect from the app Secret where the characters fade in/out at different speeds.
https://github.com/matthewrkula/SecretTextView

Last synced: 2 months ago
JSON representation

A TextView that simulates the effect from the app Secret where the characters fade in/out at different speeds.

Awesome Lists containing this project

README

        

SecretTextView
==============

[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-SecretTextView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1316)

A TextView that simulates the effect from the app Secret where the characters fade in/out at different speeds.

How To Use
==============
Use it just like a normal TextView for the most part.
```xml

```

To fade in or fade out the text:
```java
secretTextView.show(); // fade in
secretTextView.hide(); // fade out
secretTextView.toggle(); // fade in or out depending on current state
```

To change the duration of the fading (default is 2.5 seconds):
```java
secretTextView.setDuration(3000); // set fade duration to 3 seconds
```

To set visibility without fading in or out:
```java
secretTextView.setIsVisible(true);
secretTextView.setIsVisible(false);
```