summaryrefslogtreecommitdiff
path: root/android/build.sh
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-01-22 15:45:50 +0000
committerRobin Watts <robin.watts@artifex.com>2013-01-22 16:15:33 +0000
commit8c1a2377de0b83626d3461f7d1554d3c4c9741b2 (patch)
tree4805443dc6db406527838faf76753e039bb8b946 /android/build.sh
parent9e714087533038580f7af51ea1b385c689e0274d (diff)
downloadmupdf-8c1a2377de0b83626d3461f7d1554d3c4c9741b2.tar.xz
Android: Make the 'tap to skip page' regions more smartly sized.
Rather than always using 20% of the screen for the tap region (which can be excessive and confusing on a large tablet), instead try to use just the left/right inch. We do this by reading the dpi of the screen. As (apparently) some devices lie about the dpi of the screen we arrange first to always use at least 100 pixels, and then never to use more than 1/5 of the screen.
Diffstat (limited to 'android/build.sh')
0 files changed, 0 insertions, 0 deletions