How to give glow to linearlayout? : <p>I tried giving glow to linear layout like we give to textview :</p>

<pre><code> &lt;style name="shadowstyle"&gt;
    &lt;item name="android:textColor"&gt;@color/clrab&lt;/item&gt;
    &lt;item name="android:shadowColor"&gt;@color/clrab&lt;/item&gt;
    &lt;item name="android:textStyle"&gt;bold&lt;/item&gt;
    &lt;item name="android:shadowDx"&gt;0.0&lt;/item&gt;
    &lt;item name="android:shadowDy"&gt;0.0&lt;/item&gt;
    &lt;item name="android:shadowRadius"&gt;8&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>But it isn't working for linearlayout.</p>

<p>I want a output like this :</p>

<p><a href="https://i.stack.imgur.com/nIh9b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nIh9b.png" alt="enter image description here"></a></p>

<p>How to I give this glow to this linearlayout.</p>

<p>I am trying cardview layout but not working.</p>
