Showing
3 changed files
with
6 additions
and
1 deletions
... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' | ... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' |
2 | 2 | ||
3 | ext { | 3 | ext { |
4 | PUBLISH_GROUP_ID = 'ly.warp' | 4 | PUBLISH_GROUP_ID = 'ly.warp' |
5 | - PUBLISH_VERSION = '4.5.4.6rc43' | 5 | + PUBLISH_VERSION = '4.5.4.6rc44' |
6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' | 6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' |
7 | } | 7 | } |
8 | 8 | ... | ... |
... | @@ -10,6 +10,7 @@ import android.os.Build; | ... | @@ -10,6 +10,7 @@ import android.os.Build; |
10 | import android.os.Bundle; | 10 | import android.os.Bundle; |
11 | import android.text.Html; | 11 | import android.text.Html; |
12 | import android.text.TextUtils; | 12 | import android.text.TextUtils; |
13 | +import android.text.method.LinkMovementMethod; | ||
13 | import android.view.View; | 14 | import android.view.View; |
14 | import android.widget.ImageView; | 15 | import android.widget.ImageView; |
15 | import android.widget.LinearLayout; | 16 | import android.widget.LinearLayout; |
... | @@ -239,6 +240,7 @@ public class CouponInfoActivity extends Activity implements View.OnClickListener | ... | @@ -239,6 +240,7 @@ public class CouponInfoActivity extends Activity implements View.OnClickListener |
239 | } else { | 240 | } else { |
240 | mTvTermsValue.setText(Html.fromHtml(mCouponset.getTerms())); | 241 | mTvTermsValue.setText(Html.fromHtml(mCouponset.getTerms())); |
241 | } | 242 | } |
243 | + mTvTermsValue.setMovementMethod(LinkMovementMethod.getInstance()); | ||
242 | } | 244 | } |
243 | 245 | ||
244 | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm"); | 246 | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm"); | ... | ... |
... | @@ -6,6 +6,7 @@ import android.content.Intent; | ... | @@ -6,6 +6,7 @@ import android.content.Intent; |
6 | import android.os.Bundle; | 6 | import android.os.Bundle; |
7 | import android.text.Html; | 7 | import android.text.Html; |
8 | import android.text.TextUtils; | 8 | import android.text.TextUtils; |
9 | +import android.text.method.LinkMovementMethod; | ||
9 | import android.view.View; | 10 | import android.view.View; |
10 | import android.widget.ImageView; | 11 | import android.widget.ImageView; |
11 | import android.widget.LinearLayout; | 12 | import android.widget.LinearLayout; |
... | @@ -177,8 +178,10 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe | ... | @@ -177,8 +178,10 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe |
177 | 178 | ||
178 | mTvCouponsetTitle.setText(mCouponset.getName()); | 179 | mTvCouponsetTitle.setText(mCouponset.getName()); |
179 | mTvCouponsetSubtitle.setText(Html.fromHtml(mCouponset.getDescription())); | 180 | mTvCouponsetSubtitle.setText(Html.fromHtml(mCouponset.getDescription())); |
181 | + mTvCouponsetSubtitle.setMovementMethod(LinkMovementMethod.getInstance()); | ||
180 | mLlTerms.setOnClickListener(this); | 182 | mLlTerms.setOnClickListener(this); |
181 | mTvTermsValue.setText(Html.fromHtml(mCouponset.getTerms())); | 183 | mTvTermsValue.setText(Html.fromHtml(mCouponset.getTerms())); |
184 | + mTvTermsValue.setMovementMethod(LinkMovementMethod.getInstance()); | ||
182 | 185 | ||
183 | if (!TextUtils.isEmpty(mCouponset.getImgPreview())) { | 186 | if (!TextUtils.isEmpty(mCouponset.getImgPreview())) { |
184 | Glide.with(this) | 187 | Glide.with(this) | ... | ... |
-
Please register or login to post a comment