android - LinearLayout inside DrawerLayout not showing shadow -




i using linearlayout custom bottom bar should show shadow toolbar doing not being able make work, here layout:

<?xml version="1.0" encoding="utf-8"?> 

<linearlayout     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical">      <include layout="@layout/nav_toolbar"/>      ...      <linearlayout         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:background="@color/green"         android:elevation="2dp"         android:orientation="vertical">      </linearlayout> </linearlayout>  <include layout="@layout/nav_view"/> 

as understood setting elevation should show shadow, layout absolutely flat, doing wrong?





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -