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
LinearLayout: set GtkBox to homogeneous if all child weights are equal
Real weighted allocation is not supported by GtkBox
This commit is contained in:
@@ -223,6 +223,14 @@ JNIEXPORT void JNICALL Java_android_widget_LinearLayout_setOrientation
|
||||
JNIEXPORT jint JNICALL Java_android_widget_LinearLayout_getOrientation
|
||||
(JNIEnv *, jobject);
|
||||
|
||||
/*
|
||||
* Class: android_widget_LinearLayout
|
||||
* Method: native_setHomogenousWeight
|
||||
* Signature: (JZ)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_android_widget_LinearLayout_native_1setHomogenousWeight
|
||||
(JNIEnv *, jobject, jlong, jboolean);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user