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
stub some APIs for Flappy Bird, mostly webview related
This commit is contained in:
@@ -8,6 +8,7 @@ import android.os.Bundle;
|
||||
|
||||
import android.widget.TextView;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.Window;
|
||||
import android.view.WindowManager;
|
||||
@@ -169,6 +170,10 @@ public class Activity extends Context {
|
||||
});*/
|
||||
}
|
||||
|
||||
public void setContentView(View view, ViewGroup.LayoutParams layoutParams) {
|
||||
setContentView(view);
|
||||
}
|
||||
|
||||
public void setContentView(View view) {
|
||||
window.setContentView(view);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user