List of usage examples for android.widget AbsoluteLayout.LayoutParams AbsoluteLayout.LayoutParams
public LayoutParams(int width, int height, int x, int y)
From source file:org.mozilla.gecko.GeckoApp.java
public void enableCameraView() { // Some phones (eg. nexus S) need at least a 8x16 preview size mMainLayout.addView(cameraView, new AbsoluteLayout.LayoutParams(8, 16, 0, 0)); }