blob: 0c0f31bed8906174e24336f8c9531417d1211287 [file] [log] [blame]
The Android Open Source Project1d4c7502008-10-21 07:00:00 -07001/*
2 * Copyright (C) 2007 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.camera;
18
The Android Open Source Project1d4c7502008-10-21 07:00:00 -070019import android.os.Bundle;
The Android Open Source Project1d4c7502008-10-21 07:00:00 -070020import android.preference.PreferenceActivity;
The Android Open Source Project1d4c7502008-10-21 07:00:00 -070021
22/**
23 * CameraSettings
24 */
The Android Open Source Project0eaec582008-12-17 18:05:54 -080025public class CameraSettings extends PreferenceActivity
The Android Open Source Project1d4c7502008-10-21 07:00:00 -070026{
27 public CameraSettings()
28 {
29 }
The Android Open Source Project0eaec582008-12-17 18:05:54 -080030
The Android Open Source Project1d4c7502008-10-21 07:00:00 -070031 protected int resourceId() {
32 return R.xml.camera_preferences;
33 }
The Android Open Source Project0eaec582008-12-17 18:05:54 -080034
The Android Open Source Project1d4c7502008-10-21 07:00:00 -070035 /** Called with the activity is first created. */
36 @Override
37 public void onCreate(Bundle icicle)
38 {
39 super.onCreate(icicle);
40 addPreferencesFromResource(resourceId());
The Android Open Source Project0eaec582008-12-17 18:05:54 -080041
The Android Open Source Project1d4c7502008-10-21 07:00:00 -070042 }
43}
44