Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 **
      4 ** Copyright 2011, The Android Open Source Project
      5 **
      6 ** Licensed under the Apache License, Version 2.0 (the "License"); 
      7 ** you may not use this file except in compliance with the License. 
      8 ** You may obtain a copy of the License at 
      9 **
     10 **     http://www.apache.org/licenses/LICENSE-2.0 
     11 **
     12 ** Unless required by applicable law or agreed to in writing, software 
     13 ** distributed under the License is distributed on an "AS IS" BASIS, 
     14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
     15 ** See the License for the specific language governing permissions and 
     16 ** limitations under the License.
     17 */
     18 -->
     19 <!-- extends LinearLayout -->
     20 <com.android.systemui.statusbar.SignalClusterView
     21     xmlns:android="http://schemas.android.com/apk/res/android"
     22     android:id="@+id/signal_cluster"
     23     android:layout_height="match_parent"
     24     android:layout_width="wrap_content"
     25     android:gravity="center_vertical"
     26     android:orientation="horizontal"
     27     android:paddingEnd="@dimen/signal_cluster_battery_padding"
     28     >
     29     <ImageView
     30         android:id="@+id/vpn"
     31         android:layout_height="wrap_content"
     32         android:layout_width="wrap_content"
     33         android:paddingEnd="6dp"
     34         android:src="@drawable/stat_sys_vpn_ic"
     35         />
     36     <FrameLayout
     37         android:id="@+id/ethernet_combo"
     38         android:layout_height="wrap_content"
     39         android:layout_width="wrap_content"
     40         >
     41         <com.android.systemui.statusbar.AlphaOptimizedImageView
     42             android:theme="@style/DualToneLightTheme"
     43             android:id="@+id/ethernet"
     44             android:layout_height="wrap_content"
     45             android:layout_width="wrap_content"
     46             />
     47         <com.android.systemui.statusbar.AlphaOptimizedImageView
     48             android:theme="@style/DualToneDarkTheme"
     49             android:id="@+id/ethernet_dark"
     50             android:layout_height="wrap_content"
     51             android:layout_width="wrap_content"
     52             android:alpha="0.0"
     53             />
     54     </FrameLayout>
     55     <FrameLayout
     56         android:id="@+id/wifi_combo"
     57         android:layout_height="wrap_content"
     58         android:layout_width="wrap_content"
     59         >
     60         <com.android.systemui.statusbar.AlphaOptimizedImageView
     61             android:theme="@style/DualToneLightTheme"
     62             android:id="@+id/wifi_signal"
     63             android:layout_height="wrap_content"
     64             android:layout_width="wrap_content"
     65             />
     66         <com.android.systemui.statusbar.AlphaOptimizedImageView
     67             android:theme="@style/DualToneDarkTheme"
     68             android:id="@+id/wifi_signal_dark"
     69             android:layout_height="wrap_content"
     70             android:layout_width="wrap_content"
     71             android:alpha="0.0"
     72             />
     73     </FrameLayout>
     74     <View
     75         android:id="@+id/wifi_signal_spacer"
     76         android:layout_width="@dimen/status_bar_wifi_signal_spacer_width"
     77         android:layout_height="4dp"
     78         android:visibility="gone"
     79         />
     80     <LinearLayout
     81         android:id="@+id/mobile_signal_group"
     82         android:layout_height="wrap_content"
     83         android:layout_width="wrap_content"
     84         >
     85     </LinearLayout>
     86     <FrameLayout
     87         android:id="@+id/no_sims_combo"
     88         android:layout_height="wrap_content"
     89         android:layout_width="wrap_content"
     90         android:contentDescription="@string/accessibility_no_sims">
     91         <com.android.systemui.statusbar.AlphaOptimizedImageView
     92             android:theme="@style/DualToneLightTheme"
     93             android:id="@+id/no_sims"
     94             android:layout_height="wrap_content"
     95             android:layout_width="wrap_content"
     96             android:src="@drawable/stat_sys_no_sims"
     97             />
     98         <com.android.systemui.statusbar.AlphaOptimizedImageView
     99             android:theme="@style/DualToneDarkTheme"
    100             android:id="@+id/no_sims_dark"
    101             android:layout_height="wrap_content"
    102             android:layout_width="wrap_content"
    103             android:src="@drawable/stat_sys_no_sims"
    104             android:alpha="0.0"
    105             />
    106     </FrameLayout>
    107     <View
    108         android:id="@+id/wifi_airplane_spacer"
    109         android:layout_width="@dimen/status_bar_airplane_spacer_width"
    110         android:layout_height="4dp"
    111         android:visibility="gone"
    112         />
    113     <ImageView
    114         android:id="@+id/airplane"
    115         android:layout_height="wrap_content"
    116         android:layout_width="wrap_content"
    117         />
    118 </com.android.systemui.statusbar.SignalClusterView>
    119