diff options
author | Christine Chen <christinech@google.com> | 2013-05-20 12:33:58 -0700 |
---|---|---|
committer | Christine Chen <christinech@google.com> | 2013-05-20 12:33:58 -0700 |
commit | a14fab4b3d9dcdb5bad239412b3d1a955ed3d02e (patch) | |
tree | 305f6a90b2d829d90f1a01159dc03596c654165f /res/layout-sw720dp | |
parent | bea618d06ab630061a9093fa670bb7d46b2bcf72 (diff) | |
download | packages_apps_Contacts-a14fab4b3d9dcdb5bad239412b3d1a955ed3d02e.tar.gz packages_apps_Contacts-a14fab4b3d9dcdb5bad239412b3d1a955ed3d02e.tar.bz2 packages_apps_Contacts-a14fab4b3d9dcdb5bad239412b3d1a955ed3d02e.zip |
Changed layout files to the proper dp size.
Changed sw580dp files to sw600 files.
Changed sw680dp files to sw720 files.
Bug: 8711262
Change-Id: I4d3653f42c84196c8d78b23aef1760086041d0fe
Diffstat (limited to 'res/layout-sw720dp')
-rw-r--r-- | res/layout-sw720dp/group_browse_list_account_header.xml | 31 | ||||
-rw-r--r-- | res/layout-sw720dp/people_activity.xml | 167 |
2 files changed, 198 insertions, 0 deletions
diff --git a/res/layout-sw720dp/group_browse_list_account_header.xml b/res/layout-sw720dp/group_browse_list_account_header.xml new file mode 100644 index 000000000..af60c793b --- /dev/null +++ b/res/layout-sw720dp/group_browse_list_account_header.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <!-- Only visible when it is the first element in the list. --> + <View + android:id="@+id/header_extra_top_padding" + android:layout_width="match_parent" + android:layout_height="@dimen/list_header_extra_top_padding" /> + + <include layout="@layout/group_account_header_horizontal" /> + +</LinearLayout> diff --git a/res/layout-sw720dp/people_activity.xml b/res/layout-sw720dp/people_activity.xml new file mode 100644 index 000000000..d8b402649 --- /dev/null +++ b/res/layout-sw720dp/people_activity.xml @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<view + class="com.android.contacts.widget.TransitionAnimationView" + android:id="@+id/people_view" + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:ex="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <LinearLayout + android:id="@+id/main_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="horizontal" + android:splitMotionEvents="true" + android:baselineAligned="false"> + + <!-- Left panel browse list for Groups or All tabs --> + <FrameLayout + android:id="@+id/browse_view" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="1" + android:background="@drawable/list_background_holo" + android:visibility="gone"> + + <!-- All --> + <fragment + android:id="@+id/all_fragment" + class="com.android.contacts.list.DefaultContactBrowseListFragment" + android:layout_height="match_parent" + android:layout_width="match_parent" /> + + <!-- Groups --> + <fragment + android:id="@+id/groups_fragment" + class="com.android.contacts.group.GroupBrowseListFragment" + android:layout_height="match_parent" + android:layout_width="match_parent" /> + </FrameLayout> + + <!-- Right panel detail view for All tab --> + <view + class="com.android.contacts.widget.TransitionAnimationView" + android:id="@+id/contact_details_view" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="2" + android:visibility="gone"> + + <!-- This layout includes all possible views needed for a contact detail page --> + <include + android:id="@+id/contact_detail_container" + layout="@layout/contact_detail_container" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginLeft="16dip" + android:layout_marginRight="16dip" + android:layout_marginStart="16dip" + android:layout_marginEnd="16dip" + android:layout_marginTop="16dip" /> + + <!-- This invisible worker fragment loads the contact's details --> + <fragment + android:id="@+id/contact_detail_loader_fragment" + class="com.android.contacts.detail.ContactLoaderFragment" + android:layout_height="0dip" + android:layout_width="0dip" + android:visibility="gone"/> + </view> + + <!-- Right panel detail view for Groups tab --> + <view + class="com.android.contacts.widget.TransitionAnimationView" + android:id="@+id/group_details_view" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="2" + android:visibility="gone"> + + <!-- This is the group detail page --> + <fragment + android:id="@+id/group_detail_fragment" + class="com.android.contacts.group.GroupDetailFragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" /> + </view> + + <!-- Two-panel view under the Favorites tab --> + <LinearLayout + android:id="@+id/favorites_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@drawable/list_background_holo" + android:baselineAligned="false"> + + <!-- Starred --> + <FrameLayout + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="10" + android:background="@drawable/panel_favorites_holo_light"> + + <fragment + android:id="@+id/favorites_fragment" + class="com.android.contacts.list.ContactTileListFragment" + android:layout_height="match_parent" + android:layout_width="match_parent" + android:layout_marginLeft="16dip" + android:layout_marginRight="16dip" + android:layout_marginStart="16dip" + android:layout_marginEnd="16dip" /> + + </FrameLayout> + + <!-- Most Frequent --> + <fragment + android:id="@+id/frequent_fragment" + class="com.android.contacts.list.ContactTileFrequentFragment" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="8" + android:layout_marginTop="16dip" + android:layout_marginRight="16dip" + android:layout_marginEnd="16dip"/> + + </LinearLayout> + + </LinearLayout> + + <com.android.contacts.widget.InterpolatingLayout + android:id="@+id/contacts_unavailable_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@drawable/background_holo_light" + android:visibility="gone"> + + <FrameLayout + android:id="@+id/contacts_unavailable_container" + android:layout_height="match_parent" + android:layout_width="match_parent" + ex:layout_narrowParentWidth="800dip" + ex:layout_narrowMarginLeft="80dip" + ex:layout_narrowMarginRight="80dip" + ex:layout_wideParentWidth="1280dip" + ex:layout_wideMarginLeft="200dip" + ex:layout_wideMarginRight="200dip" + android:paddingBottom="20dip" /> + + </com.android.contacts.widget.InterpolatingLayout> +</view> |