You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.8 KiB
XML
51 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="10dip"
|
|
android:paddingBottom="10dip">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="下拉可以刷新!" />
|
|
|
|
<TextView
|
|
android:id="@+id/lastupdate_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/arrow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="20dip"
|
|
android:layout_toLeftOf="@id/layout"
|
|
android:src="@android:drawable/ic_popup_sync" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress"
|
|
style="?android:attr/progressBarStyleSmall"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="20dip"
|
|
android:layout_toLeftOf="@id/layout"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout> |