1a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav/* 2a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * Copyright (C) 2014 The Android Open Source Project 3a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * 4a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * Licensed under the Apache License, Version 2.0 (the "License"); 5a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * you may not use this file except in compliance with the License. 6a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * You may obtain a copy of the License at 7a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * 8a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * http://www.apache.org/licenses/LICENSE-2.0 9a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * 10a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * Unless required by applicable law or agreed to in writing, software 11a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * distributed under the License is distributed on an "AS IS" BASIS, 12a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * See the License for the specific language governing permissions and 14a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * limitations under the License. 15a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav */ 16a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav 17a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslavpackage com.android.printspooler.ui; 18a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav 19a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslavimport android.app.Fragment; 20a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslavimport android.os.Bundle; 21a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslavimport android.view.LayoutInflater; 22a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslavimport android.view.View; 23a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslavimport android.view.ViewGroup; 24a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav 25a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslavimport com.android.printspooler.R; 26a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav 27a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav/** 28a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav * Fragment for showing a work in progress UI. 29a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav */ 30a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslavpublic final class PrintProgressFragment extends Fragment { 31a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav public static PrintProgressFragment newInstance() { 32a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav return new PrintProgressFragment(); 33a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav } 34a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav 35a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav @Override 36525a66b2bb5abf844aff2109bdc9ed819566beceSvet Ganov public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { 37a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav return inflater.inflate(R.layout.print_progress_fragment, root, false); 38a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav } 39a798c0a984f29f7180883a61839f68d2cbf0c6ceSvetoslav} 40