Update layouts for setup

Change-Id: I5508f6f8640ffdf60f8d1d7282cc7ed3ce30f86c
This commit is contained in:
Martin Hibdon 2014-02-14 15:29:56 -08:00
parent 38fd08e470
commit 8919f5738d
3 changed files with 11 additions and 6 deletions
res/layout
src/com/android/email/activity/setup

View File

@ -50,9 +50,9 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/common"
android:layout_alignParentBottom="true"
android:paddingTop="16dip"
android:paddingBottom="@dimen/settings_buttons_padding_bottom">
android:paddingBottom="16dip">
<TextView
android:id="@+id/manual_setup"
android:layout_height="wrap_content"
@ -60,6 +60,8 @@
android:clickable="true"
android:layout_alignParentLeft="true"
android:layout_gravity="center_vertical"
android:layout_centerInParent="true"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/account_setup_basics_manual_setup_action" />
<ImageButton
android:id="@+id/next"

View File

@ -17,14 +17,13 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_centerVertical="true">
android:layout_weight="1">
<LinearLayout
android:id="@+id/oauth_group"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="vertical"
android:visibility="gone">
<Button

View File

@ -31,6 +31,7 @@ import android.content.DialogInterface;
import android.content.Intent;
import android.content.Loader;
import android.database.Cursor;
import android.graphics.Paint;
import android.os.AsyncTask;
import android.os.Bundle;
import android.provider.ContactsContract;
@ -223,6 +224,9 @@ public class AccountSetupBasics extends AccountSetupActivity
mManualButton.setVisibility(View.VISIBLE);
mManualButton.setOnClickListener(this);
mNextButton.setOnClickListener(this);
mManualButton.setPaintFlags(mManualButton.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
// Force disabled until validator notifies otherwise
setProceedButtonsEnabled(false);
// Lightweight debounce while Async tasks underway