From 4ff8e16b14f1e2e1993447e380dca3f2ca9f613c Mon Sep 17 00:00:00 2001
From: jiangwenjun123 <549639464@qq.com>
Date: Wed, 15 Jun 2016 21:46:05 +0800
Subject: [PATCH] =?UTF-8?q?#88=20#89=20#90=20#95=20#971=20=E5=85=A8?=
 =?UTF-8?q?=E9=83=A8=E5=AE=9E=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../main/res/layout/Net1314080903218line.xml  | 23 ++++++++++++++
 .../main/res/layout/Net1314080903218main.xml  | 31 +++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 app/src/main/res/layout/Net1314080903218line.xml
 create mode 100644 app/src/main/res/layout/Net1314080903218main.xml

diff --git a/app/src/main/res/layout/Net1314080903218line.xml b/app/src/main/res/layout/Net1314080903218line.xml
new file mode 100644
index 00000000..88e4d836
--- /dev/null
+++ b/app/src/main/res/layout/Net1314080903218line.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+	android:orientation="horizontal"
+	android:layout_width="fill_parent"
+	android:layout_height="fill_parent"
+	>	
+<!-- 定义一个ImageView,用于作为列表项的一部分。 -->
+<ImageView android:id="@+id/icon"
+	android:layout_width="40dp"
+	android:layout_height="40dp" 
+	android:paddingLeft="10dp"
+	/>
+<!-- 定义一个TextView,用于作为列表项的一部分。 -->
+<TextView android:id="@+id/file_name"
+	android:layout_width="wrap_content" 
+	android:layout_height="wrap_content"
+	android:textSize="16dp"
+	android:gravity="center_vertical"
+	android:paddingLeft="10dp"
+	android:paddingTop="10dp"
+	android:paddingBottom="10dp"	
+	/>	
+</LinearLayout>
\ No newline at end of file
diff --git a/app/src/main/res/layout/Net1314080903218main.xml b/app/src/main/res/layout/Net1314080903218main.xml
new file mode 100644
index 00000000..f2994f07
--- /dev/null
+++ b/app/src/main/res/layout/Net1314080903218main.xml
@@ -0,0 +1,31 @@
+<?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"
+	>
+<!-- 显示当前路径的的文本框 -->
+<TextView  
+	android:id="@+id/path"
+	android:layout_width="fill_parent" 
+	android:layout_height="wrap_content" 
+	android:layout_gravity="center_horizontal"
+	android:layout_alignParentTop="true"
+	/>
+<!-- 列出当前路径下所有文件的ListView -->
+<ListView  
+	android:id="@+id/list"
+	android:layout_width="wrap_content" 
+	android:layout_height="wrap_content" 
+	android:divider="#000"
+	android:dividerHeight="1px"
+	android:layout_below="@id/path"
+	/>
+<!-- 返回上一级目录的按钮 -->
+<Button android:id="@+id/parent"
+	android:layout_width="38dp" 
+	android:layout_height="34dp" 
+	android:background="@drawable/home"
+	android:layout_centerHorizontal="true"
+	android:layout_alignParentBottom="true"
+/>
+</RelativeLayout>