android_layout_measure(): refactor to respect LayoutParams

This is needed when a Java widget gets measured from GTK
This commit is contained in:
Julian Winkler
2023-10-31 22:56:22 +01:00
committed by Julian Winkler
parent 8b6de0e83a
commit 3c03223085
6 changed files with 54 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ struct handle_cache {
jmethodID performClick;
jmethodID onTouchEvent;
jmethodID layoutInternal;
jmethodID measure;
} view;
struct {
jclass class;