blob: e05b0cbb105a25ead1fa6b5f491b4fccd29d2b69 [file] [log] [blame]
Doris Liubbee3bf2013-04-02 17:48:56 -07001/*
2 * Copyright (C) 2013 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.ui;
18
Doris Liubbee3bf2013-04-02 17:48:56 -070019import android.content.Context;
Doris Liubbee3bf2013-04-02 17:48:56 -070020import android.util.AttributeSet;
Doris Liubbee3bf2013-04-02 17:48:56 -070021
Michael Kolb705604d2013-04-22 10:22:21 -070022public class CameraControls extends RotatableLayout {
23
Doris Liubbee3bf2013-04-02 17:48:56 -070024 public CameraControls(Context context, AttributeSet attrs) {
25 super(context, attrs);
Doris Liude84c222013-08-30 16:25:00 -070026 setMeasureAllChildren(true);
Doris Liubbee3bf2013-04-02 17:48:56 -070027 }
28
29 public CameraControls(Context context) {
30 super(context);
Doris Liude84c222013-08-30 16:25:00 -070031 setMeasureAllChildren(true);
Doris Liufa1c3a52013-05-03 14:33:57 -070032 }
33
Doris Liubbee3bf2013-04-02 17:48:56 -070034 @Override
35 public void onFinishInflate() {
36 super.onFinishInflate();
Michael Kolb705604d2013-04-22 10:22:21 -070037 }
Doris Liubbee3bf2013-04-02 17:48:56 -070038}