diff --git a/res/drawable-hdpi/ic_add_24dp.png b/res/drawable-hdpi/ic_add_24dp.png
new file mode 100644
index 000000000..492c8f880
Binary files /dev/null and b/res/drawable-hdpi/ic_add_24dp.png differ
diff --git a/res/drawable-hdpi/ic_settings_add.png b/res/drawable-hdpi/ic_settings_add.png
deleted file mode 100644
index 0a6d8792f..000000000
Binary files a/res/drawable-hdpi/ic_settings_add.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_add_24dp.png b/res/drawable-mdpi/ic_add_24dp.png
new file mode 100644
index 000000000..07858bc09
Binary files /dev/null and b/res/drawable-mdpi/ic_add_24dp.png differ
diff --git a/res/drawable-mdpi/ic_settings_add.png b/res/drawable-mdpi/ic_settings_add.png
deleted file mode 100644
index f0eedd158..000000000
Binary files a/res/drawable-mdpi/ic_settings_add.png and /dev/null differ
diff --git a/res/drawable-v21/ic_add_24dp.xml b/res/drawable-v21/ic_add_24dp.xml
new file mode 100644
index 000000000..35ecb415e
--- /dev/null
+++ b/res/drawable-v21/ic_add_24dp.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
diff --git a/res/drawable-xhdpi/ic_add_24dp.png b/res/drawable-xhdpi/ic_add_24dp.png
new file mode 100644
index 000000000..0d8af34b9
Binary files /dev/null and b/res/drawable-xhdpi/ic_add_24dp.png differ
diff --git a/res/drawable-xhdpi/ic_settings_add.png b/res/drawable-xhdpi/ic_settings_add.png
deleted file mode 100644
index f82bfe59f..000000000
Binary files a/res/drawable-xhdpi/ic_settings_add.png and /dev/null differ
diff --git a/res/drawable-xxhdpi/ic_add_24dp.png b/res/drawable-xxhdpi/ic_add_24dp.png
new file mode 100644
index 000000000..70e4e86e7
Binary files /dev/null and b/res/drawable-xxhdpi/ic_add_24dp.png differ
diff --git a/res/drawable-xxhdpi/ic_settings_add.png b/res/drawable-xxhdpi/ic_settings_add.png
deleted file mode 100644
index a027b3c76..000000000
Binary files a/res/drawable-xxhdpi/ic_settings_add.png and /dev/null differ
diff --git a/res/layout-w600dp/authentication_view.xml b/res/layout-w600dp/authentication_view.xml
index fc3a7fd86..d1d033403 100644
--- a/res/layout-w600dp/authentication_view.xml
+++ b/res/layout-w600dp/authentication_view.xml
@@ -18,23 +18,17 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
-
-
-
+ android:layout_width="match_parent"
+ android:padding="8dp"
+ android:drawablePadding="16dp"
+ android:drawableStart="@drawable/ic_add_24dp"
+ android:drawableLeft="@drawable/ic_add_24dp"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorPrimary"/>
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:minWidth="254dp" >
-
-
-
+ android:layout_width="match_parent"
+ android:padding="8dp"
+ android:drawablePadding="16dip"
+ style="@style/account_setup_label_text"
+ android:drawableStart="@drawable/ic_add_24dp"
+ android:drawableLeft="@drawable/ic_add_24dp"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorPrimary"/>
+ android:title="@string/add_account" />
diff --git a/src/com/android/email/activity/setup/AuthenticationView.java b/src/com/android/email/activity/setup/AuthenticationView.java
index 2fb944f37..60d246850 100644
--- a/src/com/android/email/activity/setup/AuthenticationView.java
+++ b/src/com/android/email/activity/setup/AuthenticationView.java
@@ -73,7 +73,6 @@ public class AuthenticationView extends LinearLayout implements OnClickListener
super.onFinishInflate();
mPasswordWrapper = UiUtilities.getView(this, R.id.password_wrapper);
mOAuthWrapper = UiUtilities.getView(this, R.id.oauth_wrapper);
- mNoAuthWrapper = UiUtilities.getView(this, R.id.no_auth_wrapper);
mPasswordEdit = UiUtilities.getView(this, R.id.password_edit);
mOAuthLabel = UiUtilities.getView(this, R.id.oauth_label);
mClearPasswordView = UiUtilities.getView(this, R.id.clear_password);
@@ -178,7 +177,7 @@ public class AuthenticationView extends LinearLayout implements OnClickListener
// We're authenticated with OAuth.
mOAuthWrapper.setVisibility(View.VISIBLE);
mPasswordWrapper.setVisibility(View.GONE);
- mNoAuthWrapper.setVisibility(View.GONE);
+ mAddAuthenticationView.setVisibility(View.GONE);
if (mPasswordLabel != null) {
mPasswordLabel.setVisibility(View.VISIBLE);
}
@@ -186,7 +185,7 @@ public class AuthenticationView extends LinearLayout implements OnClickListener
// We're authenticated with a password.
mOAuthWrapper.setVisibility(View.GONE);
mPasswordWrapper.setVisibility(View.VISIBLE);
- mNoAuthWrapper.setVisibility(View.GONE);
+ mAddAuthenticationView.setVisibility(View.GONE);
if (TextUtils.isEmpty(mPasswordEdit.getText())) {
mPasswordEdit.requestFocus();
}
@@ -195,7 +194,7 @@ public class AuthenticationView extends LinearLayout implements OnClickListener
// We have no authentication, we need to allow either password or oauth.
mOAuthWrapper.setVisibility(View.GONE);
mPasswordWrapper.setVisibility(View.GONE);
- mNoAuthWrapper.setVisibility(View.VISIBLE);
+ mAddAuthenticationView.setVisibility(View.VISIBLE);
}
} else {
// We're using a POP or Exchange account, which does not offer oAuth.
@@ -205,7 +204,7 @@ public class AuthenticationView extends LinearLayout implements OnClickListener
}
mOAuthWrapper.setVisibility(View.GONE);
mPasswordWrapper.setVisibility(View.VISIBLE);
- mNoAuthWrapper.setVisibility(View.GONE);
+ mAddAuthenticationView.setVisibility(View.GONE);
mClearPasswordView.setVisibility(View.GONE);
if (TextUtils.isEmpty(mPasswordEdit.getText())) {
mPasswordEdit.requestFocus();