View: implement visibility and alpha properly

This commit is contained in:
Julian Winkler
2023-11-12 10:43:28 +01:00
parent 1a039e5e51
commit bff62a6e77
3 changed files with 18 additions and 19 deletions

View File

@@ -298,10 +298,10 @@ JNIEXPORT void JNICALL Java_android_view_View_setBackgroundColor
/*
* Class: android_view_View
* Method: native_setVisibility
* Signature: (JI)V
* Signature: (JIF)V
*/
JNIEXPORT void JNICALL Java_android_view_View_native_1setVisibility
(JNIEnv *, jobject, jlong, jint);
(JNIEnv *, jobject, jlong, jint, jfloat);
#ifdef __cplusplus
}