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
api-impl: quick&dirty implementations and stubing
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package android.view;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.view.SurfaceHolder;
|
||||
|
||||
public class Window {
|
||||
@@ -84,6 +85,12 @@ public class Window {
|
||||
return new WindowManager.LayoutParams();
|
||||
}
|
||||
|
||||
public void setBackgroundDrawable(Drawable drawable) {
|
||||
/* TODO: should this be *under* the contentView background? */
|
||||
if (contentView != null)
|
||||
contentView.setBackgroundDrawable(drawable);
|
||||
}
|
||||
|
||||
public void setAttributes(WindowManager.LayoutParams params) {}
|
||||
|
||||
public void takeSurface(SurfaceHolder.Callback2 callback) {}
|
||||
|
||||
Reference in New Issue
Block a user