There is no such concept as "the size of each individual screen" for wallpapers. First, it depends on the current launcher and how many screens it want to have. Second, because launchers usually use parallax (though they don't have to), there is on 1:1 correspondence between screens in the launcher and parts of the fragment wallpaper. Third, because the screen can be in landscape or portrait the parts of the wallpaper shown for each screen will vary depending on that.
If you want to do something that has a tighter interaction with the launcher like this, you will need to implement a live wallpaper where you can respond to what is going on in the launcher as it happens. On Thu, Jun 2, 2011 at 5:04 PM, Spooky <[email protected]> wrote: > On Jun 2, 6:18 pm, Romain Guy <[email protected]> wrote: > > > Wallpapers are larger than the screen, you can query the size > > the wallpaper should have by using the WallpaperManager API. > > Let's see, I've already tried (as shown in the revised code > in my previous post) getDesiredMinimumHeight() and > getDesiredMinimumWidth(), using those for the X/Y values, > and that didn't help. > > After your post, I re-read everything in the Reference page > for the WallpaperManager (in the DevGuide) for the third time > today, and still didn't find anything else that seemed like it > would be applicable in finding the size of each individual > screen, except for one: suggestDesiredDimensions, but the > Reference page says that's reserved for the current Home > application, which isn't me. Should I use it anyways? > > Or did I miss something all three times through it? (Serious > question---but I've posted the reasons enough times by now, > so I won't bore everyone with them again....) > > Later, > --jim > > -- > 73 DE N5IAL (/4) | DMR: So fsck was originally called > [email protected] | something else. > < Running FreeBSD 7.0 > | Q: What was it called? > ICBM / Hurricane: | DMR: Well, the second letter was different. > 30.44406N 86.59909W | -- Dennis M. Ritchie, Usenix, June 1998. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

