[android-developers] Re: Loading Object Hierarchy

2009-11-23 Thread matt parker
So, in case anyone encounters this issue, it turns out you can do this: int resourceId = (getResources().getIdentifier(, "drawable", )); and then use the resourceId as normal. So, you can just put the name of the resource into the xml. On Nov 19, 11:07 pm, matt parker wrote:

[android-developers] Re: Loading Activity Darkens Screen/Loading Screen

2009-11-19 Thread matt parker
Thanks for the suggestion, Cheng, but I think what I'm looking for is a transition animation. Does anyone know a simple example with a couple very basic activities? Matt On Nov 5, 7:19 pm, Cheng Zhong wrote: > You can try Dialog instead. > > On 11月3日, 上午11时24分, matt

[android-developers] Loading Object Hierarchy

2009-11-19 Thread matt parker
Hey guys, I'm trying to figure out how load a complex object hierarchy (not that complex, basically 3 levels), with objects that contain strings, ints, images, and sounds. I can make a custom xml solution for strings and ints, but how do I put in drawables and raw sounds? I need the generated R

[android-developers] Loading Activity Darkens Screen/Loading Screen

2009-11-05 Thread matt parker
Hello, I've looked through the documentation and I can't seem to figure out how to have the screen blured/greyed when I select an activity that may take a while to load. This seems to be an Android standard (both the Camera app and the Camcorder app do it when first selected), but I don't see any