How to make activities native to screen size automatically
Hi, I'm working on an app that has an IRC chatroom and I've been given code to embed into a custom page. No problems so far except the screen needs to be scrolled to read the chat (from left to right). I can adjust the code to fit my particular phone, but then it doesn't fit my tablet of a different screen resolution.
How can I make the code (chatroom) scalable to fit any screen?
Here's an example snippet of the given code.
align="left" frameborder="0" height="600" scrolling="no" src="http://notarealurl.com" width="300"
Thanks,
Mike
How can I make the code (chatroom) scalable to fit any screen?
Here's an example snippet of the given code.
align="left" frameborder="0" height="600" scrolling="no" src="http://notarealurl.com" width="300"
Thanks,
Mike
Tagged:
Comments
For example. Netflix starts in portrait. Find the movie you are looking for, click play and it switches to landscape mode automatically. You can't then rotate your screen and watch movies in portrait mode because it is locked to view in landscape only.
We need an option to lock it down to the orientation of our choice, per each activity. I have some apps with 50+ demos or mini games and always get complaints about this problem.
<iframe width="100%" height="100%" scrolling="no" src="http://widget.mibbit.com/?settings=91824d3bed227b3193ddde34ae35a48f&server=irc.mibbit.net&channel=#Chaturbate"></iframe>
More detailed instructions here:
http://www.dynamicdrive.com/forums/showthread.php?2568-Looking-for-code-to-auto-resize-images-with-window-resize-without-reload