If you notice at the top of the View. There is a light gradient.
How should I go about creating this ?
e.g.
- Insert a view with a gradient background ?
- Use a top border of sorts ?
Any help would be great !
If you notice at the top of the View. There is a light gradient.
How should I go about creating this ?
e.g.
Any help would be great !
create gradient.xml
in /res/drawable
:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="#FFFFFF"
android:endColor="#00000000"
android:angle="45"/>
</shape>