From ea70b090f72c4fda36d1ecb6fac91e84f7131564 Mon Sep 17 00:00:00 2001 From: Robert Burns Date: Fri, 4 Jan 2013 08:19:33 -0500 Subject: Remove drop target text in landscape - Vertical text currently has wrapping issues and is unnecessary - Text was being shown on all tablet devices Screenshot of wrapping issue: https://docs.google.com/file/d/0B9gh9VnHidOdOWdUdHdrY0VQdEE/edit Change-Id: Ibcca6956e21f6441a6ef7baee3a8b7d8dcbd89f9 --- src/com/cyanogenmod/trebuchet/InfoDropTarget.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/com/cyanogenmod/trebuchet/InfoDropTarget.java') diff --git a/src/com/cyanogenmod/trebuchet/InfoDropTarget.java b/src/com/cyanogenmod/trebuchet/InfoDropTarget.java index 941a29466..eaef23ea8 100644 --- a/src/com/cyanogenmod/trebuchet/InfoDropTarget.java +++ b/src/com/cyanogenmod/trebuchet/InfoDropTarget.java @@ -51,10 +51,11 @@ public class InfoDropTarget extends ButtonDropTarget { mDrawable = (TransitionDrawable) getCurrentDrawable(); mDrawable.setCrossFadeEnabled(true); - // Remove the text in the Phone UI in landscape + // Remove the text in landscape int orientation = getResources().getConfiguration().orientation; + boolean transposeLayout = getResources().getBoolean(R.bool.hotseat_transpose_layout_with_orientation); if (orientation == Configuration.ORIENTATION_LANDSCAPE) { - if (!LauncherApplication.isScreenLarge()) { + if (transposeLayout) { setText(""); } } -- cgit v1.2.3