Transparent background not working in collapsed mode
Opened this issue · 2 comments
hi,
I ma using below configuration for layout. I want my sliding panel to be with transparent background but it is not working as expected. It is having transparent background when dragged up But as soon as it collapsed to bottom it is showing white color in background.
`
<com.sothree.slidinguppanel.SlidingUpPanelLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:sothree="http://schemas.android.com/apk/res-auto"
android:id="@+id/sliding_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom"
sothree:umanoFadeColor="@android:color/transparent"
sothree:umanoPanelHeight="80dp"
sothree:umanoParallaxOffset="100dp"
android:background="@android:color/transparent"
sothree:umanoOverlay="false"
sothree:umanoClipPanel="false"
sothree:umanoShadowHeight="@dimen/size_0dp">
<!--main content with map fragment-->
<FrameLayout
android:id="@+id/frmMapContainer"
android:layout_width="match_parent"
android:layout_height="match_parent">
<fragment
android:id="@+id/mapView"
android:name="com.google.android.gms.maps.MapFragment"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</FrameLayout>
<!-- sliding panel content-->
<LinearLayout
android:id="@+id/lin_panelContainer"
android:layout_width="match_parent"
android:layout_height="@dimen/size_500dp"
android:background="@android:color/transparent"
android:orientation="vertical">
<ImageView
android:id="@+id/imgAnchor"
android:layout_width="match_parent"
android:layout_height="@dimen/size_20dp"
android:layout_gravity="center"
android:background="@drawable/write_post_bg"
android:src="@drawable/ic_anchor_handle"
android:tint="@color/colorBlue" />
</LinearLayout>
</com.sothree.slidinguppanel.SlidingUpPanelLayout>`
我也遇到了这个问题
The same question