summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChiao Cheng <chiaocheng@google.com>2013-06-04 14:10:39 -0700
committerChiao Cheng <chiaocheng@google.com>2013-06-04 15:02:27 -0700
commit15ad27b4b981c4808e1fa155e0cc74574c13a586 (patch)
treec1fdbefdfb29f6d804cbc2847155c458f9197712
parente5bd72a94e239c3a50f4d5992ee7f5e3aa8fff23 (diff)
downloadpackages_apps_Contacts-15ad27b4b981c4808e1fa155e0cc74574c13a586.tar.gz
packages_apps_Contacts-15ad27b4b981c4808e1fa155e0cc74574c13a586.tar.bz2
packages_apps_Contacts-15ad27b4b981c4808e1fa155e0cc74574c13a586.zip
Fix RTL layout for 10" tablet in landscape mode.
The main layout was using the InterpolatingLayout which does not properly support RTL. In this particular case, the features of the InterpolatingLayout is not used and can be replaced with a standard LinearLayout. Bug: 9261442 Change-Id: Ie49a975d83287e1939b3449559db7f6290082865
-rw-r--r--res/layout-sw680dp-land/people_activity.xml27
1 files changed, 7 insertions, 20 deletions
diff --git a/res/layout-sw680dp-land/people_activity.xml b/res/layout-sw680dp-land/people_activity.xml
index 371f5e0b6..1becbd19e 100644
--- a/res/layout-sw680dp-land/people_activity.xml
+++ b/res/layout-sw680dp-land/people_activity.xml
@@ -22,21 +22,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <com.android.contacts.widget.InterpolatingLayout
+ <LinearLayout
android:id="@+id/main_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:orientation="horizontal"
android:splitMotionEvents="true">
<FrameLayout
android:id="@+id/browse_view"
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
android:layout_height="match_parent"
+ android:layout_weight="1"
android:minWidth="100dip"
- ex:layout_narrowParentWidth="1000dip"
- ex:layout_narrowWidth="276dip"
- ex:layout_wideParentWidth="1280dip"
- ex:layout_wideWidth="376dip"
android:background="@drawable/list_background_holo"
android:visibility="gone">
@@ -58,14 +56,9 @@
<view
class="com.android.contacts.widget.TransitionAnimationView"
android:id="@+id/contact_details_view"
- android:layout_width="match_parent"
+ android:layout_width="0dp"
android:layout_height="match_parent"
- ex:layout_narrowParentWidth="800dip"
- ex:layout_narrowMarginLeft="0dip"
- ex:layout_narrowMarginRight="0dip"
- ex:layout_wideParentWidth="1280dip"
- ex:layout_wideMarginLeft="0dip"
- ex:layout_wideMarginRight="0dip"
+ android:layout_weight="2"
android:visibility="gone">
<!-- This layout includes all possible views needed for a contact detail page -->
@@ -89,12 +82,6 @@
android:id="@+id/group_details_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
- ex:layout_narrowParentWidth="800dip"
- ex:layout_narrowMarginLeft="0dip"
- ex:layout_narrowMarginRight="0dip"
- ex:layout_wideParentWidth="1280dip"
- ex:layout_wideMarginLeft="0dip"
- ex:layout_wideMarginRight="0dip"
android:visibility="gone">
<!-- This is the group detail page -->
@@ -145,7 +132,7 @@
</LinearLayout>
- </com.android.contacts.widget.InterpolatingLayout>
+ </LinearLayout>
<com.android.contacts.widget.InterpolatingLayout
android:id="@+id/contacts_unavailable_view"