summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-04-28 21:25:53 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-04-28 21:25:54 +0000
commit40bb6b9b90855e2377bdc634d553e3def65e483e (patch)
tree617a07f20a46f270f93111d81baa41118ddba772 /res
parent10b8c46fe070a93f98db69c60e0f1b28c02b5964 (diff)
parente709fd21eda44df07327f649e4e6a257918555a9 (diff)
Merge "Add and use OverlappingPaneLayout"
Diffstat (limited to 'res')
-rw-r--r--res/layout/lists_fragment.xml37
1 files changed, 21 insertions, 16 deletions
diff --git a/res/layout/lists_fragment.xml b/res/layout/lists_fragment.xml
index 6ed0f856e..d5b2bf8ac 100644
--- a/res/layout/lists_fragment.xml
+++ b/res/layout/lists_fragment.xml
@@ -14,11 +14,11 @@
limitations under the License.
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<com.android.dialer.widget.OverlappingPaneLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="?android:attr/actionBarSize"
- android:orientation="vertical"
android:animateLayoutChanges="true"
android:id="@+id/lists_frame">
<ListView
@@ -29,18 +29,23 @@
android:clipToPadding="false"
android:fadingEdge="none"
android:divider="@null" />
- <com.android.dialer.list.ViewPagerTabs
- android:id="@+id/lists_pager_header"
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="?android:attr/actionBarSize"
- android:textAllCaps="true"
- android:orientation="horizontal"
- android:layout_gravity="top"
- style="@style/DialtactsActionBarTabTextStyle" />
- <android.support.v4.view.ViewPager
- android:id="@+id/lists_pager"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1">
- </android.support.v4.view.ViewPager>
-</LinearLayout>
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+ <com.android.dialer.list.ViewPagerTabs
+ android:id="@+id/lists_pager_header"
+ android:layout_width="match_parent"
+ android:layout_height="?android:attr/actionBarSize"
+ android:textAllCaps="true"
+ android:orientation="horizontal"
+ android:layout_gravity="top"
+ style="@style/DialtactsActionBarTabTextStyle" />
+ <android.support.v4.view.ViewPager
+ android:id="@+id/lists_pager"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1">
+ </android.support.v4.view.ViewPager>
+ </LinearLayout>
+</com.android.dialer.widget.OverlappingPaneLayout>