You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
View: handle View.INVISIBLE the same way as View.GONE
This commit is contained in:
@@ -158,9 +158,8 @@ JNIEXPORT void JNICALL Java_android_view_View_setVisibility(JNIEnv *env, jobject
|
||||
case android_view_View_VISIBLE:
|
||||
gtk_widget_set_visible(widget, true);
|
||||
break;
|
||||
// TODO: View.INVISIBLE should still reserve layout space for the hidden view
|
||||
case android_view_View_INVISIBLE:
|
||||
printf("!!! View.INVISIBLE not implemented, now is a good time to check what it's supposed to do ;)\n");
|
||||
break;
|
||||
case android_view_View_GONE:
|
||||
gtk_widget_set_visible(widget, false);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user