mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-09-23 15:15:51 -04:00
Detect links in card ID in card ID popup
This commit is contained in:
1 parent
e372d23b6e
commit
cbb2453f6b
1 file changed
+1
@@ -701,6 +701,7 @@ public class LoyaltyCardViewActivity extends CatimaAppCompatActivity implements
|
||||
}
|
||||
|
||||
TextView cardIdView = new TextView(LoyaltyCardViewActivity.this);
|
||||
cardIdView.setAutoLinkMask(Linkify.EMAIL_ADDRESSES | Linkify.PHONE_NUMBERS | Linkify.WEB_URLS);
|
||||
cardIdView.setText(loyaltyCard.cardId);
|
||||
cardIdView.setTextIsSelectable(true);
|
||||
int contentPadding = getResources().getDimensionPixelSize(R.dimen.alert_dialog_content_padding);
|
||||
|
||||
Reference in new issue
Block a user