Revision: 9d0b68adf5
Author: mar...@gmail.com
Date: Tue Sep 28 11:13:01 2010
Log: Fixed layout problem for __to-do here__ banner at bottom of venue
page...
http://code.google.com/r/markww-foursquared/source/detail?r=9d0b68adf5
Revision: 004e88aee1
Author: mar...@gmail.com
Date: Tue Sep 28 11:53:21 2010
Log: Updated padding on More Info line in venue activity, updated text.
Cen...
http://code.google.com/r/markww-foursquared/source/detail?r=004e88aee1
Revision: ea9119109f
Author: mar...@gmail.com
Date: Tue Sep 28 12:22:07 2010
Log: Updated changelog, app version number.
http://code.google.com/r/markww-foursquared/source/detail?r=ea9119109f
==============================================================================
Revision: 9d0b68adf5
Author: mar...@gmail.com
Date: Tue Sep 28 11:13:01 2010
Log: Fixed layout problem for __to-do here__ banner at bottom of venue page.
http://code.google.com/r/markww-foursquared/source/detail?r=9d0b68adf5
Modified:
/main/res/layout/venue_activity.xml
=======================================
--- /main/res/layout/venue_activity.xml Sun Sep 26 10:33:26 2010
+++ /main/res/layout/venue_activity.xml Tue Sep 28 11:13:01 2010
@@ -77,7 +77,8 @@
android:id="@+id/venueActivityDetailsProgress"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:gravity="center" >
+ android:gravity="center"
+ android:visibility="gone" >
<ProgressBar
android:layout_width="wrap_content"
@@ -87,15 +88,14 @@
<ScrollView
android:layout_width="fill_parent"
- android:layout_height="fill_parent" >
+ android:layout_height="0dip"
+ android:layout_weight="1" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
-
-
<RelativeLayout
android:id="@+id/venueActivityMayor"
android:layout_width="fill_parent"
@@ -299,8 +299,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
- android:background="@color/color_bright_green"
- android:visibility="gone" >
+ android:background="@color/color_bright_green" >
<TextView
android:layout_width="wrap_content"
==============================================================================
Revision: 004e88aee1
Author: mar...@gmail.com
Date: Tue Sep 28 11:53:21 2010
Log: Updated padding on More Info line in venue activity, updated text.
Centering tips line when no sub-line is present.
http://code.google.com/r/markww-foursquared/source/detail?r=004e88aee1
Modified:
/main/res/layout/venue_activity.xml
/main/res/values/strings.xml
/main/src/com/joelapenna/foursquared/VenueActivity.java
=======================================
--- /main/res/layout/venue_activity.xml Tue Sep 28 11:13:01 2010
+++ /main/res/layout/venue_activity.xml Tue Sep 28 11:53:21 2010
@@ -77,8 +77,7 @@
android:id="@+id/venueActivityDetailsProgress"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:gravity="center"
- android:visibility="gone" >
+ android:gravity="center" >
<ProgressBar
android:layout_width="wrap_content"
@@ -247,8 +246,6 @@
</RelativeLayout>
- <!-- TODO: divider middle -->
-
<RelativeLayout
android:id="@+id/venueActivityMoreInfo"
android:layout_width="fill_parent"
@@ -257,7 +254,7 @@
android:visibility="gone"
android:focusable="true"
android:background="@drawable/listview_item_manual" >
-
+
<TextView
android:id="@+id/venueActivityMoreTitle"
android:layout_width="wrap_content"
@@ -265,16 +262,9 @@
android:text="@string/venue_activity_more_info_title"
android:textAppearance="@style/TextViewStyleVenueActivityBold"
android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true" />
-
- <TextView
- android:id="@+id/venueActivityMoreText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/venue_activity_more_info_text"
-
android:textAppearance="@style/TextViewStyleVenueActivityNormal"
- android:layout_below="@id/venueActivityMoreTitle" />
-
+ android:paddingTop="7dip"
+ android:paddingBottom="7dip"/>
+
<ImageView
android:id="@+id/venueActivityMoreChevron"
android:layout_width="9dip"
=======================================
--- /main/res/values/strings.xml Tue Sep 28 10:56:27 2010
+++ /main/res/values/strings.xml Tue Sep 28 11:53:21 2010
@@ -379,7 +379,7 @@
<string name="venue_activity_people_count_friend_single_plural">%d
friend is here with %d other people</string>
<string name="venue_activity_people_count_friend_plural_single">%d
friends are here with %d other person</string>
<string name="venue_activity_people_count_friend_plural_plural">%d
friends are here with %d other people</string>
- <string name="venue_activity_more_info_title">More info</string>
+ <string name="venue_activity_more_info_title">View on a map</string>
<string name="venue_activity_more_info_text">Map, contact and
more</string>
<string name="venue_activity_menu_add_tip">Leave Tip</string>
<string name="venue_activity_menu_add_todo">Add To-Do</string>
=======================================
--- /main/src/com/joelapenna/foursquared/VenueActivity.java Mon Sep 27
14:53:02 2010
+++ /main/src/com/joelapenna/foursquared/VenueActivity.java Tue Sep 28
11:53:21 2010
@@ -26,6 +26,7 @@
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
+import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
@@ -193,6 +194,7 @@
ImageView ivTipsChevron =
(ImageView)findViewById(R.id.venueActivityTipsChevron);
View viewMoreInfo = findViewById(R.id.venueActivityMoreInfo);
+ TextView tvMoreInfoText =
(TextView)findViewById(R.id.venueActivityMoreTitle);
Venue venue = mStateHolder.getVenue();
if (mStateHolder.getLoadType() == StateHolder.LOAD_TYPE_VENUE_FULL ||
@@ -297,16 +299,22 @@
R.string.venue_activity_tip_count_single :
R.string.venue_activity_tip_count_plural,
venue.getTips().size()));
- }
-
+ tvTipsTextExtra.setVisibility(View.GONE);
+ }
+
ivTipsChevron.setVisibility(View.VISIBLE);
setClickHandlerTips(viewTips);
} else {
-
tvTipsText.setText(getResources().getString(R.string.venue_activity_tip_count_none));
+
tvTipsText.setText(getResources().getString(R.string.venue_activity_tip_count_none));
+ tvTipsTextExtra.setVisibility(View.GONE);
ivTipsChevron.setVisibility(View.INVISIBLE);
- viewTips.setTag(null);
}
viewTips.setVisibility(View.VISIBLE);
+
+ if (tvTipsTextExtra.getVisibility() != View.VISIBLE) {
+ tvTipsText.setPadding(tvTipsText.getPaddingLeft(),
tvMoreInfoText.getPaddingTop(),
+ tvTipsText.getPaddingRight(),
tvMoreInfoText.getPaddingBottom());
+ }
viewMoreInfo.setVisibility(View.VISIBLE);
setClickHandlerMoreInfo(viewMoreInfo);
@@ -343,7 +351,13 @@
btnCheckin.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
- startCheckin();
+ SharedPreferences settings =
PreferenceManager.getDefaultSharedPreferences(
+ VenueActivity.this);
+ if
(settings.getBoolean(Preferences.PREFERENCE_IMMEDIATE_CHECKIN, false)) {
+ startCheckinQuick();
+ } else {
+ startCheckin();
+ }
}
});
}
@@ -601,6 +615,21 @@
intent.putExtra(CheckinOrShoutGatherInfoActivity.INTENT_EXTRA_VENUE_NAME,
mStateHolder.getVenue().getName());
startActivityForResult(intent,
RESULT_CODE_ACTIVITY_CHECKIN_EXECUTE);
}
+
+ private void startCheckinQuick() {
+ SharedPreferences settings =
PreferenceManager.getDefaultSharedPreferences(this);
+ boolean tellFriends =
settings.getBoolean(Preferences.PREFERENCE_SHARE_CHECKIN, true);
+ boolean tellTwitter =
settings.getBoolean(Preferences.PREFERENCE_TWITTER_CHECKIN, false);
+ boolean tellFacebook =
settings.getBoolean(Preferences.PREFERENCE_FACEBOOK_CHECKIN, false);
+
+ Intent intent = new Intent(VenueActivity.this,
CheckinExecuteActivity.class);
+ intent.putExtra(CheckinExecuteActivity.INTENT_EXTRA_VENUE_ID,
mStateHolder.getVenue().getId());
+ intent.putExtra(CheckinExecuteActivity.INTENT_EXTRA_SHOUT, "");
+ intent.putExtra(CheckinExecuteActivity.INTENT_EXTRA_TELL_FRIENDS,
tellFriends);
+ intent.putExtra(CheckinExecuteActivity.INTENT_EXTRA_TELL_TWITTER,
tellTwitter);
+ intent.putExtra(CheckinExecuteActivity.INTENT_EXTRA_TELL_FACEBOOK,
tellFacebook);
+ startActivityForResult(intent,
RESULT_CODE_ACTIVITY_CHECKIN_EXECUTE);
+ }
private void showWebViewForSpecial() {
Intent intent = new Intent(this, SpecialWebViewActivity.class);
==============================================================================
Revision: ea9119109f
Author: mar...@gmail.com
Date: Tue Sep 28 12:22:07 2010
Log: Updated changelog, app version number.
http://code.google.com/r/markww-foursquared/source/detail?r=ea9119109f
Modified:
/main/AndroidManifest.xml
/main/assets/changelog-en.html
=======================================
--- /main/AndroidManifest.xml Sun Sep 26 20:09:49 2010
+++ /main/AndroidManifest.xml Tue Sep 28 12:22:07 2010
@@ -4,7 +4,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.joelapenna.foursquared"
android:installLocation="auto"
- android:versionName="2010-09-24" android:versionCode="2010092400">
+ android:versionName="2010-09-28" android:versionCode="2010092800">
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION" />
=======================================
--- /main/assets/changelog-en.html Mon Aug 30 11:27:00 2010
+++ /main/assets/changelog-en.html Tue Sep 28 12:22:07 2010
@@ -38,7 +38,16 @@
<body>
- <h4><span>What's new in v2010-08-31?</span></h4>
+ <h4><span>What's new in v2010-09-28?</span></h4>
+ <ul>
+ <li>Redesign for most activity screens.</li>
+ <li>Tips and To-do screens added as top-level tabs..</li>
+ <li>Friend information added to venue pages.</li>
+ <li>Can access friend requests from Me tab.</li>
+ <li>Can now refresh Me tab.</li>
+ </ul>
+
+ <h4><span>What's new in v2010-08-31</span></h4>
<ul>
<li>Option for install to SD card (Android 2.2 and above
required).</li>
<li>Added profile settings information to Preferences page. This is
a convenience to let
@@ -46,14 +55,14 @@
<li>SSL support.</li>
</ul>
- <h4><span>What's new in v2010-08-05?</span></h4>
+ <h4><span>What's new in v2010-08-05</span></h4>
<ul>
<li>Click your user photo in the 'Me' tab to set a new photo for
yourself.</li>
<li>Added an option in preferences to use a Foursquare image viewer
for viewing user photos.
Un-check "Image Viewing" to use it instead of your phone's
native image viewer (default).</li>
</ul>
- <h4><span>What's new in v2010-07-13?</span></h4>
+ <h4><span>What's new in v2010-07-13</span></h4>
<ul>
<li>Bug fix for new category icons (from 2010-07-12 version) which
could cause a force-close on the
Places tab.</li>