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