Skip to content

Instantly share code, notes, and snippets.

@sazal-ns
Created May 8, 2019 22:41
Show Gist options
  • Select an option

  • Save sazal-ns/0013d05b7d7cb52854decdba48bf207b to your computer and use it in GitHub Desktop.

Select an option

Save sazal-ns/0013d05b7d7cb52854decdba48bf207b to your computer and use it in GitHub Desktop.

Revisions

  1. sazal-ns created this gist May 8, 2019.
    13 changes: 13 additions & 0 deletions image_overlay.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    <?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:centerY="0.3"
    android:startColor="#CC000000"
    android:centerColor="#66000000"
    android:endColor="#00000000"
    android:type="linear"/>

    </shape>