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 <com.android.systemui.statusbar.phone.NotificationPanelView 
     22     xmlns:android="http://schemas.android.com/apk/res/android"
     23     xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
     24     android:id="@+id/notification_panel"
     25     android:layout_width="0dp"
     26     android:layout_height="wrap_content"
     27     android:background="@drawable/notification_panel_bg"
     28     android:paddingTop="@dimen/notification_panel_padding_top"
     29     android:layout_marginStart="@dimen/notification_panel_margin_left"
     30     >
     31 
     32     <View
     33         android:id="@+id/handle"
     34         android:layout_width="match_parent"
     35         android:layout_height="@dimen/close_handle_height"
     36         android:background="@drawable/status_bar_close"
     37         android:visibility="invisible"
     38         />
     39 
     40     <include
     41         layout="@layout/carrier_label"
     42         android:layout_height="@dimen/carrier_label_height"
     43         android:layout_width="match_parent"
     44         android:layout_marginBottom="@dimen/close_handle_height"
     45         android:layout_gravity="bottom"
     46         />
     47 
     48     <LinearLayout
     49         android:layout_width="match_parent"
     50         android:layout_height="wrap_content"
     51         android:layout_marginBottom="@dimen/close_handle_underlap"
     52         android:orientation="vertical"
     53         android:animateLayoutChanges="false"
     54         >
     55 
     56         <include layout="@layout/status_bar_expanded_header"
     57             android:layout_width="match_parent"
     58             android:layout_height="@dimen/notification_panel_header_height"
     59             />
     60 
     61         <TextView
     62             android:id="@+id/emergency_calls_only"
     63             android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly"
     64             android:layout_height="wrap_content"
     65             android:layout_width="match_parent"
     66             android:padding="4dp"
     67             android:gravity="center"
     68             android:visibility="gone"
     69             />
     70 
     71         <FrameLayout
     72             android:layout_width="match_parent"
     73             android:layout_height="wrap_content"
     74             >
     75             <ViewStub android:id="@+id/flip_settings_stub"
     76                 android:layout="@layout/flip_settings"
     77                 android:layout_width="match_parent"
     78                 android:layout_height="wrap_content"
     79                 />
     80     
     81             <ScrollView
     82                 android:id="@+id/scroll"
     83                 android:layout_width="match_parent"
     84                 android:layout_height="wrap_content"
     85                 android:fadingEdge="none"
     86                 android:overScrollMode="ifContentScrolls"
     87                 >
     88                 <com.android.systemui.statusbar.policy.NotificationRowLayout
     89                     android:id="@+id/latestItems"
     90                     android:layout_width="match_parent"
     91                     android:layout_height="wrap_content"
     92                     systemui:rowHeight="@dimen/notification_row_min_height"
     93                     />
     94             </ScrollView>
     95         </FrameLayout>
     96     </LinearLayout>
     97 </com.android.systemui.statusbar.phone.NotificationPanelView><!-- end of sliding panel -->
     98