feat: SettingsLib验证通过-使用App module启用
This commit is contained in:
59
CarSettings/res/xml/about_settings_fragment.xml
Normal file
59
CarSettings/res/xml/about_settings_fragment.xml
Normal file
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2018 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.
|
||||
-->
|
||||
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
||||
android:title="@string/about_settings"
|
||||
android:key="@string/psk_about_settings">
|
||||
<com.android.car.ui.preference.CarUiPreference
|
||||
android:fragment="com.android.car.settings.system.HardwareInfoFragment"
|
||||
android:key="@string/pk_hardware_info"
|
||||
android:title="@string/hardware_info"
|
||||
settings:controller="com.android.car.settings.system.HardwareInfoPreferenceController"/>
|
||||
<com.android.car.ui.preference.CarUiPreference
|
||||
android:key="@string/pk_firmware_version"
|
||||
android:title="@string/firmware_version"
|
||||
settings:controller="com.android.car.settings.system.FirmwareVersionPreferenceController"
|
||||
settings:showChevron="false"/>
|
||||
<com.android.car.ui.preference.CarUiPreference
|
||||
android:key="@string/pk_security_patch"
|
||||
android:title="@string/security_patch"
|
||||
settings:controller="com.android.car.settings.system.SecurityPatchPreferenceController"
|
||||
settings:showChevron="false"/>
|
||||
<com.android.car.ui.preference.CarUiPreference
|
||||
android:key="@string/pk_kernel_version"
|
||||
android:title="@string/kernel_version"
|
||||
settings:controller="com.android.car.settings.system.KernelVersionPreferenceController"
|
||||
settings:showChevron="false"/>
|
||||
<com.android.car.ui.preference.CarUiPreference
|
||||
android:key="@string/pk_build_number"
|
||||
android:title="@string/build_number"
|
||||
settings:controller="com.android.car.settings.system.BuildNumberPreferenceController"
|
||||
settings:showChevron="false"/>
|
||||
<Preference
|
||||
android:key="@string/pk_regulatory_labels"
|
||||
android:title="@string/regulatory_labels"
|
||||
settings:controller="com.android.car.settings.system.RegulatoryInfoPreferenceController">
|
||||
<intent android:action="android.settings.SHOW_REGULATORY_INFO"/>
|
||||
</Preference>
|
||||
<com.android.car.ui.preference.CarUiPreference
|
||||
android:key="@string/pk_about_bluetooth_mac_address"
|
||||
android:title="@string/bluetooth_mac_address"
|
||||
settings:controller="com.android.car.settings.system.BluetoothMacAddressPreferenceController"
|
||||
settings:showChevron="false"/>
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user