Cosmetic cleanup of exchange setup
* Remove nonfunctioning Next button * Enable Next button on name screen Bug: 2988925 Change-Id: I9de7d8dc5b6f48b6c11676b7eef478495afcc889
This commit is contained in:
parent
4c3a8ede01
commit
c164444784
@ -20,32 +20,11 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:fillViewport="true">
|
android:fillViewport="true">
|
||||||
|
|
||||||
<LinearLayout
|
<fragment
|
||||||
|
android:id="@+id/setup_fragment"
|
||||||
|
class="com.android.email.activity.setup.AccountSetupExchangeFragment"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical" >
|
android:layout_weight="1"
|
||||||
|
/>
|
||||||
<fragment
|
|
||||||
android:id="@+id/setup_fragment"
|
|
||||||
class="com.android.email.activity.setup.AccountSetupExchangeFragment"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="54dip"
|
|
||||||
android:background="@android:drawable/bottom_bar">
|
|
||||||
<Button
|
|
||||||
android:id="@+id/next"
|
|
||||||
android:text="@string/next_action"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:minWidth="@dimen/button_minWidth"
|
|
||||||
android:drawableRight="@drawable/button_indicator_next"
|
|
||||||
android:layout_alignParentRight="true"
|
|
||||||
android:layout_centerVertical="true" />
|
|
||||||
</RelativeLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
@ -152,7 +152,7 @@ public class AccountSetupNames extends AccountSetupActivity {
|
|||||||
* TODO: Validator should also trim the name string before checking it.
|
* TODO: Validator should also trim the name string before checking it.
|
||||||
*/
|
*/
|
||||||
private void validateFields() {
|
private void validateFields() {
|
||||||
boolean newEnabled = !mEasAccount || Utility.isTextViewNotEmpty(mName);
|
boolean newEnabled = mEasAccount || Utility.isTextViewNotEmpty(mName);
|
||||||
if (newEnabled != mNextButtonEnabled) {
|
if (newEnabled != mNextButtonEnabled) {
|
||||||
mNextButtonEnabled = newEnabled;
|
mNextButtonEnabled = newEnabled;
|
||||||
invalidateOptionsMenu();
|
invalidateOptionsMenu();
|
||||||
|
Loading…
Reference in New Issue
Block a user