summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2015-06-10 15:41:04 -0700
committerHans Boehm <hboehm@google.com>2015-06-18 18:32:48 -0700
commit7f83e36b7a1cb358b8dd44da842a3897b65bfdde (patch)
treeb93776c370c3f0b6648fb1ca4e700577872b9d56 /res
parent017de9893efd33e179db10bc71189e150bc3486d (diff)
downloadandroid_packages_apps_ExactCalculator-7f83e36b7a1cb358b8dd44da842a3897b65bfdde.tar.gz
android_packages_apps_ExactCalculator-7f83e36b7a1cb358b8dd44da842a3897b65bfdde.tar.bz2
android_packages_apps_ExactCalculator-7f83e36b7a1cb358b8dd44da842a3897b65bfdde.zip
Improve copy/paste menu appearance
Bug: 20503008 Correctly provide content position information to the ActionMode so that menues can be better positioned. Highlight a result that's about to be copied. Ensure that the end of the current formula becomes visible when the paste menu appears. Change-Id: I318985776e59175b827d5089c0ca4978f3a658cb
Diffstat (limited to 'res')
-rw-r--r--res/layout/display.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/layout/display.xml b/res/layout/display.xml
index 6500dfe..638f0d2 100644
--- a/res/layout/display.xml
+++ b/res/layout/display.xml
@@ -57,6 +57,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/formula"
+ android:bufferType="spannable"
android:singleLine="true"
android:textColor="@color/display_result_text_color" />