I have build a custom View (DrawView) for a drawing app. It depends heavily on a real width and height for internal bitmaps. When I try to test it with Robolectric 2.2, the view has a length and width of 0 which crashes my internal logic. How can I mock a real screen size? I use a simple LinearLayout with the DrawView as the only element in it to test. Here is my layout:I have build a custom View (DrawView) for a dra