Android Pay v1.14 Hints at Improving the Linked Offers Interface

Android Pay v1.14 Hints at Improving the Linked Offers Interface

Back during Google I/O 2016, Google introduced the “Save to Android Pay API” which would allow companies to digitize their loyalty programs, gift cards, or other offers.

Companies were now able to add special links to text messages, e-mails, their website, or their Android app that would quickly save a new card to Android Pay in a single tap. These would typically show up as a “Save to Android Pay” button and made use of deep linking to the Android Pay app. Now it appears that with Android Pay v1.14, linked offers will receive a few enhancements within the Android Pay application.

Although a teardown can provide valuable information regarding upcoming features, it is entirely possible that these features may not make their way into the final product. Do not take these teardowns as proof that a feature will be added, but rather as a hint of what could be coming.


Android Pay Linked Offer Improvements

Currently within Android Pay, your cards are all displayed in a large card carousel. Your loyalty cards are indicated as such in the card name, but as for any loyalty cards you add via the “Save to Android Pay” button, it can be a hassle sifting through any cards you have.

Fortunately, it looks like Google will be making some enhancements to make it easier to view all of your linked offers.


Android Pay v1.14 Teardown
<string name="add_linked_offer_image">Plus symbol button for saving a loyalty card linked offer</string>
<string name="linked_offer_image">Card linked offer image preview</string>
<string name="linked_offers_list_title">%1$s Offers</string>
<string name="saved_linked_offers_count">%1$s Saved offers</string>
<string name="saved_linked_offers_value">%1$s in savings</string>
<string name="saved_offers_shopping_tag_image">Shopping tag icon image on saved loyalty card linked offers</string>
<string name="view_all_linked_offers">View all</string>
<string name="view_saved_offers_chevron_image">Right arrow button image to proceed to viewing saved loyalty card linked offers</string>

From the strings pulled above from the latest Android Pay APK, we can see that Linked Offers may soon be viewed in their own separate list. In addition, there may be a new indication as to how much money you are saving by having access to all of these offers. This isn’t a major change by any means, but it is certainly a nice addition if you frequently use Android Pay to save loyalty cards.

We can see further evidence for this change in the AndroidManifest.xml file, which adds a new activity filter to quickly open up Android Pay to a new list activity showing all of your Linked Offers.

<activity android:name="com.google.commerce.tapandpay.android.valuable.verticals.loyaltycard.LinkedOffersListActivity" android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>

Within the APK’s layout files, we can see this new list being implemented from the addition of three new aptly named XML files: linked_offer_list_item.xml, linked_offers_list.xml, and linked_offer_preview.xml.

linked_offer_list_item.xml


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/LinkedOfferListItem" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="@dimen/narrow_spacing"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:custom="http://schemas.android.com/apk/res-auto">
<android.support.percent.PercentRelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/narrow_spacing">
<ImageView android:id="@id/OfferImage" android:src="@drawable/ico_ap" android:scaleType="fitCenter" android:contentDescription="@string/linked_offer_image" custom:layout_widthPercent="100.0%" custom:layout_aspectRatio="175.0%" />
</android.support.percent.PercentRelativeLayout>
<TextView android:textSize="@dimen/card_title_text_size" android:textColor="@color/quantum_black_text" android:ellipsize="end" android:id="@id/LinkedOfferTitle" android:layout_width="fill_parent" android:layout_height="wrap_content" android:maxLines="2" android:textAlignment="viewStart" />
<TextView android:textSize="@dimen/card_subtitle_text_size" android:textColor="@color/quantum_black_secondary_text" android:ellipsize="end" android:id="@id/LinkedOfferSubtitle" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:maxLines="2" android:textAlignment="viewStart" />
<TextView android:textSize="@dimen/card_title_text_size" android:textColor="@color/quantum_black_text" android:id="@id/AddLinkedOffersButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/add_clipped_offer" android:paddingStart="@dimen/medium_spacing" android:paddingEnd="@dimen/medium_spacing" />
</LinearLayout>

linked_offers_list.xml


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/LinkedOffersListActivity" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:custom="http://schemas.android.com/apk/res-auto">
<android.support.v7.widget.Toolbar android:id="@id/Toolbar" android:layout_width="fill_parent" android:layout_height="?actionBarSize" custom:popupTheme="@style/ThemeOverlay.AppCompat.Light" custom:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
<android.support.v7.widget.RecyclerView android:orientation="vertical" android:id="@id/LinkedOffersList" android:scrollbars="none" android:clipToPadding="true" android:layout_width="fill_parent" android:layout_height="wrap_content" custom:layoutManager="android.support.v7.widget.GridLayoutManager" custom:spanCount="2" />
</LinearLayout>

linked_offer_preview.xml


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/LinkedOfferListItem" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="@dimen/narrow_spacing"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:custom="http://schemas.android.com/apk/res-auto">
<android.support.percent.PercentRelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/narrow_spacing">
<ImageView android:id="@id/OfferImage" android:src="@drawable/ico_ap" android:scaleType="fitCenter" android:contentDescription="@string/linked_offer_image" custom:layout_widthPercent="100.0%" custom:layout_aspectRatio="200.0%" />
</android.support.percent.PercentRelativeLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="@dimen/card_title_text_size" android:textColor="@color/quantum_black_text" android:ellipsize="end" android:id="@id/LinkedOfferTitle" android:layout_width="fill_parent" android:layout_height="@dimen/card_title_height" android:maxLines="2" android:textAlignment="viewStart" />
<TextView android:textSize="@dimen/card_subtitle_text_size" android:textColor="@color/quantum_black_secondary_text" android:ellipsize="end" android:id="@id/LinkedOfferSubtitle" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:maxLines="2" android:textAlignment="viewStart" />
</LinearLayout>
<ImageView android:id="@id/AddLinkedOffersButton" android:layout_width="24.0dip" android:layout_height="24.0dip" android:src="@drawable/quantum_ic_add_circle_outline_googblue_24" android:scaleType="fitXY" android:layout_weight="0.0" android:contentDescription="@string/add_linked_offer_image" />
</LinearLayout>
</LinearLayout>

A new asset has been added as well (quantum_ic_add_circle_outline_googblue_24.png) which presumably will act as the button to allow you to add another linked offer straight from this new list activity.


We haven’t found anything else in the latest Android Pay APK file that seems interesting, but we’ll keep a lookout for any future Google App updates to let you know if something new or exciting is on the horizon.

Discuss This Story

You might also like