Meanwhile I've also seen this layout issue in the emulator.

On Wed, May 12, 2010 at 6:58 PM, Mariano Kamp <[email protected]>wrote:

> Ok, I see. That also means that I can't sync my animation to the default
> hide animation from the status bar, right?
>
> Any idea what to do about the layout issue referred to as (1) above?
>
>
> On Wed, May 12, 2010 at 6:40 PM, Romain Guy <[email protected]> wrote:
>
>> Applications do not have access to the status bar. It's controlled only by
>> the system and lives in a different process and a different window.
>>
>> On Wed, May 12, 2010 at 5:09 AM, Mariano Kamp <[email protected]>wrote:
>>
>>> (1)
>>>
>>> I have an issue with the following code:
>>>
>>> getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
>>> WindowManager.LayoutParams.FLAG_FULLSCREEN);
>>>
>>> On my emulator this seems to work fine. The status bar disappears and the
>>> empty space is filled with the content view. However on my Nexus One this
>>> sometimes works and sometimes the empty space remains empty/black.
>>>
>>> Any idea why this happens?
>>>
>>> I tried to counteract this, but my naive approach wasn't fruitful:
>>>
>>> handler.postDelayed(new Runnable() {
>>>
>>>               @Override
>>>              public void run() {
>>>                  v.getRootView().invalidate();
>>>                  v.getRootView().requestLayout();
>>>                  v.getRootView().forceLayout();
>>>
>>>              }
>>>          }, 800);
>>>
>>> I tried those things from above separately, synchronously and delayed.
>>>
>>>
>>> (2)
>>>
>>>  Also I wanted to check if I can remove the status bar's animation or tap
>>> into that with my own animation. To do that I tried to find the status bar.
>>> But using Activity.getWindow().getDecorView() and View.getRootView() both
>>> returned the same View, but it doesn't have the status bar as a child:
>>>
>>> [image: Screen shot 2010-05-12 at 2.02.44 PM.png]
>>>
>>> That's also what the status bar shows. My content starts with the NO_ID
>>> container, but above that there is no status bar.
>>>
>>> What's up with that? Is it hidden from ordinary apps? Could I still tap
>>> into its animation?
>>>
>>> Cheers,
>>> Mariano
>>>
>>> --
>>> 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]<android-developers%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>>
>> --
>> Romain Guy
>> Android framework engineer
>> [email protected]
>>
>> Note: please don't send private questions to me, as I don't have time to
>> provide private support.  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]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>

-- 
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

<<Screen shot 2010-05-12 at 2.02.44 PM.png>>

Reply via email to