samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/VerticalGridSupportActivity.java
@Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.vertical_grid_support);
        // TODO: use BackgroundManager here
        getWindow().setBackgroundDrawableResource(R.drawable.bg);
    }
/** Called when the activity is first created. */
Called when the activity is first created.
Called when the activity is first created .
@Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.vertical_grid_support);
        getWindow().setBackgroundDrawableResource(R.drawable.bg);
    }
@ Override public void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( R . layout . vertical_grid_support ) ; getWindow ( ) . setBackgroundDrawableResource ( R . drawable . bg ) ; }
Called when the activity is first created.
Called when the activity is first created .
// TODO: use BackgroundManager here