diff options
| author | Fabrice Di Meglio <fdimeglio@google.com> | 2012-05-29 20:32:51 -0700 |
|---|---|---|
| committer | Fabrice Di Meglio <fdimeglio@google.com> | 2012-05-29 20:32:51 -0700 |
| commit | 0ed59fae6fc85c2c4a223d3be88b79cf797908ab (patch) | |
| tree | f93727150b0a4fb9b88449bb55e2828ddefd5f1f /core/java/android/widget/TextView.java | |
| parent | 73bde11e624c44620819e9c93a61ca6be6e96997 (diff) | |
Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText
- take the hint layout primary horizontal offset if needed
Change-Id: Ib5c4dd990278e1fd8bb9ba4f4b6940a62dba91e3
Diffstat (limited to 'core/java/android/widget/TextView.java')
| -rw-r--r-- | core/java/android/widget/TextView.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index bd19f001590f..a2af827dcfd9 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -1312,6 +1312,14 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener } /** + * @return the Layout that is currently being used to display the hint text. + * This can be null. + */ + final Layout getHintLayout() { + return mHintLayout; + } + + /** * @return the current key listener for this TextView. * This will frequently be null for non-EditText TextViews. * |
