ImageView: allow non bitmap Drawables

Also pass size of child paintable in DrawableContainer
This commit is contained in:
Julian Winkler
2023-12-30 23:35:33 +01:00
parent b393a6bf1d
commit 790255f9ca
4 changed files with 49 additions and 1 deletions

View File

@@ -215,6 +215,14 @@ JNIEXPORT jlong JNICALL Java_android_widget_ImageView_native_1constructor
JNIEXPORT void JNICALL Java_android_widget_ImageView_native_1setPixbuf
(JNIEnv *, jobject, jlong);
/*
* Class: android_widget_ImageView
* Method: native_setDrawable
* Signature: (JJ)V
*/
JNIEXPORT void JNICALL Java_android_widget_ImageView_native_1setDrawable
(JNIEnv *, jobject, jlong, jlong);
#ifdef __cplusplus
}
#endif