Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /* //device/apps/Settings/assets/res/any/layout/radio_info.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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     21     android:layout_width="match_parent"
     22     android:layout_height="match_parent">
     23 
     24     <LinearLayout style="@style/info_layout"
     25         android:descendantFocusability="beforeDescendants"
     26         android:focusableInTouchMode="true">
     27 
     28         <!-- IMEI -->
     29         <LinearLayout style="@style/entry_layout">
     30             <TextView android:text="@string/radio_info_imei_label" style="@style/info_label" />
     31             <TextView android:id="@+id/imei" style="@style/info_value" />
     32         </LinearLayout>
     33 
     34         <!-- Phone Number -->
     35         <LinearLayout style="@style/entry_layout">
     36             <TextView android:text="@string/radio_info_phone_number_label" style="@style/info_label" />
     37             <TextView android:id="@+id/number" style="@style/info_value" />
     38         </LinearLayout>
     39 
     40         <!-- IMSI -->
     41         <LinearLayout style="@style/entry_layout">
     42             <TextView android:text="@string/radio_info_imsi_label" style="@style/info_label" />
     43             <TextView android:id="@+id/imsi" style="@style/info_value" />
     44         </LinearLayout>
     45 
     46         <!-- Network Identifier -->
     47         <LinearLayout style="@style/entry_layout">
     48             <TextView android:text="@string/radio_info_current_network_label" style="@style/info_label" />
     49             <TextView android:id="@+id/operator" style="@style/info_value" />
     50         </LinearLayout>
     51 
     52         <!-- Signal Strength -->
     53         <LinearLayout style="@style/entry_layout">
     54             <TextView android:text="@string/radio_info_signal_strength_label" style="@style/info_label" />
     55             <TextView android:id="@+id/dbm" style="@style/info_value" />
     56         </LinearLayout>
     57 
     58         <!-- Voice Service Status -->
     59         <LinearLayout style="@style/entry_layout">
     60             <TextView android:text="@string/radio_info_gsm_service_label" style="@style/info_label" />
     61             <TextView android:id="@+id/gsm" style="@style/info_value" />
     62         </LinearLayout>
     63 
     64         <!-- Data Service Status -->
     65         <LinearLayout style="@style/entry_layout">
     66             <TextView android:text="@string/radio_info_gprs_service_label" style="@style/info_label" />
     67             <TextView android:id="@+id/gprs" style="@style/info_value" />
     68         </LinearLayout>
     69 
     70         <!-- Network Type -->
     71         <LinearLayout style="@style/entry_layout">
     72             <TextView android:text="@string/radio_info_voice_network_type_label" style="@style/info_label" />
     73             <TextView android:id="@+id/voice_network" style="@style/info_value" />
     74         </LinearLayout>
     75 
     76         <!-- Network Type -->
     77         <LinearLayout style="@style/entry_layout">
     78             <TextView android:text="@string/radio_info_data_network_type_label" style="@style/info_label" />
     79             <TextView android:id="@+id/data_network" style="@style/info_value" />
     80         </LinearLayout>
     81 
     82         <!-- Call Status -->
     83         <LinearLayout style="@style/entry_layout">
     84             <TextView android:text="@string/radio_info_call_status_label" style="@style/info_label" />
     85             <TextView android:id="@+id/call" style="@style/info_value" />
     86         </LinearLayout>
     87 
     88         <!-- Roaming -->
     89         <LinearLayout style="@style/entry_layout">
     90             <TextView android:text="@string/radio_info_roaming_label" style="@style/info_label" />
     91             <TextView android:id="@+id/roaming" style="@style/info_value" />
     92         </LinearLayout>
     93 
     94         <!-- Preferred Network Type -->
     95         <TextView
     96                 android:layout_width="match_parent"
     97                 android:layout_height="wrap_content"
     98                 android:text="@string/radio_info_set_perferred_label"
     99                 style="@style/info_label"
    100                 />
    101 
    102         <Spinner android:id="@+id/preferredNetworkType"
    103                  android:layout_width="match_parent"
    104                  android:layout_height="wrap_content"
    105                 />
    106 
    107         <!-- Horizontal Rule -->
    108         <View
    109             android:layout_width="fill_parent"
    110             android:layout_height="1dip"
    111             android:background="#000000" />
    112 
    113         <!-- Ping stats -->
    114         <Button android:id="@+id/ping_test"
    115                 android:textSize="14sp"
    116                 android:layout_marginTop="8dip"
    117                 android:layout_width="wrap_content"
    118                 android:layout_height="wrap_content"
    119                 android:text="@string/ping_test_label"
    120                 />
    121  
    122         <LinearLayout style="@style/entry_layout">
    123             <TextView android:text="@string/radio_info_ping_hostname_v4" style="@style/info_label" />
    124             <TextView android:id="@+id/pingHostnameV4" style="@style/info_value" />
    125         </LinearLayout>
    126 
    127         <LinearLayout style="@style/entry_layout">
    128             <TextView android:text="@string/radio_info_ping_hostname_v6" style="@style/info_label" />
    129             <TextView android:id="@+id/pingHostnameV6" style="@style/info_value" />
    130         </LinearLayout>
    131 
    132         <LinearLayout style="@style/entry_layout">
    133             <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" />
    134             <TextView android:id="@+id/httpClientTest" style="@style/info_value" />
    135         </LinearLayout>
    136 
    137         <!-- Horizontal Rule -->
    138         <View
    139             android:layout_width="fill_parent"
    140             android:layout_height="1dip"
    141             android:background="#000000" />
    142 
    143         <!-- DcRtInfo - DataConnectionRealTimeInfo -->
    144         <LinearLayout style="@style/entry_layout">
    145             <TextView android:text="@string/radio_info_dcrtinfo_label"
    146                       style="@style/info_label" />
    147             <TextView android:id="@+id/dcrtinfo" style="@style/info_value" />
    148         </LinearLayout>
    149 
    150         <!-- Message Waiting Indicator -->
    151         <LinearLayout style="@style/entry_layout">
    152             <TextView android:text="@string/radio_info_message_waiting_label" style="@style/info_label" />
    153             <TextView android:id="@+id/mwi" style="@style/info_value" />
    154         </LinearLayout>
    155 
    156         <!-- Call Forwarding Indicator -->
    157         <LinearLayout style="@style/entry_layout">
    158             <TextView android:text="@string/radio_info_call_redirect_label" style="@style/info_label" />
    159             <TextView android:id="@+id/cfi" style="@style/info_value" />
    160         </LinearLayout>
    161 
    162         <!-- PPP Sent -->
    163         <LinearLayout style="@style/entry_layout">
    164             <TextView android:text="@string/radio_info_ppp_sent_label"
    165                 style="@style/info_label" />
    166             <TextView android:id="@+id/sent" style="@style/info_value" />
    167         </LinearLayout>
    168 
    169         <!-- PPP Received -->
    170         <LinearLayout style="@style/entry_layout">
    171             <TextView android:text="@string/radio_info_ppp_received_label"
    172                 style="@style/info_label" />
    173             <TextView android:id="@+id/received" style="@style/info_value" />
    174         </LinearLayout>
    175 
    176         <!-- PPP Sent since last received -->
    177         <LinearLayout style="@style/entry_layout">
    178             <TextView android:text="@string/radio_info_ppp_resets_label"
    179                 style="@style/info_label" />
    180             <TextView android:id="@+id/sentSinceReceived" style="@style/info_value" />
    181         </LinearLayout>
    182 
    183         <!-- Radio Power -->
    184         <Switch android:id="@+id/radio_power"
    185                 android:textSize="14sp"
    186                 android:layout_marginTop="8dip"
    187                 android:layout_width="match_parent"
    188                 android:layout_height="wrap_content"
    189                 android:text="@string/radio_info_radio_power"/>
    190 
    191         <!-- VoLTE provisioned -->
    192         <Switch android:id="@+id/volte_provisioned_switch"
    193                 android:textSize="14sp"
    194                 android:layout_marginTop="8dip"
    195                 android:layout_width="match_parent"
    196                 android:layout_height="wrap_content"
    197                 android:text="@string/volte_provisioned_switch_string"/>
    198 
    199         <!-- VT provisioned -->
    200         <Switch android:id="@+id/vt_provisioned_switch"
    201                 android:textSize="14sp"
    202                 android:layout_marginTop="8dip"
    203                 android:layout_width="match_parent"
    204                 android:layout_height="wrap_content"
    205                 android:text="@string/vt_provisioned_switch_string"/>
    206 
    207         <!-- Wifi Calling provisioned -->
    208         <Switch android:id="@+id/wfc_provisioned_switch"
    209                 android:textSize="14sp"
    210                 android:layout_marginTop="8dip"
    211                 android:layout_width="match_parent"
    212                 android:layout_height="wrap_content"
    213                 android:text="@string/wfc_provisioned_switch_string"/>
    214 
    215         <!-- EAB/Presence provisioned -->
    216         <Switch android:id="@+id/eab_provisioned_switch"
    217                 android:textSize="14sp"
    218                 android:layout_marginTop="8dip"
    219                 android:layout_width="match_parent"
    220                 android:layout_height="wrap_content"
    221                 android:text="@string/eab_provisioned_switch_string"/>
    222 
    223         <!-- SMSC -->
    224         <RelativeLayout android:layout_width="match_parent"
    225                         android:layout_height="wrap_content">
    226             <TextView android:id="@+id/smsc_label"
    227                       android:text="@string/radio_info_smsc_label"
    228                       android:layout_alignBaseline="@+id/update_smsc"
    229                       style="@style/info_label" />
    230             <Button android:id="@+id/refresh_smsc"
    231                     android:textSize="14sp"
    232                     android:layout_marginTop="8dip"
    233                     android:layout_width="wrap_content"
    234                     android:layout_height="wrap_content"
    235                     android:text="@string/radio_info_smsc_refresh_label"
    236                     android:layout_alignParentEnd="true"
    237                     />
    238             <Button android:id="@+id/update_smsc"
    239                     android:textSize="14sp"
    240                     android:layout_marginTop="8dip"
    241                     android:layout_width="wrap_content"
    242                     android:layout_height="wrap_content"
    243                     android:text="@string/radio_info_smsc_update_label"
    244                     android:layout_toStartOf="@+id/refresh_smsc"
    245                     android:layout_alignBaseline="@+id/refresh_smsc"
    246                     />
    247             <EditText android:id="@+id/smsc"
    248                       style="@style/form_value"
    249                       android:layout_alignBaseline="@+id/refresh_smsc"
    250                       android:layout_toStartOf="@id/update_smsc"
    251                       android:layout_toEndOf="@id/smsc_label" />
    252         </RelativeLayout>
    253 
    254         <!-- Test setting to ignore bad DNS, useful in lab environments -->
    255         <LinearLayout style="@style/entry_layout">
    256             <Button android:id="@+id/dns_check_toggle"
    257                     android:textSize="14sp"
    258                     android:layout_marginTop="8dip"
    259                     android:layout_width="wrap_content"
    260                     android:layout_height="wrap_content"
    261                     android:text="@string/radio_info_toggle_dns_check_label"
    262                     />
    263             <TextView android:id="@+id/dnsCheckState" style="@style/info_value" />
    264         </LinearLayout>
    265 
    266         <!-- Launch OEM-specific Info/Settings Activity (if any) -->
    267         <Button android:id="@+id/oem_info"
    268                 android:textSize="14sp"
    269                 android:layout_marginTop="8dip"
    270                 android:layout_width="wrap_content"
    271                 android:layout_height="wrap_content"
    272                 android:text="@string/oem_radio_info_label"
    273                 />
    274 
    275         <!-- Horizontal Rule -->
    276         <View
    277             android:layout_width="fill_parent"
    278             android:layout_height="1dip"
    279             android:background="#000000" />
    280 
    281         <!-- CellInfoListRate Selection -->
    282         <TextView
    283                 android:layout_width="match_parent"
    284                 android:layout_height="wrap_content"
    285                 android:text="@string/radio_info_cell_info_refresh_rate"
    286                 style="@style/info_label"
    287                 />
    288 
    289         <Spinner android:id="@+id/cell_info_rate_select"
    290                  android:layout_width="match_parent"
    291                  android:layout_height="wrap_content"
    292                 />
    293 
    294         <!-- Location -->
    295         <LinearLayout style="@style/entry_layout">
    296             <TextView android:text="@string/radio_info_signal_location_label" style="@style/info_label" />
    297             <TextView android:id="@+id/location" style="@style/info_value" />
    298         </LinearLayout>
    299 
    300         <!-- Neighboring Cids -->
    301         <LinearLayout style="@style/entry_layout">
    302             <TextView android:text="@string/radio_info_neighboring_location_label"
    303                       style="@style/info_label" />
    304             <TextView android:id="@+id/neighboring" style="@style/info_value" />
    305         </LinearLayout>
    306 
    307         <!-- CellInfo -->
    308         <LinearLayout style="@style/entry_layout">
    309             <TextView android:text="@string/radio_info_cellinfo_label"
    310                       style="@style/info_label" />
    311         </LinearLayout>
    312         <LinearLayout style="@style/entry_layout">
    313             <TextView android:id="@+id/cellinfo"
    314                       style="@style/info_value"
    315                       android:minHeight="300dip"
    316                       android:textSize="12sp" />
    317         </LinearLayout>
    318 
    319         <!-- Carrier Provisioning -->
    320         <LinearLayout style="@style/entry_layout">
    321             <Button android:id="@+id/carrier_provisioning"
    322                     android:layout_marginTop="8dip"
    323                     android:layout_width="wrap_content"
    324                     android:layout_height="wrap_content"
    325                     android:text="@string/carrier_provisioning"
    326                     android:textSize="14sp"/>
    327             <Button android:id="@+id/trigger_carrier_provisioning"
    328                     android:layout_marginTop="8dip"
    329                     android:layout_width="wrap_content"
    330                     android:layout_height="wrap_content"
    331                     android:text="@string/trigger_carrier_provisioning"
    332                     android:textSize="14sp"/>
    333         </LinearLayout>
    334 
    335     </LinearLayout>
    336 </ScrollView>
    337