Files
packages_apps_Settings/res/xml/billing_cycle.xml
Ido Ben-Hur 0103dce92f Settings: Add support for daily and weekly data usage cycles [2/2]
Change-Id: Ib43ca55f0f7fec5202982f5786176184809ab9f8
2025-12-10 00:41:33 +09:00

56 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 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/billing_cycle">
<ListPreference
android:key="billing_cycle_type"
android:title="@string/billing_cycle_type_title"
android:summary="%s"
android:entries="@array/billing_cycle_type_entries"
android:entryValues="@array/billing_cycle_type_values" />
<Preference
android:key="billing_cycle"
android:title="@string/app_usage_cycle" />
<SwitchPreferenceCompat
android:key="set_data_warning"
android:title="@string/set_data_warning"/>
<Preference
android:key="data_warning"
android:title="@string/data_warning" />
<SwitchPreferenceCompat
android:key="set_data_limit"
android:title="@string/set_data_limit" />
<Preference
android:key="data_limit"
android:title="@string/data_limit" />
<com.android.settingslib.widget.FooterPreference
android:key="billing_cycle_footer"
android:title="@string/data_warning_footnote"
android:selectable="false"
settings:searchable="false"/>
</PreferenceScreen>