布局文件
<Button
android:id="@+id/Donw"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="下载"
android:textSize="20sp"
android:layout_gravity="center_horizontal"
/>
<Button
android:id="@+id/Up"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="上传"
android:textSize="20sp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="50dp"
/>
<ImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent" />
实现下载模块
OkHttpC