可调整大小的小部件的Andr​​oid [英] Resizable widget android

查看:242
本文介绍了可调整大小的小部件的Andr​​oid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法,我们可以根据主屏幕的空间,使一个可调整大小的窗口小部件在android系统?
例如,如果主屏幕空的,我可以让我的大部件。
如果有其他图标,我想调整我的窗口小部件,根据留在主屏幕的空间变得越来越小。

Is there any way we can make a resizable widget in android according to the space in home screen? For example if the home screen empty, i can make my large widget. If there other icon, i want to resize my widget become smaller according to the space left in home screen.

感谢。

推荐答案

常见的做法我已经看到到目前为止是使不同尺寸的多个部件,并让用户决定,他/她prefers其大小。我不知道,有一个自动化的方式来实现这种行为!

Common practice I have seen so far is to make several widgets in different sizes and let the user decide, which size he/she prefers. I am not sure, that there is an automated way to achieve this behavior!

这篇关于可调整大小的小部件的Andr​​oid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆