diff --git a/res/layout-w600dp/account_setup_basics_fragment.xml b/res/layout-w600dp/account_setup_basics_fragment.xml
index 5890325a3..b9c67ad91 100644
--- a/res/layout-w600dp/account_setup_basics_fragment.xml
+++ b/res/layout-w600dp/account_setup_basics_fragment.xml
@@ -40,6 +40,13 @@
android:layout_marginTop="@dimen/setup_basics_logo_margin_top"
android:layout_marginBottom="@dimen/setup_basics_logo_margin_bottom"
android:layout_gravity="center_horizontal" />
+
+ android:layout_gravity="center_vertical"
+ style="@style/account_setup_label_text"/>
diff --git a/res/layout/account_setup_basics_fragment.xml b/res/layout/account_setup_basics_fragment.xml
index 40c7e6eea..b20366e1d 100644
--- a/res/layout/account_setup_basics_fragment.xml
+++ b/res/layout/account_setup_basics_fragment.xml
@@ -40,6 +40,12 @@
android:layout_marginTop="@dimen/setup_basics_logo_margin_top"
android:layout_marginBottom="@dimen/setup_basics_logo_margin_bottom"
android:layout_gravity="center_horizontal" />
+
diff --git a/res/layout/account_setup_credentials_fragment.xml b/res/layout/account_setup_credentials_fragment.xml
index 5e15768b7..ba2935344 100644
--- a/res/layout/account_setup_credentials_fragment.xml
+++ b/res/layout/account_setup_credentials_fragment.xml
@@ -62,12 +62,14 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
-
+ android:inputType="textPassword"
+ android:imeOptions="actionDone"/>
-
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
@@ -40,6 +41,7 @@
android:layout_weight="1"
android:padding="16dip"
android:drawablePadding="16dip"
+ style="@style/account_setup_label_text"
android:drawableStart="@drawable/ic_setup_add_authentication"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorPrimary"/>
@@ -53,9 +55,10 @@
@@ -90,13 +93,15 @@
android:layout_width="match_parent"
android:layout_weight="1"
android:layout_gravity="center_vertical"
+ android:paddingTop="8dp"
+ style="@style/oauth_label"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorPrimary" />
diff --git a/res/layout/client_certificate_selector.xml b/res/layout/client_certificate_selector.xml
index de91d3203..52209002b 100644
--- a/res/layout/client_certificate_selector.xml
+++ b/res/layout/client_certificate_selector.xml
@@ -20,7 +20,6 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="8dip"
android:gravity="center_vertical" >
-
+
diff --git a/res/values-ldrtl/styles-ldrtl.xml b/res/values-ldrtl/styles-ldrtl.xml
index 5ccaa3437..44ca26ab9 100644
--- a/res/values-ldrtl/styles-ldrtl.xml
+++ b/res/values-ldrtl/styles-ldrtl.xml
@@ -26,6 +26,7 @@
@@ -35,4 +36,9 @@
- @id/select_button
+
+
+
\ No newline at end of file
diff --git a/res/values-w600dp/dimensions.xml b/res/values-w600dp/dimensions.xml
index 3776196a4..05e0f25cd 100644
--- a/res/values-w600dp/dimensions.xml
+++ b/res/values-w600dp/dimensions.xml
@@ -36,6 +36,8 @@
24dp
64dp
+ 10dp
+
8dp
16dp
@@ -43,7 +45,7 @@
28dp
- 56dp
+ 16dp
0dp
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 19ffdf112..b3b516230 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -42,7 +42,7 @@
#777777
#cccccc
- #FFA500
+ #d30000
#808080
#000000
diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml
index 1f9ea9671..50be7ba25 100644
--- a/res/values/dimensions.xml
+++ b/res/values/dimensions.xml
@@ -61,6 +61,8 @@
24dp
24dp
+ 16dp
+
20dp
@@ -80,7 +82,9 @@
4dp
- 16dp
+ 24dp
+
+ 8dp
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 054b4b011..07f43ed80 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -30,6 +30,16 @@
- @dimen/setup_headline_padding_side
+
+
+
+
@@ -97,6 +107,7 @@
diff --git a/src/com/android/email/activity/setup/AccountSetupBasicsFragment.java b/src/com/android/email/activity/setup/AccountSetupBasicsFragment.java
index 59eff3ec4..b713ab2ac 100644
--- a/src/com/android/email/activity/setup/AccountSetupBasicsFragment.java
+++ b/src/com/android/email/activity/setup/AccountSetupBasicsFragment.java
@@ -47,7 +47,7 @@ public class AccountSetupBasicsFragment extends AccountSetupFragment {
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
final View view = inflateTemplatedView(inflater, container,
- R.layout.account_setup_basics_fragment, R.string.account_setup_basics_headline);
+ R.layout.account_setup_basics_fragment, -1);
mEmailView = UiUtilities.getView(view, R.id.account_email);
mManualSetupView = UiUtilities.getView(view, R.id.manual_setup);
diff --git a/src/com/android/email/activity/setup/AccountSetupFragment.java b/src/com/android/email/activity/setup/AccountSetupFragment.java
index 5eb941c0b..cd9378434 100644
--- a/src/com/android/email/activity/setup/AccountSetupFragment.java
+++ b/src/com/android/email/activity/setup/AccountSetupFragment.java
@@ -81,7 +81,12 @@ public class AccountSetupFragment extends Fragment implements View.OnClickListen
final View template = inflater.inflate(R.layout.account_setup_template, container, false);
TextView headlineView = UiUtilities.getView(template, R.id.headline);
- headlineView.setText(headline);
+ if (headline > 0) {
+ headlineView.setText(headline);
+ headlineView.setVisibility(View.VISIBLE);
+ } else {
+ headlineView.setVisibility(View.GONE);
+ }
final ViewGroup contentContainer =
(ViewGroup) template.findViewById(R.id.setup_fragment_content);
diff --git a/src/com/android/email/activity/setup/AuthenticationView.java b/src/com/android/email/activity/setup/AuthenticationView.java
index ffeaefe61..7f1382800 100644
--- a/src/com/android/email/activity/setup/AuthenticationView.java
+++ b/src/com/android/email/activity/setup/AuthenticationView.java
@@ -205,7 +205,7 @@ public class AuthenticationView extends LinearLayout implements OnClickListener
// We're using a POP or Exchange account, which does not offer oAuth.
if (mAuthenticationHeader != null) {
mAuthenticationHeader.setVisibility(View.VISIBLE);
- mAuthenticationHeader.setText(R.string.password_label);
+ mAuthenticationHeader.setText(R.string.account_setup_incoming_password_label);
}
mOAuthWrapper.setVisibility(View.GONE);
mPasswordWrapper.setVisibility(View.VISIBLE);