I have a physical Kindle Fire 7 HD to test on, and all works well. Prior to release, I have been working with the Fire Emulators. I have two problems. 1) I draw a frame as a border. On the emulators the frame is skewed (not square with the display). Further, there is a break in the path I draw within the frame, from the top left to bottom right corner. Path lines do not meet. (All path lines are horizontal or vertical.) 2) The frame is filled in the 7 inch emulator; but not in the 3rd Gen or 8.9. I was sure my lack of layout-large (xlarge) were the problem. But, no, the problem persists after adding them. (I simply copied the content of layout/mylayout.xml into the others. Is that a problem?) The code is simple. I tried both getMeasureWidth/Height and getWidth/Hight in the views onDraw(). borderRect = new Rect(0, 0, this.getWidth() - 1, this.getHeight() - 1); Then set Paint and Style and canvas.drawRect(borderRect, paint) I think (1) is an emulator problem. I would appreciate some advise on how to get my code to fill the screen.
I solved my problem (2). The trouble was with the layout. I had a dimems.xml layout margin of 16dp defined. I used that in all the layouts in separate folders. The solution was to create a margin layout definition for each folder. layout_horz_margin, layout_large_horz_margin, etc, one for each folders layout. Seems to me the single definition should have worked; but it works now which is just fine by me. Still have the skewed border within the kindle display. I would like to know if others see a similar effect.