Xml文件  |  104行  |  3.8 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2017 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  -->

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingLeft="4dp">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical" >

        <TextView
            android:id="@+id/features_main_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/features_main_text"/>
        <CheckBox
            android:id="@+id/features_check_mmtel"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/features_check_mmtel"/>
        <CheckBox
            android:id="@+id/features_check_rcs"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/features_check_rcs"/>
        <Button
            android:id="@+id/features_change_button"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/features_change_button"/>
    </LinearLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height= "1dp"
        android:paddingRight="4dp"
        android:background="?android:attr/listDivider" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical" >
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="ImsService Controls"/>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">

            <Button
                android:id="@+id/control_launch_reg"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:paddingRight="4dp"
                android:text="Registration"/>
            <Button
                android:id="@+id/control_launch_calling"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:paddingRight="4dp"
                android:text="Calling"/>
            <Button
                android:id="@+id/control_launch_config"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:paddingRight="4dp"
                android:text="Config"/>
        </LinearLayout>
    </LinearLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height= "1dp"
        android:paddingRight="4dp"
        android:background="?android:attr/listDivider" />

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/connections_list"/>
</LinearLayout>