Android 网络图片查看器
发布时间:2016-06-27 16:00:06
今天来实现一下android下的一款简单的网络图片查看器界面如下:代码如下:<LinearLayout ="http://schemas.android.com/apk/res/android" ="http://schemas.androi ...
今天来实现一下android下的一款简单的网络图片查看器
界面如下:
代码如下:
<LinearLayout ="http://schemas.android.com/apk/res/android" ="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".MainActivity" > <ImageView android:id="@+id/iv" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1000" /> <EditText android:singleLine="true" android:text="http://img01.sogoucdn.com/app/a/100540002/1047586.jpg" android:id="@+id/et_path" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="请输入图片路径" /> <Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:onClick="click" android:text="浏览" /></LinearLayout>
原标题:Android 网络图片查看器
关键词:Android
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。