changed the account adding a bit, hopefully working with Froyo, at least preventing a crash
Update issue 39 added: <string name="error_accountReadingNotAllowed">no permission to read the account</string>
This commit is contained in:
31
res/layout/add_account_dialog.xml
Normal file
31
res/layout/add_account_dialog.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
|
||||
|
||||
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="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="5dip"
|
||||
android:paddingRight="5dip">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textEmailAddress"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -197,6 +197,7 @@
|
||||
<string name="error_noKnownEncryptionFound">no known kind of encryption found</string>
|
||||
<string name="error_externalStorageNotReady">external storage not ready</string>
|
||||
<string name="error_accountNotFound">account \'%s\' not found</string>
|
||||
<string name="error_accountReadingNotAllowed">no permission to read the account</string>
|
||||
<string name="error_addingAccountFailed">adding account \'%s\' failed</string>
|
||||
<string name="error_invalidEmail">invalid email \'%s\'</string>
|
||||
<string name="error_keySizeMinimum512bit">key size must be at least 512bit</string>
|
||||
|
||||
Reference in New Issue
Block a user