From d4832351874aa6eb2cd5e312c21bd4ec607ff3a4 Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Tue, 30 Aug 2011 15:29:15 +0800 Subject: Rotate the focus rectangle in different orientations. The new focus assets look different in portrait and landscape. Rotate the drawable so the orientation looks correct. bug:5223866 Change-Id: I5e5ebbcbaca95b118e051fbf6131c1a12584b2f2 --- res/layout/basic_setting_popup.xml | 7 +------ res/layout/focus_rect.xml | 25 +++++++++++++++++++++++++ res/layout/other_setting_popup.xml | 7 +------ res/layout/preview_frame.xml | 5 +---- 4 files changed, 28 insertions(+), 16 deletions(-) create mode 100644 res/layout/focus_rect.xml (limited to 'res/layout') diff --git a/res/layout/basic_setting_popup.xml b/res/layout/basic_setting_popup.xml index 33bff04..9f579de 100644 --- a/res/layout/basic_setting_popup.xml +++ b/res/layout/basic_setting_popup.xml @@ -22,12 +22,7 @@ android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toLeftOf="@+id/indicator_control" - android:visibility="gone" - android:background="@android:color/transparent"> - + android:visibility="gone"> + + + + + diff --git a/res/layout/other_setting_popup.xml b/res/layout/other_setting_popup.xml index 3c7cfcb..263c938 100644 --- a/res/layout/other_setting_popup.xml +++ b/res/layout/other_setting_popup.xml @@ -23,12 +23,7 @@ android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toLeftOf="@+id/indicator_control" - android:visibility="gone" - android:background="@android:color/transparent"> - + android:visibility="gone"> - + -- cgit v1.1