java - Having trouble with the umano android slidinguppanel 2 views as sliding child -



java - Having trouble with the umano android slidinguppanel 2 views as sliding child -

i using library umanoandroidslidinguppanel , works fine theres problem cant fix. main kid mapview (static main view) working fine , sec kid (the slidinguppanel) responsive html file in webview , imageview. problem when swipe slide panel cant scroll html file within webview. library states can create single view draggable can scroll other dont know how help appreciated. heres xml file

<com.sothree.slidinguppanel.slidinguppanellayout xmlns:sothree="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/sliding_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="bottom" sothree:panelheight="50dp" sothree:shadowheight="4dp"> <fragment android:id="@+id/map" android:layout_width="match_parent" android:layout_height="match_parent" android:name="com.google.android.gms.maps.mapfragment"/> <linearlayout android:layout_width="match_parent" android:id="@+id/llayout" android:orientation="vertical" android:layout_height="match_parent" > <imageview android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity ="center_horizontal" android:src="@drawable/divider"> </imageview> <webview android:layout_width="match_parent" android:id="@+id/desc" android:layout_height="wrap_content" android:layout_alignparentbottom="true" android:paddingbottom="7dp"/> </linearlayout> </com.sothree.slidinguppanel.slidinguppanellayout>

i fixed had phone call library method setting dragview , set imageview draggable webview scroll normally, heres how did it:

imageview image=(imageview)findviewbyid(r.id.divideri); //layout slide slidinguppanellayout layout = (slidinguppanellayout) findviewbyid(r.id.sliding_layout); layout.setdragview(image);

over , out ...

java android xml slidingdrawer

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -