help me please. :(
how can i put the TextView in the center of the screen, dynamically?
i mean, any type of screen resolution its fix in the center of the screen.
thanks in advance. :)
on 02/08/2013 – Made popular on 02/08/2013
i wanna to add EditText beside Button in the center of screen without using margin to appear permanently in the center of all sizes of screens,i used for EditText android:layout_gravity="center|center_vertical" and android:layout_gravity="right|center_vertical" for button
i tested it on my nexus 7 screen but it's appear at the left of the screen as shown in photo
( http://imgur.com/tzl2CWF )
Ok... So I am running Ubuntu 12.10. I installed a NES emulator from the software center. I downloaded a ROM, played it, and everything worked fine. I decided to run in full screen mode (Because it's not fun playing on a 2-inch screen) and it properly switched resolution to 640*480 to run in full screen mode. Then, being used to windows, I used Alt+Enter to Exit full screen mode.