summaryrefslogtreecommitdiff
authorTellen Yu <tellen.yu@amlogic.com>2017-12-13 06:35:43 (GMT)
committer Gerrit Code Review <gituser@scgit.amlogic.com>2017-12-13 06:35:43 (GMT)
commit120233ec828e86f0bef21da9afcc1d624821a89c (patch)
treee7b5fa131ed2f33134b03ec24cbafd9224224d38
parentf008399d34882630b8e605b49945628d6bf723bf (diff)
parent377085f256d413c787611c2db10697a09bfc17b4 (diff)
downloadtv-120233ec828e86f0bef21da9afcc1d624821a89c.zip
tv-120233ec828e86f0bef21da9afcc1d624821a89c.tar.gz
tv-120233ec828e86f0bef21da9afcc1d624821a89c.tar.bz2
Merge "TIF:support showing charsequence in tv overlay view [3/3]" into n-amlogic
Diffstat
-rw-r--r--core/java/com/droidlogic/app/tv/DroidLogicOverlayView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/com/droidlogic/app/tv/DroidLogicOverlayView.java b/core/java/com/droidlogic/app/tv/DroidLogicOverlayView.java
index df00f1d..27475d9 100644
--- a/core/java/com/droidlogic/app/tv/DroidLogicOverlayView.java
+++ b/core/java/com/droidlogic/app/tv/DroidLogicOverlayView.java
@@ -47,6 +47,10 @@ public abstract class DroidLogicOverlayView extends FrameLayout {
mTextView.setText(resId);
}
+ public void setText(CharSequence text) {
+ mTextView.setText(text);
+ }
+
public void setTextVisibility(boolean visible) {
mTextView.setVisibility(visible ? VISIBLE : GONE);
}