Skip to content

Instantly share code, notes, and snippets.

@bruno78
Created October 22, 2018 02:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bruno78/b43dc990d149b6fc6348b9fa3ca4fe47 to your computer and use it in GitHub Desktop.
Save bruno78/b43dc990d149b6fc6348b9fa3ca4fe47 to your computer and use it in GitHub Desktop.
A scrim view to be added to the drawable folder, giving visibility to texts on white screen images
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<gradient
android:angle="-90"
android:startColor="#00000000"
android:centerColor="#00000000"
android:endColor="#4d000000"
android:type="linear" />
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment