Hardik Gajjar Hardik Gajjar - 1 year ago 212
Android Question

how to remove Black background between start new activity during slide_left animation?

when i call new activity by animation the background make black so i want to remove black back ground so how can i achieve this? ? For animation i use

overridePendingTransition (R.anim.push_up_in,0);

Answer Source

set the theme of that activity as transluscent in manifest file


so your code will be something like this

<activity android:name=".AdActivity"
        android:theme="@android:style/Theme.Translucent" />
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download