java - Call methods that usually gets called on new screen orientation -


i working on android project right has been written else. noticed bug code requests new screen orientation, not because needed, because views needs repositioned due settings.xml new positions.

now wondering methods called when screen orientation changed? tried each view needs drawn , invalidate it, because thought result in view being redrawn, didn't change positioning of view.

i did this:

int[] viewids = {r.id.fooview, r.id.barview};  (int i=1; i<viewids.length; i++) {     view v = findviewbyid(viewids[i]);     v.invalidate(); } 

what correct way reposition views after new position details loaded xml?


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -