Skip to content

kakai248/TransparentTextTextView

This branch is 1 commit ahead of, 21 commits behind gilvegliach/TransparentTextTextView:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7c3672c · Mar 20, 2016

History

14 Commits
Jan 30, 2016
Jan 24, 2016
Jan 30, 2016
Mar 20, 2016
Jan 25, 2016
Jan 25, 2016
Jan 30, 2016
Jan 30, 2016
Jan 30, 2016
Dec 28, 2015
Jan 24, 2016
Dec 28, 2015
Jan 24, 2016

Repository files navigation

Transparent text TextView

This is a small library containing a TextView that renders its text as transparent, so that you can see through and underneath the text. The technique is described in detail here.

Example

Usage

In xml:

<it.gilvegliach.android.transparenttexttextview.TransparentTextTextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@drawable/view_bg"
    android:text="Hello World" />

In code:

TransparentTextTextView tv = new TransparentTextTextView(getContext());
tv.setText("Hello World");

Gradle

compile 'it.gilvegliach.android:transparent-text-textview:1.0.1'

License

Copyright 2016 Gil Vegliach

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.

About

TextView with transparent text.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 87.5%
  • Shell 12.5%