[List of FAQs] | [Android FAQ] | [Samuh Varta]
Monu Tripathi wrote:Ran this under default emulator settings(320 x 480 HVGA):
I created an Activity that had only one custom View with Height and Width as "fill_parent". The Activity had both the default title bars;
I printed View#getHeight() and View#getWidth() inside onDraw of the View and got following values for Height and Width:
I get same values on Hero too. So, IMO that's the answer you want.