I am trying to emulate a software keyboard using an Activity with Theme.Dialog. The keyboard activity covers only part of the screen. The underlying activity is still active a
if u are using custom dialog u can acess the variables in main activity using its mainactivity context.for that u need to cast the context in mainactivity type