From 006bf2e38799f739358919038501817c6447df53 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 15 Mar 2017 07:25:54 -0700 Subject: [PATCH] hide pick-face-up checkbox for networked games And tweak game-config layout --- .../java/org/eehouse/android/xw4/GameConfigDelegate.java | 2 ++ xwords4/android/app/src/main/res/layout/game_config.xml | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameConfigDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameConfigDelegate.java index e4fdbf88b..c8f683bb0 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameConfigDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameConfigDelegate.java @@ -1265,6 +1265,8 @@ public class GameConfigDelegate extends DelegateBase } else { String connString = m_conTypes.toString( m_activity, true ); m_connLabel.setText( getString( R.string.connect_label_fmt, connString ) ); + // hide pick-face-up button for networked games + findViewById( R.id.pick_faceup ).setVisibility( View.GONE ); } } diff --git a/xwords4/android/app/src/main/res/layout/game_config.xml b/xwords4/android/app/src/main/res/layout/game_config.xml index 4a9510da9..7e8cbc830 100644 --- a/xwords4/android/app/src/main/res/layout/game_config.xml +++ b/xwords4/android/app/src/main/res/layout/game_config.xml @@ -77,8 +77,9 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:layout_marginTop="5sp" - android:layout_marginBottom="5sp" + android:layout_marginTop="5sp" + android:layout_marginBottom="5sp" + android:layout_marginLeft="6dp" />