确定当前主屏幕小部件/图标布局

时间:2017-01-23 05:40:35

标签: android xamarin xamarin.android

我有动态壁纸功能(name:function (){D("Firebase.key",0,0,arguments.length);return this.path.e()?null:me(this.path)} savekey.html:104 camila savekey.html:105 0172 savekey.html:106 camila@dept.com ),在android.software.live_wallpaper内您获得了EngineSurfaceHolder等等:

爪哇:

Canvas

C#:

SurfaceHolder holder = getSurfaceHolder();
Canvas canvas = holder.lockCanvas();
// Draw on the canvas
holder.unlockCanvasAndPost(canvas);

创建壁纸Canvas canvas = SurfaceHolder.LockCanvas(); // Draw on the canvas SurfaceHolder.UnlockCanvasAndPost(canvas); 并在Service上绘图但没有问题...

我想做什么来确定当前主屏幕的小部件和图标的布局或位置,以确定我是否想要在它们周围绘制,调整我的drawables以便在杂乱的桌面中看到或仅使用图标作为Pachinko机器并使球落下并弹回它们的动画,但我找不到访问该布局的API(假设它是CanvasView的集合?)。

0 个答案:

没有答案