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 <FrameLayout
     23     xmlns:android="http://schemas.android.com/apk/res/android"
     24     android:layout_height="32dip"
     25     android:layout_width="match_parent"
     26     android:paddingLeft="8dip"
     27     android:paddingRight="8dip"
     28     >
     29         
     30     <LinearLayout 
     31         android:id="@+id/intruder_alert_content"
     32         android:layout_width="match_parent"
     33         android:layout_height="match_parent"
     34         android:gravity="center"
     35         android:animationCache="false"
     36         android:orientation="horizontal"
     37         android:background="@drawable/alert_bar_background"
     38         android:clickable="true"
     39         android:focusable="true"
     40         android:descendantFocusability="afterDescendants"
     41         >
     42 
     43         <ImageView
     44             android:id="@+id/alertIcon"
     45             android:layout_width="25dip"
     46             android:layout_height="25dip"
     47             android:layout_marginLeft="6dip"
     48             android:layout_marginRight="8dip"
     49             />
     50         <TextView
     51             android:id="@+id/alertText"
     52             android:textAppearance="@style/TextAppearance.StatusBar.IntruderAlert"
     53             android:layout_width="match_parent"
     54             android:layout_height="wrap_content"
     55             android:singleLine="true"
     56             />
     57     </LinearLayout>
     58 </FrameLayout>
     59