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 <!--    android:background="@drawable/status_bar_closed_default_background" -->
     22 <com.android.systemui.statusbar.StatusBarView
     23     xmlns:android="http://schemas.android.com/apk/res/android"
     24     android:background="@drawable/statusbar_background"
     25     android:orientation="vertical"
     26     android:focusable="true"
     27     android:descendantFocusability="afterDescendants"
     28     >
     29 
     30     <LinearLayout android:id="@+id/icons"
     31         android:layout_width="match_parent"
     32         android:layout_height="match_parent"
     33         android:orientation="horizontal">
     34             
     35         <com.android.systemui.statusbar.IconMerger android:id="@+id/notificationIcons"
     36             android:layout_width="0dip"
     37             android:layout_weight="1"
     38             android:layout_height="match_parent"
     39             android:layout_alignParentLeft="true"
     40             android:paddingLeft="6dip"
     41             android:gravity="center_vertical"
     42             android:orientation="horizontal"/>  
     43             
     44         <LinearLayout android:id="@+id/statusIcons"
     45             android:layout_width="wrap_content"
     46             android:layout_height="match_parent"
     47             android:layout_alignParentRight="true"
     48             android:paddingRight="6dip"
     49             android:gravity="center_vertical"
     50             android:orientation="horizontal"/>    
     51 
     52         <com.android.systemui.statusbar.Clock
     53             android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon"
     54             android:layout_width="wrap_content"
     55             android:layout_height="match_parent"
     56             android:singleLine="true"
     57             android:paddingRight="6dip"
     58             android:gravity="center_vertical|left"
     59             />
     60     </LinearLayout>
     61         
     62     <LinearLayout android:id="@+id/ticker"
     63         android:layout_width="match_parent"
     64         android:layout_height="match_parent"
     65         android:paddingLeft="6dip"
     66         android:animationCache="false"
     67         android:orientation="horizontal" >
     68         <ImageSwitcher android:id="@+id/tickerIcon"
     69             android:layout_width="wrap_content"
     70             android:layout_height="match_parent"
     71             android:layout_marginRight="8dip"
     72             >
     73             <com.android.systemui.statusbar.AnimatedImageView
     74                 android:layout_width="25dip"
     75                 android:layout_height="25dip"
     76                 />
     77             <com.android.systemui.statusbar.AnimatedImageView
     78                 android:layout_width="25dip"
     79                 android:layout_height="25dip"
     80                 />
     81         </ImageSwitcher>
     82         <com.android.systemui.statusbar.TickerView android:id="@+id/tickerText"
     83             android:layout_width="0dip"
     84             android:layout_weight="1"
     85             android:layout_height="wrap_content"
     86             android:paddingTop="2dip"
     87             android:paddingRight="10dip">
     88             <TextView
     89                 android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker"
     90                 android:layout_width="match_parent"
     91                 android:layout_height="wrap_content"
     92                 android:singleLine="true"
     93                 />
     94             <TextView
     95                 android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker"
     96                 android:layout_width="match_parent"
     97                 android:layout_height="wrap_content"
     98                 android:singleLine="true"
     99                 />
    100         </com.android.systemui.statusbar.TickerView>
    101     </LinearLayout>
    102 
    103     <com.android.systemui.statusbar.DateView android:id="@+id/date"
    104         android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon"
    105         android:layout_width="wrap_content"
    106         android:layout_height="match_parent"
    107         android:singleLine="true"
    108         android:gravity="center_vertical|left"
    109         android:paddingLeft="6px"
    110         android:paddingRight="6px"
    111         android:background="@drawable/statusbar_background"
    112         />
    113 </com.android.systemui.statusbar.StatusBarView>
    114