Home | History | Annotate | Download | only in layout
      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 -->
     22 <!-- TODO: the icons are hard coded to 25x25 pixels.  Their size should come from a theme -->
     23 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 
     24     android:layout_width="25dp" 
     25     android:layout_height="25dp"
     26     >
     27 
     28     <com.android.systemui.statusbar.AnimatedImageView android:id="@+id/image"
     29         android:layout_width="match_parent" 
     30         android:layout_height="match_parent"
     31         />
     32 
     33     <TextView android:id="@+id/number"
     34         android:layout_width="wrap_content" 
     35         android:layout_height="wrap_content"
     36         android:layout_gravity="end|bottom"
     37         android:layout_marginEnd="1dp"
     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 
     46 </FrameLayout>