Mercurial > dwindows
diff android/dw.cpp @ 2736:09775418c776
Android: Use "View" as the type for the viewList instead of LinearLayout.
LinearLayout prevented the ability to pack a scrollbox.... since the type
for scrollbox is ScrollView instead of LinearLayout. This change would also
likely be necessary when we get a separate GroupBox class.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 16 Dec 2021 14:48:52 +0000 |
parents | 850da6b24830 |
children | ee1cfa7d645e |
line wrap: on
line diff
--- a/android/dw.cpp Thu Dec 16 01:12:04 2021 +0000 +++ b/android/dw.cpp Thu Dec 16 14:48:52 2021 +0000 @@ -5394,7 +5394,7 @@ jclass clazz = _dw_find_class(env, DW_CLASS_NAME); // Get the method that you want to call jmethodID notebookPagePack = env->GetMethodID(clazz, "notebookPagePack", - "(Landroid/widget/RelativeLayout;JLandroid/widget/LinearLayout;)V"); + "(Landroid/widget/RelativeLayout;JLandroid/view/View;)V"); // Call the method on the object env->CallVoidMethod(_dw_obj, notebookPagePack, handle, (jlong)pageid, page); _dw_jni_check_exception(env);