1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2021 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:id="@+id/internet_container" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:orientation="vertical"> 24 25 <LinearLayout 26 android:id="@+id/wifi_list" 27 style="@style/InternetDialog.Network" 28 android:layout_height="@dimen/internet_dialog_wifi_network_height" 29 android:paddingStart="20dp" 30 android:paddingEnd="24dp"> 31 <FrameLayout 32 android:layout_width="24dp" 33 android:layout_height="24dp" 34 android:clickable="false" 35 android:layout_gravity="center_vertical|start"> 36 <ImageView 37 android:id="@+id/wifi_icon" 38 android:layout_width="match_parent" 39 android:layout_height="match_parent" 40 android:scaleType="fitCenter" 41 android:layout_gravity="center"/> 42 </FrameLayout> 43 44 <LinearLayout 45 android:id="@+id/wifi_network_layout" 46 android:orientation="vertical" 47 android:clickable="false" 48 android:layout_width="wrap_content" 49 android:layout_height="@dimen/internet_dialog_wifi_network_height" 50 android:layout_marginEnd="30dp" 51 android:layout_weight="1" 52 android:gravity="start|center_vertical"> 53 <TextView 54 android:id="@+id/wifi_title" 55 style="@style/InternetDialog.NetworkTitle" 56 android:textSize="14sp"/> 57 <TextView 58 android:id="@+id/wifi_summary" 59 style="@style/InternetDialog.NetworkSummary"/> 60 </LinearLayout> 61 62 <FrameLayout 63 android:layout_width="24dp" 64 android:layout_height="match_parent" 65 android:clickable="false" 66 android:layout_gravity="end|center_vertical"> 67 <ImageView 68 android:id="@+id/wifi_end_icon" 69 android:layout_gravity="end|center_vertical" 70 android:layout_width="wrap_content" 71 android:layout_height="wrap_content"/> 72 </FrameLayout> 73 74 </LinearLayout> 75</LinearLayout> 76