FileDocCategorySizeDatePackage
RotationActivity.javaAPI DocAndroid 5.1 API2025Thu Mar 12 22:22:44 GMT 2015com.android.test.hwui

RotationActivity

public class RotationActivity extends android.app.Activity

Fields Summary
Constructors Summary
Methods Summary
static intdipToPx(android.content.Context c, int dip)

        return (int) (c.getResources().getDisplayMetrics().density * dip + 0.5f);
    
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);

        DrawingView container = new DrawingView(this);

        setContentView(container);