1. littledot5566
  2. LocalTreasure

Commits

littledot5566  committed 2a8084d

*Tweaked UI.

  • Participants
  • Parent commits 522ee92
  • Branches master

Comments (0)

Files changed (4)

File res/layout/selectdistance_act_layout.xml

View file
  • Ignore whitespace
     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"

File res/layout/splash_act_layout.xml

View file
  • Ignore whitespace
         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>

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

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

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

View file
  • Ignore whitespace
 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();
 	}
 }