Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/matthewrkula/SecretTextView
- Owner: matthewrkula
- License: apache-2.0
- Created: 2014-05-28T04:33:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-03T22:07:21.000Z (over 9 years ago)
- Last Synced: 2024-07-31T18:16:50.914Z (5 months ago)
- Language: Java
- Size: 198 KB
- Stars: 614
- Watchers: 29
- Forks: 121
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- -awesome-android-ui - SecretTextView - 2.0) | ![](/art/SecretTextView.gif) (Index `(light-weight pages)`)
- awesome-android-ui - SecretTextView - 2.0) | ![](/art/SecretTextView.gif) (Index `(light-weight pages)`)
- awesome-android-ui - SecretTextView - 2.0) | ![](/art/SecretTextView.gif) (Index)
- awesome-android-ui - https://github.com/matthewrkula/SecretTextView
- awesome-android-ui - https://github.com/matthewrkula/SecretTextView
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);
```