From e2fb5dc7798cf677f6a66b6a697c4a011b0a101f Mon Sep 17 00:00:00 2001 From: Likai Ding Date: Mon, 26 Jan 2015 10:07:21 +0800 Subject: SnapdragonCamera: fix portrait orientation Fix camera activity to portrait, so there is no delay when rotation occurs. Main changes are: 1. RotateLayout now supports padding and dynamically added child. 2. Camera controls and gesture detetion are now orientation-aware. 3. Toasts are replaced with RotateTextToast. 4. Obselete layout files are removed. Change-Id: I338849bd7fb84b847eb357f771a24a5cc09bf6fa --- res/layout/scene_mode_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'res/layout/scene_mode_view.xml') diff --git a/res/layout/scene_mode_view.xml b/res/layout/scene_mode_view.xml index e8a9499d6..d4c2a259c 100644 --- a/res/layout/scene_mode_view.xml +++ b/res/layout/scene_mode_view.xml @@ -26,7 +26,7 @@ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> - - + -- cgit v1.2.3