From 61568a15c8d88d86aba14a7800d0bfb46f22c8ba Mon Sep 17 00:00:00 2001 From: Hans Boehm Date: Mon, 18 May 2015 18:25:41 -0700 Subject: Prevent scrolling of finite results. Bug: 20562484 Inhibit scrolling past the last nonzero digit when we can identify it. Increase length of immediate result a bit, to make it closer to the L calculator. On "=", expand less for scrollable results, more for short non-scrollable results. This allows us to use larger fonts for short finite results. Fix up animation logic when displaying result. The old version was never quite right, and became more visibly wrong with variable enlargement. This version is simpler and seems to give much better results. This still does not add ellipsis at the right end of a result. But it is now easily possible to tell whether a result is known finite by attempting to scroll it. That may be good enough. Remove some obsolete TODO entries. Change-Id: I25a842a743e1c27191ca18ac69aa9eef0f0ea9b1 --- res/layout/display.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/layout') diff --git a/res/layout/display.xml b/res/layout/display.xml index 1fe2cf7..d50d09f 100644 --- a/res/layout/display.xml +++ b/res/layout/display.xml @@ -53,7 +53,7 @@