lepinay/foursquared

Second address line never shown on venue view

Opened this issue · 0 comments

What steps will reproduce the problem?

1. Open venue view of any venue that has eg. cross street

What is the expected output? What do you see instead?

Expected: Two address lines, second with eg. cross street
Instead: One address line

widget/venueview.java hides the second line when it's not empty:

        String line2 = StringFormatters.getVenueLocationCrossStreetOrCity(venue);
        if (TextUtils.isEmpty(line2)) {
            mVenueLocationLine2.setText(line2);
            mVenueLocationLine2.setVisibility(View.VISIBLE);
        } else if (mCollapsible) {
            mVenueLocationLine2.setVisibility(View.GONE);
        }


Original issue reported on code.google.com by gc.j...@gmail.com on 3 Aug 2010 at 11:22