blob: 3d6c1a2f8a1943c91948442b1959aaf18725180c [file] [log] [blame]
Joe Onorato808182d2010-07-09 18:52:06 -04001/*
2 * Copyright (C) 2010 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.systemui.statusbar.tablet;
18
19import android.content.Context;
20import android.content.res.Resources;
21import android.os.Handler;
22import android.util.AttributeSet;
23import android.util.Slog;
24import android.view.View;
25import android.widget.LinearLayout;
Daniel Sandler49371ad2011-01-27 21:20:51 -050026import android.widget.RelativeLayout;
Joe Onorato808182d2010-07-09 18:52:06 -040027import android.widget.ImageView;
Daniel Sandlerb0cc50d2010-10-26 16:55:56 -040028import android.view.MotionEvent;
Joe Onorato808182d2010-07-09 18:52:06 -040029
30import com.android.systemui.R;
31
32
Daniel Sandler49371ad2011-01-27 21:20:51 -050033public class NotificationIconArea extends RelativeLayout {
Joe Onorato808182d2010-07-09 18:52:06 -040034 private static final String TAG = "NotificationIconArea";
35
Joe Onorato808182d2010-07-09 18:52:06 -040036 IconLayout mIconLayout;
Joe Onorato808182d2010-07-09 18:52:06 -040037
38 public NotificationIconArea(Context context, AttributeSet attrs) {
39 super(context, attrs);
40
Daniel Sandler3a04ef02010-07-15 16:35:29 -040041 mIconLayout = (IconLayout)findViewById(R.id.icons);
Joe Onorato808182d2010-07-09 18:52:06 -040042 }
43
Daniel Sandler3a04ef02010-07-15 16:35:29 -040044 static class IconLayout extends LinearLayout {
45 public IconLayout(Context context, AttributeSet attrs) {
46 super(context, attrs);
Joe Onorato808182d2010-07-09 18:52:06 -040047 }
Joe Onorato808182d2010-07-09 18:52:06 -040048
Daniel Sandlerb0cc50d2010-10-26 16:55:56 -040049 public boolean onInterceptTouchEvent(MotionEvent e) {
50 return true;
Joe Onorato808182d2010-07-09 18:52:06 -040051 }
52 }
53}
54
Daniel Sandlerb0cc50d2010-10-26 16:55:56 -040055
56