Commits

littledot5566 committed 2a8084d

*Tweaked UI.

Comments (0)

Files changed (4)

res/layout/selectdistance_act_layout.xml

     android:layout_height="fill_parent"
     android:orientation="vertical" >
 
-    <TextView
-        android:id="@+id/distance_tv_title"
-        android:layout_width="fill_parent"
-        android:layout_height="wrap_content"
-        android:text="@string/distance_tv_title" />
-
     <Button
         android:id="@+id/distance_but_500m"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:onClick="onChooseDistance"
         android:text="@string/distance_but_500m" />
-
    <Button
+
+    <Button
         android:id="@+id/distance_but_1000m"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"

res/layout/splash_act_layout.xml

         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_centerInParent="true"
-        android:drawableTop="@drawable/ic_launcher"
+        android:drawableTop="@drawable/treasure_chest_512"
         android:text="@string/app_name" />
 
 </RelativeLayout>

src/nctuw/littledot/localtreasure/components/ExpeditionConfigActivity.java

 		setContentView(R.layout.selectdistance_act_layout);
 
 		imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
+		
 		ActionBar ab = getSupportActionBar();
 		ab.setDisplayHomeAsUpEnabled(true);
 		ab.setDisplayShowHomeEnabled(false);

src/nctuw/littledot/localtreasure/components/SplashActivity.java

 import android.os.Bundle;
 import android.widget.TextView;
 
+import com.actionbarsherlock.app.ActionBar;
 import com.actionbarsherlock.app.SherlockActivity;
 
 public class SplashActivity extends SherlockActivity {
-	public static int SPLASH_PAUSE = 1000;
+	public static int SPLASH_PAUSE = 0;
 
 	@Override
 	protected void onCreate(Bundle savedInstanceState) {
 			}
 		}, SPLASH_PAUSE);
 
+		ActionBar ab = getSupportActionBar();
+		ab.hide();
 	}
 }