165ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley/* 265ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * Copyright (C) 2017 The Android Open Source Project 365ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * 465ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * Licensed under the Apache License, Version 2.0 (the "License"); 565ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * you may not use this file except in compliance with the License. 665ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * You may obtain a copy of the License at 765ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * 865ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * http://www.apache.org/licenses/LICENSE-2.0 965ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * 1065ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * Unless required by applicable law or agreed to in writing, software 1165ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * distributed under the License is distributed on an "AS IS" BASIS, 1265ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1365ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * See the License for the specific language governing permissions and 1465ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley * limitations under the License. 1565ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley */ 1665ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley 1765ab191c2a396a77d24227719c7c1e7656b48084Sean Kelleypackage com.example.android.support.wear.app.drawers; 1865ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley 1965ab191c2a396a77d24227719c7c1e7656b48084Sean Kelleyimport android.app.Fragment; 2065ab191c2a396a77d24227719c7c1e7656b48084Sean Kelleyimport android.os.Bundle; 2165ab191c2a396a77d24227719c7c1e7656b48084Sean Kelleyimport android.view.LayoutInflater; 2265ab191c2a396a77d24227719c7c1e7656b48084Sean Kelleyimport android.view.View; 2365ab191c2a396a77d24227719c7c1e7656b48084Sean Kelleyimport android.view.ViewGroup; 2465ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley 2565ab191c2a396a77d24227719c7c1e7656b48084Sean Kelleyimport com.example.android.support.wear.R; 2665ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley 2765ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley/** {@link Fragment} which contains a {@link android.widget.ScrollView} */ 2865ab191c2a396a77d24227719c7c1e7656b48084Sean Kelleypublic class ScrollViewFragment extends Fragment { 2965ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley 3065ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley @Override 3165ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley public View onCreateView(LayoutInflater inflater, ViewGroup container, 3265ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley Bundle savedInstanceState) { 3365ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley return inflater.inflate(R.layout.wearable_drawers_scroll_view_demo, container, false); 3465ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley } 3565ab191c2a396a77d24227719c7c1e7656b48084Sean Kelley} 36