To make a TextView text look transparent we need to set the android:alpha attribute to it.
It has a range of 0-1,
If you set android:alpha ="0.1" the text will be 90% transparent, whereas
If you set android:alpha ="0.9" the text will appear 10% transparent (i.e. almost opaque)
You can set alpha manually in XML view, or by simply using the Properties window in the design view of Android Studio (or eclipse equivalent)

Setting alpha property
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:alpha="0.7"
android:text="@string/hello_world" />
✏️ Note that the alpha attribute is available from API level 11 and higher, so if you are using minSDK levels below level then you won't get any error but the application will simply ignore this attribute and you will not be able to see the effect.
More Posts related to Android,
- Check Internet Connection WIFI 4G is active on Android Programmatically
- Android Emulator cannot be opened because the developer cannot be verified. [M1 Mac]
- How to Change Android Toast Position?
- Fail to connect to camera service Android java RuntimeException
- How to create Custom RatingBar Android Programming Tutorial
- Fixing Android unknown error 961 while downloading app
- Android AlertDialog with Yes No and Cancel Button
- Share or Send SMS via Android Intent
- The Android Virtual Device myEmulator is currently running an emulator and cannot be deleted.
- Pass data between two Android Activities and access it using Intent
- SQLite with Android Easy to Understand Tutorial that covers Select, Insert, Update and Delete
- [FIX] AndroidRuntime: FATAL EXCEPTION: main - java.lang.RuntimeException NullPointerException
- Android EditText Cursor Colour appears to be white
- Android Development - How to switch between two Activities
- Android xml error Attribute is missing the Android namespace prefix [Solution]
- Android : Remove ListView Separator/divider programmatically or using xml property
- Android is starting optimizing... app 1 of 1
- java.lang.NoClassDefFoundError android.support.v4.content.LocalBroadcastManager
- AlertDialog with single button example : Android
- Android : Exception raised during rendering: action_bar API 22
- Maven : java.lang.ClassNotFoundException: Xmx512m
- Android Lint app_name is not translated in af (Afrikaans) am (Amharic) ar (Arabic) bg (Bulgarian)
- Center align text in TextView Android Programming
- How to Download and Install Android adb Tool on Linux, Mac or Windows
- Multiline EditText in Android Example
More Posts:
- Configure AWS Access ID and Secret Keys using CLI on Mac - AWS
- [Solutions] Android Error in an XML file: aborting build. Eclipse SDK - Android
- How to connect to Microsoft Exchange Online using PowerShell - Powershell
- How to use Autocomplete and Autosuggestion in Shell Commands - Bash
- 16: Find the largest element in a List - 1000+ Python Programs - Python-Programs
- How to reset Eclipse IDE Code Font - Eclipse
- How to create SharePoint List Item programmatically using C#.net - SharePoint
- Docker MySQL Compose File with Volume Example - Docker