1 /* This file is auto-generated from VerticalGridActivity.java. DO NOT MODIFY. */ 2 3 /* 4 * Copyright (C) 2014 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 7 * in compliance with the License. You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software distributed under the License 12 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 13 * or implied. See the License for the specific language governing permissions and limitations under 14 * the License. 15 */ 16 package com.example.android.leanback; 17 18 import android.support.v4.app.FragmentActivity; 19 import android.os.Bundle; 20 21 public class VerticalGridSupportActivity extends FragmentActivity 22 { 23 /** Called when the activity is first created. */ 24 @Override onCreate(Bundle savedInstanceState)25 public void onCreate(Bundle savedInstanceState) 26 { 27 super.onCreate(savedInstanceState); 28 setContentView(R.layout.vertical_grid_support); 29 // TODO: use BackgroundManager here 30 getWindow().setBackgroundDrawableResource(R.drawable.bg); 31 } 32 } 33