Mercurial > dwindows
diff android/dw.cpp @ 2675:a7868380098f
Android: LinearLayout does not allow null views, if null, create a Placeholder view.
Pack the empty placeholder into the LinearLayout to accomplish the same effect.
This allows us to center things with expandable placeholders.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 19 Oct 2021 11:01:16 +0000 |
parents | 0ed61ddb9957 |
children | 95f61d3f3d0d |
line wrap: on
line diff
--- a/android/dw.cpp Mon Oct 18 20:50:55 2021 +0000 +++ b/android/dw.cpp Tue Oct 19 11:01:16 2021 +0000 @@ -1431,7 +1431,7 @@ { JNIEnv *env; - if(box && item && (env = (JNIEnv *)pthread_getspecific(_dw_env_key))) + if(box && (env = (JNIEnv *)pthread_getspecific(_dw_env_key))) { // First get the class that contains the method you need to call jclass clazz = _dw_find_class(env, DW_CLASS_NAME);