Skip to content

Releases: rtchagas/pingplacepicker

Minor UX improvements

08 Mar 01:19
Compare
Choose a tag to compare
  • Added default ripple effect to place list items

Fix day/night theme automatic switch

06 Mar 18:44
Compare
Choose a tag to compare

PING was considering always the system theme when to choose between day and night modes.
Now it consider the application theme to do so.

Add functionality to return the actual selected latlng from Maps

05 Mar 08:50
Compare
Choose a tag to compare

Minor bug fix when formatting lat/lng

02 Mar 14:46
Compare
Choose a tag to compare

Fix a bug when the latitude or longitude in a place with coordinates only has no decimals in the seconds representation.

Minor fix in translations

02 Mar 10:31
Compare
Choose a tag to compare

Merged #61 fixing Portuguese translation.

Major changes to UI and support to dark mode theme

01 Mar 20:41
Compare
Choose a tag to compare

This is a major release and it will break your current style for PING.

  • Support to new Material Components theme.

    • Now the base theme inherits from Theme.MaterialComponents.DayNight.NoActionBar
  • Support to dark/night mode.

    • PING can now switch to dark mode automatically.
    • A dark style will be applied to all maps.
    • The application must provide a values-night/colors.xml to present the right colors in night mode.
  • New and improved Auto Complete Search UI.

  • Merged PR #59 that automatically moves the camera to the auto complete search result.

  • Fixed issue #56

In order to update your application theme to support PING, you need to override new colors:

For day/light theme:

res/values/colors.xml

    <!-- Toolbar color, places icons, text on top of primary surfaces -->
    <color name="colorPrimary">@color/material_teal500</color>
    <color name="colorPrimaryDark">@color/material_teal800</color>
    <color name="colorOnPrimary">@color/material_white</color>

    <!-- Accent color in buttons and actions -->
    <color name="colorSecondary">@color/material_deeporange500</color>
    <color name="colorSecondaryDark">@color/material_deeporange800</color>
    <color name="colorOnSecondary">@color/material_white</color>

    <!-- Main activity background -->
    <color name="colorBackground">@color/material_grey200</color>
    <color name="colorOnBackground">@color/material_black</color>

    <!-- Cards and elevated views background -->
    <color name="colorSurface">@color/material_white</color>
    <color name="colorOnSurface">@color/material_black</color>

    <!-- Text colors -->
    <color name="textColorPrimary">@color/material_on_surface_emphasis_high_type</color>
    <color name="textColorSecondary">@color/material_on_surface_emphasis_medium</color>

    <color name="colorMarker">@color/material_deeporange400</color>
    <color name="colorMarkerInnerIcon">@color/material_white</color>

For night/dark theme:

res/values-night/colors.xml

    <color name="colorPrimary">@color/material_teal300</color>
    <!-- Let the primary dark color as the surface color to not colorfy the status bar -->
    <color name="colorPrimaryDark">@color/colorSurface</color>
    <color name="colorOnPrimary">@color/material_black</color>

    <color name="colorSecondary">@color/material_deeporange200</color>
    <color name="colorSecondaryDark">@color/material_deeporange300</color>
    <color name="colorOnSecondary">@color/material_black</color>

    <color name="colorBackground">@color/colorSurface</color>
    <color name="colorOnBackground">@color/colorOnSurface</color>

    <color name="colorSurface">#202125</color>
    <color name="colorOnSurface">@color/material_white</color>

    <color name="textColorPrimary">@color/material_on_surface_emphasis_high_type</color>
    <color name="textColorSecondary">@color/material_on_surface_emphasis_medium</color>

    <color name="colorMarker">@color/material_deeporange200</color>
    <color name="colorMarkerInnerIcon">@color/colorSurface</color>

In case of doubt in how to implement the new styles, please take a look at the sample app.

Minor UX improvements

25 Nov 20:55
d6d922b
Compare
Choose a tag to compare
  • Removes the new Map Toolbar (direction to Google Maps) that automatically appears when clicking on a marker.
  • Disables by default the automatic panning (centering) when clicking on a marker.
    This was intended to make the UX less disruptive as possible when clicking on the marker.
    If you want this behavior back, enable the flag "auto_center_on_marker_click" in your project.

Minor bug fixes and improvements

23 Oct 14:37
Compare
Choose a tag to compare
  • Added Czech translation
  • Fixed "Select this location" don't work

Minor fixes

14 Oct 21:55
Compare
Choose a tag to compare
  • Fixed issue #37
  • Minor UI change to search card view.
  • Added Turkish translation.

Minor release

06 Oct 15:10
ed46db5
Compare
Choose a tag to compare
  • Added native support for Spanish and Catalan
  • Updated Gradle and libraries