本文实现一个基于Android的网络HTML查看器新建项目,项目布局文件如下:<LinearLayout ="http://schemas.android.com/apk/res/android" ="http://schemas.andro ...
本文实现一个基于Android的网络HTML查看器
新建项目,项目布局文件如下:
<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" > <EditText android:id="@+id/et_path" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="请输入html路径" /> <Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:onClick="click" android:text="查看" /> <ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:id="@+id/tv_content" android:layout_width="fill_parent" android:layout_height="fill_parent" > </TextView> </ScrollView></LinearLayout>
原标题:Android 网络HTML查看器
关键词:HTML
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。