Ok, thanks. I ended just doing the animation very fast... such that the 
user doesn't have time to think about it ;)



Am Dienstag, 14. August 2012 08:12:17 UTC+2 schrieb Dianne Hackborn:
>
> I assume you mean the part of your window that is normally behind the 
> status bar?
>
> If so, there is no simple way to do this.  Aside from just making your app 
> fullscreen so there is no status bar (and thus your content draws all the 
> way to the top), you'd need to do an approach like playing games where you 
> make your window translucent, set it to not have a background, and make 
> sure that tap part of your window is transparent when it is drawn.
>
> Note that in 3.1 the platform know does some tricks to prevent that top 
> part of the window from being drawn when it determines it is obscured by 
> the status bar prior to any transformation applied by an animation etc.
>
> On Sat, Aug 11, 2012 at 2:20 PM, user123 <ivans...@gmail.com <javascript:>
> > wrote:
>
>> I defined a scale animation from 0 to 1 for entering activity:
>>
>> overridePendingTransition(R.anim.scale, 0);    
>>
>> In application tag in Manifest:
>>
>> android:theme="@android:style/Theme.NoTitleBar"
>>
>> But I get a black topbar on the entering activity, while it scales... 
>> looks very ugly since the activity doesn't have this topbar. How do I hide 
>> it?
>>  
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> android-d...@googlegroups.com<javascript:>
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> -- 
> Dianne Hackborn
> Android framework engineer
> hac...@android.com <javascript:>
>
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to