How i can set inner shadow on right side in LinearLayout
?
Like below:
(source: part.lt)
you can just use simple View with background which will be gradient.
this gradient could be a shape drawable eg
<shape>
<gradient android:startColor="#000000" android:endColor="#FFFFFF" android:angle="90"/>
</shape>
you just need to set appropriate angle for your shadow.
create a drawable file and use the view as background.
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="#72CA5C54"
android:centerColor="#43F71803"
android:endColor="#272525"
android:angle="45"/>
</shape>