android - SetContentView without displaying the screen (yet)? -


is there way in android activity setcontentview(), can have android compute layout, , can views in via findviewbyid(), but not yet display it?

this in app main activity , subordinate activities , 1 want start not display 1 of subordinate activities. (in other words main view filling screen, sufficient keep new 1 hidden @ bottom of view hierarchy). activity started "standard" launch mode.

if there's way keeping @ bottom of view hierarchy, how force top when want display it?

note: app exists - it's large, complex industrial app 14 activities, written android 2.35 , 2.36, re-architecting use fragments instead of activities impractical. want modify 1 activity not display, or display @ bottom of view hierarchy it's not visible.

this in app main activity , subordinate activities , 1 want start not display 1 of subordinate activities

that not possible. or, more accurately, welcome start activity , not populate ui, still take on screen, , user presented blank screen, not useful.

in other words main view filling screen, sufficient keep new 1 hidden @ bottom of view hierarchy

each activity has own view hierarchy. "subordinate activity" cannot , not @ top, bottom, or anywhere else respect other activity's view hierarchy.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -