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         android:tint="@color/background_protect_secondary"
     36         android:contentDescription="@string/accessibility_vpn_on"
     37         />
     38     <FrameLayout
     39         android:id="@+id/ethernet_combo"
     40         android:layout_height="wrap_content"
     41         android:layout_width="wrap_content"
     42         >
     43         <com.android.systemui.statusbar.AlphaOptimizedImageView
     44             android:theme="?attr/lightIconTheme"
     45             android:id="@+id/ethernet"
     46             android:layout_height="wrap_content"
     47             android:layout_width="wrap_content"
     48             />
     49         <com.android.systemui.statusbar.AlphaOptimizedImageView
     50             android:theme="?attr/darkIconTheme"
     51             android:id="@+id/ethernet_dark"
     52             android:layout_height="wrap_content"
     53             android:layout_width="wrap_content"
     54             android:alpha="0.0"
     55             />
     56     </FrameLayout>
     57     <FrameLayout
     58         android:layout_height="17dp"
     59         android:layout_width="wrap_content">
     60         <ImageView
     61             android:id="@+id/wifi_in"
     62             android:layout_height="wrap_content"
     63             android:layout_width="wrap_content"
     64             android:src="@drawable/ic_activity_down"
     65             android:visibility="gone"
     66             android:paddingEnd="2dp"
     67             />
     68         <ImageView
     69             android:id="@+id/wifi_out"
     70             android:layout_height="wrap_content"
     71             android:layout_width="wrap_content"
     72             android:src="@drawable/ic_activity_up"
     73             android:paddingEnd="2dp"
     74             android:visibility="gone"
     75             />
     76     </FrameLayout>
     77     <FrameLayout
     78         android:id="@+id/wifi_combo"
     79         android:layout_height="wrap_content"
     80         android:layout_width="wrap_content"
     81         >
     82         <com.android.systemui.statusbar.AlphaOptimizedImageView
     83             android:theme="?attr/lightIconTheme"
     84             android:id="@+id/wifi_signal"
     85             android:layout_height="wrap_content"
     86             android:layout_width="wrap_content"
     87             />
     88         <com.android.systemui.statusbar.AlphaOptimizedImageView
     89             android:theme="?attr/darkIconTheme"
     90             android:id="@+id/wifi_signal_dark"
     91             android:layout_height="wrap_content"
     92             android:layout_width="wrap_content"
     93             android:alpha="0.0"
     94             />
     95         <ImageView
     96             android:id="@+id/wifi_inout"
     97             android:layout_height="wrap_content"
     98             android:layout_width="wrap_content"
     99             />
    100     </FrameLayout>
    101     <View
    102         android:id="@+id/wifi_signal_spacer"
    103         android:layout_width="@dimen/status_bar_wifi_signal_spacer_width"
    104         android:layout_height="4dp"
    105         android:visibility="gone"
    106         />
    107     <ViewStub
    108         android:id="@+id/connected_device_signals_stub"
    109         android:layout="@layout/connected_device_signal"
    110         android:layout_width="wrap_content"
    111         android:layout_height="wrap_content" />
    112     <LinearLayout
    113         android:id="@+id/mobile_signal_group"
    114         android:layout_height="wrap_content"
    115         android:layout_width="wrap_content"
    116         >
    117     </LinearLayout>
    118     <FrameLayout
    119         android:id="@+id/no_sims_combo"
    120         android:layout_height="wrap_content"
    121         android:layout_width="wrap_content"
    122         android:contentDescription="@string/accessibility_no_sims">
    123         <com.android.systemui.statusbar.AlphaOptimizedImageView
    124             android:theme="?attr/lightIconTheme"
    125             android:id="@+id/no_sims"
    126             android:layout_height="wrap_content"
    127             android:layout_width="wrap_content"
    128             android:src="@drawable/stat_sys_no_sims"
    129             />
    130         <com.android.systemui.statusbar.AlphaOptimizedImageView
    131             android:theme="?attr/darkIconTheme"
    132             android:id="@+id/no_sims_dark"
    133             android:layout_height="wrap_content"
    134             android:layout_width="wrap_content"
    135             android:src="@drawable/stat_sys_no_sims"
    136             android:alpha="0.0"
    137             />
    138     </FrameLayout>
    139     <View
    140         android:id="@+id/wifi_airplane_spacer"
    141         android:layout_width="@dimen/status_bar_airplane_spacer_width"
    142         android:layout_height="4dp"
    143         android:visibility="gone"
    144         />
    145     <ImageView
    146         android:id="@+id/airplane"
    147         android:layout_height="wrap_content"
    148         android:layout_width="wrap_content"
    149         />
    150 </com.android.systemui.statusbar.SignalClusterView>
    151