<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_scan_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.bell.scansdcardfiles.activity.ScanListActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
android:orientation="horizontal">
<TextView
android:id="@+id/select_file_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:drawableLeft="@drawable/ic_file"
android:drawablePadding="5dp"
android:background="@drawable/press_trans_white"
android:gravity="center_vertical"
android:padding="10dp"
android:text="按文件扫描"
android:textColor="@color/fff"/>
<View
android:layout_width="0.5dp"
android:layout_height="50dp"
android:background="@color/fff"/>
<TextView
android:id="@+id/select_folder_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:background="@drawable/press_trans_white"
android:drawableLeft="@drawable/ic_folder"
android:drawablePadding="5dp"
android:gravity="center_vertical"
android:padding="10dp"
android:text="按目录扫描"
android:textColor="@color/fff"/>
<View
android:layout_width="0.5dp"
android:layout_height="50dp"
android:background="@color/fff"/>
<ImageView
android:id="@+id/setting_image"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/press_trans_white"
android:padding="10dp"
android:src="@drawable/ic_settings"/>
</LinearLayout>
<ListView
android:id="@+id/file_list_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
<FrameLayout
android:id="@+id/progress"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center"/>
</FrameLayout>
</FrameLayout>