The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* apps/common/assets/default/default/skins/StatusBar.xml |
| 4 | ** |
| 5 | ** Copyright 2006, The Android Open Source Project |
| 6 | ** |
| 7 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | ** you may not use this file except in compliance with the License. |
| 9 | ** You may obtain a copy of the License at |
| 10 | ** |
| 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ** |
| 13 | ** Unless required by applicable law or agreed to in writing, software |
| 14 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | ** See the License for the specific language governing permissions and |
| 17 | ** limitations under the License. |
| 18 | */ |
| 19 | --> |
| 20 | |
| 21 | <!-- The icons are a fixed size so an app can't mess everything up with bogus images --> |
Peter Ng | 6ccd7a5 | 2011-08-22 16:58:43 -0700 | [diff] [blame] | 22 | <!-- TODO: the icons are hard coded to 25x25 pixels. Their size should come from a theme --> |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 23 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 24 | android:layout_width="25dp" |
| 25 | android:layout_height="25dp" |
| 26 | > |
| 27 | |
Joe Onorato | 79de0c5 | 2010-05-26 17:03:26 -0400 | [diff] [blame] | 28 | <com.android.systemui.statusbar.AnimatedImageView android:id="@+id/image" |
Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 29 | android:layout_width="match_parent" |
| 30 | android:layout_height="match_parent" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 31 | /> |
| 32 | |
| 33 | <TextView android:id="@+id/number" |
| 34 | android:layout_width="wrap_content" |
| 35 | android:layout_height="wrap_content" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 36 | android:layout_gravity="end|bottom" |
| 37 | android:layout_marginEnd="1dp" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 38 | android:layout_marginBottom="1dp" |
| 39 | android:textSize="10sp" |
| 40 | android:textColor="#ffffffff" |
| 41 | android:background="@drawable/ic_notification_overlay" |
| 42 | android:gravity="center" |
| 43 | android:textStyle="bold" |
| 44 | /> |
| 45 | |
Peter Ng | 6ccd7a5 | 2011-08-22 16:58:43 -0700 | [diff] [blame] | 46 | </FrameLayout> |