From 109ffe9a777658936a38d0c146579a67c60a0d17 Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 11 五月 2017 17:48:48 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/res/layout/pull_to_refresh_header.xml | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/VisitFace/DemoForBsk/app/src/main/res/layout/pull_to_refresh_header.xml b/VisitFace/DemoForBsk/app/src/main/res/layout/pull_to_refresh_header.xml index 6895075..fdaae58 100644 --- a/VisitFace/DemoForBsk/app/src/main/res/layout/pull_to_refresh_header.xml +++ b/VisitFace/DemoForBsk/app/src/main/res/layout/pull_to_refresh_header.xml @@ -2,8 +2,8 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:paddingTop="10dp" - android:paddingBottom="10dip"> + android:paddingTop="@dimen/h10dp" + android:paddingBottom="@dimen/h10dp"> <TextView android:id="@+id/pull_to_refresh_text" @@ -19,8 +19,8 @@ android:indeterminate="true" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginLeft="30dip" - android:layout_marginRight="20dip" + android:layout_marginLeft="@dimen/w30dp" + android:layout_marginRight="@dimen/w20dp" android:visibility="gone" android:layout_centerVertical="true" style="?android:attr/progressBarStyleSmall" /> @@ -29,10 +29,7 @@ android:id="@+id/pull_to_refresh_image" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginLeft="30dip" - android:layout_marginRight="20dip" + android:layout_marginLeft="@dimen/w30dp" + android:layout_marginRight="@dimen/w20dp" android:layout_centerVertical="true" /> - - - </RelativeLayout> \ No newline at end of file -- Gitblit v1.8.0