9195a12024
This is one fragment that holds all types of authentication information, e.g. password, OAuth info, and client certificates. What gets displayed depends upon the type of account it is dealing with. So far this is only used in AccountSetupIncoming, but later it can be added to other settings fragments. There are still some issues with this, but I'd like to check it in sooner than later to unblock other work. Change-Id: Iea675ad5c1727f32ca0baa270dfa793ab7109993
70 lines
3.0 KiB
XML
70 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2011 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.
|
|
-->
|
|
|
|
<!-- Defines attributes for custom views -->
|
|
|
|
<resources>
|
|
<declare-styleable name="EmailServiceInfo">
|
|
<attr name="protocol" format="string"/>
|
|
<attr name="name" format="string"/>
|
|
<attr name="hide" format="boolean"/>
|
|
<attr name="accountType" format="string"/>
|
|
<attr name="serviceClass" format="string"/>
|
|
<attr name="intent" format="string"/>
|
|
<attr name="intentPackage" format="string"/>
|
|
<attr name="port" format="integer"/>
|
|
<attr name="portSsl" format="integer"/>
|
|
<attr name="defaultSsl" format="boolean"/>
|
|
<attr name="offerTls" format="boolean"/>
|
|
<attr name="offerCerts" format="boolean"/>
|
|
<attr name="offerOAuth" format="boolean"/>
|
|
<attr name="offerLocalDeletes" format="boolean"/>
|
|
<attr name="defaultLocalDeletes" format="integer"/>
|
|
<attr name="offerPrefix" format="boolean"/>
|
|
<attr name="usesSmtp" format="boolean"/>
|
|
<attr name="syncChanges" format="boolean"/>
|
|
<attr name="syncContacts" format="boolean"/>
|
|
<attr name="syncCalendar" format="boolean"/>
|
|
<attr name="usesAutodiscover" format="boolean"/>
|
|
<attr name="offerLookback" format="boolean"/>
|
|
<attr name="offerLoadMore" format="boolean"/>
|
|
<attr name="offerMoveTo" format="boolean"/>
|
|
<attr name="defaultLookback">
|
|
<enum name="auto" value="-2"/>
|
|
<enum name="days1" value="1"/>
|
|
<enum name="days3" value="2"/>
|
|
<enum name="weeks1" value="3"/>
|
|
<enum name="weeks2" value="4"/>
|
|
<enum name="months1" value="5"/>
|
|
<enum name="all" value="6"/>
|
|
</attr>
|
|
<attr name="offerAttachmentPreload" format="boolean"/>
|
|
<attr name="syncIntervalStrings" format="reference"/>
|
|
<attr name="syncIntervals" format="reference"/>
|
|
<attr name="defaultSyncInterval">
|
|
<enum name="push" value="-2"/>
|
|
<enum name="never" value="-1"/>
|
|
<enum name="mins5" value="5"/>
|
|
<enum name="mins10" value="10"/>
|
|
<enum name="mins15" value="15"/>
|
|
<enum name="mins30" value="30"/>
|
|
<enum name="mins60" value="60"/>
|
|
</attr>
|
|
<attr name="inferPrefix" format="string"/>
|
|
<attr name="requiresSetup" format="boolean"/>
|
|
</declare-styleable>
|
|
</resources>
|