-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
huangshuisheng
committed
Dec 23, 2016
1 parent
bd3e33f
commit f2e1664
Showing
6 changed files
with
125 additions
and
26 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" > | ||
|
||
<ImageView | ||
android:id="@+id/empty_icon" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerHorizontal="true" | ||
android:layout_marginTop="40dp" | ||
android:src="@drawable/ic_empty_page" /> | ||
<TextView | ||
android:id="@+id/tv_msg_empty" | ||
android:layout_below="@id/empty_icon" | ||
android:layout_marginTop="15dp" | ||
android:textSize="15sp" | ||
android:layout_centerHorizontal="true" | ||
android:text="咦...没有任何内容,先去逛逛别的吧" | ||
android:textColor="#666666" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
|
||
</RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" > | ||
|
||
<LinearLayout | ||
|
||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_centerInParent="true" | ||
android:gravity="center" | ||
android:orientation="vertical" > | ||
|
||
<ImageView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="20dp" | ||
android:src="@drawable/ic_error_page" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_msg_error" | ||
android:text="来到一个没有网络的异次元" | ||
android:textColor="#333333" | ||
android:textSize="13sp" | ||
android:gravity="center" | ||
android:layout_marginBottom="20dp" | ||
android:layout_marginLeft="20dp" | ||
android:layout_marginRight="20dp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
<TextView | ||
android:id="@+id/error_btn_retry" | ||
android:layout_width="wrap_content" | ||
android:layout_height="34dp" | ||
android:gravity="center" | ||
|
||
android:background="@drawable/selector_btn_bg" | ||
android:paddingLeft="25dp" | ||
android:paddingRight="25dp" | ||
android:text="加载失败,点击重试" | ||
android:textColor="#ff717171" | ||
android:textSize="14sp" /> | ||
</LinearLayout> | ||
|
||
</RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
> | ||
|
||
<ProgressBar | ||
android:id="@+id/progressbar" | ||
android:layout_width="40dp" | ||
android:layout_height="40dp" | ||
android:layout_centerInParent="true" | ||
android:indeterminateDrawable="@drawable/progressstyleshape" | ||
android:indeterminateDuration="1200" | ||
android:indeterminateBehavior="repeat" | ||
/> | ||
|
||
<TextView | ||
android:text="加载中..." | ||
android:layout_marginTop="20dp" | ||
android:layout_centerHorizontal="true" | ||
android:layout_below="@id/progressbar" | ||
android:textSize="16sp" | ||
android:textColor="#333333" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
|
||
|
||
</RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters