且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

有没有办法将 EditText/输入字段放入主屏幕小部件?

更新时间:2023-08-17 17:44:34

FriendStream 可以做到,因为它使用了修改后的 Sense 主屏幕.它还启用了自 3.0 (Honeycomb) 及更高版本以来只能在普通"Android 上进行的滚动.

FriendStream can do it because it uses the modified Sense homescreens. It also enables scrolling that is only possible on "stock" Android since 3.0 (Honeycomb) and above.

继续:

  • Sense:至少从 1.5 开始启用(我认为之前)在任何 Android 版本的主屏幕上输入和滚动

  • Sense: Enables since 1.5 at least (and i think before) input and scroll on any Android version homescreens

Android 3.0:开始支持部分 Sense 功能,例如在主屏幕上滚动但仍无法输入

Android 3.0: Started supporting some of the Sense features, for example scroll on home screen but still not input

因此,您可以通过主屏幕上的 edittext(或类似的方式)添加输入,但只能在 HTC Sense 手机上.

So, you can probably add input via edittext on homescrens (or somethink like it) but ONLY on HTC Sense phones.

虽然我认为这不是一个好主意,但这已经是你的选择:-)

I don't think that's a good ideia though, but that's already your choice :-)