You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,
Thanks for library. I am using tableview and mapview as child inside split pane layout .
I want to implement horizontal scrollview for tableview .If i add horizontal scrollview as parent to table view following error occuring in split pane layout. I have tried put a layout for horizontal scrollview with table view as one child and map view as another child,but same error is coming.
Error
java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.FrameLayout$LayoutParams
at android.widget.FrameLayout.onMeasure(FrameLayout.java:224)
at android.widget.HorizontalScrollView.onMeasure(HorizontalScrollView.java:315)
at android.view.View.measure(View.java:19169)
at com.mobidevelop.spl.widget.SplitPaneLayout.onMeasure(SplitPaneLayout.java:160)
at android.view.View.measure(View.java:19169)
The text was updated successfully, but these errors were encountered:
Hi ,
Thanks for library. I am using tableview and mapview as child inside split pane layout .
I want to implement horizontal scrollview for tableview .If i add horizontal scrollview as parent to table view following error occuring in split pane layout. I have tried put a layout for horizontal scrollview with table view as one child and map view as another child,but same error is coming.
Sample code
<com.mobidevelop.spl.widget.SplitPaneLayout
android:id="@+id/layout_map_track"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/appBar_reprt_map"
android:visibility="visible">
Error
java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.FrameLayout$LayoutParams
at android.widget.FrameLayout.onMeasure(FrameLayout.java:224)
at android.widget.HorizontalScrollView.onMeasure(HorizontalScrollView.java:315)
at android.view.View.measure(View.java:19169)
at com.mobidevelop.spl.widget.SplitPaneLayout.onMeasure(SplitPaneLayout.java:160)
at android.view.View.measure(View.java:19169)
The text was updated successfully, but these errors were encountered: