Skip to content

Commit

Permalink
[TIMOB-24639] Fix TiUIText backgroundColor and update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Mathews committed Nov 2, 2017
1 parent ad21e13 commit 44fe658
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ public void propertyChanged(String key, Object oldValue, Object newValue, KrollP
}
} else if (key.equals(TiC.PROPERTY_BACKGROUND_COLOR)) {
tv.setBackgroundColor(Color.TRANSPARENT);
super.propertyChanged(key, oldValue, newValue, proxy);
} else if (key.equals(TiC.PROPERTY_COLOR)) {
tv.setTextColor(TiConvert.toColor((String) newValue));
} else if (key.equals(TiC.PROPERTY_HINT_TEXT)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import ti.modules.titanium.ui.widget.TiUIText;
import android.graphics.drawable.Drawable;
import android.support.design.widget.TextInputLayout;
import android.support.v4.widget.NestedScrollView;
import android.text.TextUtils.TruncateAt;
import android.view.Gravity;
import android.view.KeyEvent;
Expand Down
2 changes: 1 addition & 1 deletion apidoc/Titanium/UI/TextArea.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ properties:
- name: hintType
summary: Hint type to display on the text field.
platforms: [android]
since: {android: "6.2.0"}
since: {android: "7.0.0"}
description: |
Setting this to <Titanium.UI.HINT_TYPE_ANIMATED> will use the animated TextInputLayout on Android.
type: Number
Expand Down
2 changes: 1 addition & 1 deletion apidoc/Titanium/UI/TextField.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ properties:
- name: hintType
summary: Hint type to display on the text field.
platforms: [android]
since: {android: "6.2.0"}
since: {android: "7.0.0"}
description: |
Setting this to <Titanium.UI.HINT_TYPE_ANIMATED> will use the animated TextInputLayout on Android.
type: Number
Expand Down

0 comments on commit 44fe658

Please sign in to comment.