达内android 代码,深圳达内Android网页源码查看器.pdf

深圳达内 Android 网页源码查看器

?

1 <?xml version="1.0" encoding="utf-8"?>

2 < LinearLayout

3 xmlns:android=" /apk/res/android "

4 android:orientation="vertical"

5 android:layout_width="fill_parent"

6 android:layout_height="fill_parent">

7 < TextView

8 android:layout_width="fill_parent"

9 android:layout_height="wrap_content"

1 android:text="@string/path"

0 />

1 < EditText

1 android:id="@+id/path"

1 android:layout_width="fill_parent"

2 android:layout_height="wrap_content"

1 android:text=" 31:8080/videonews/index.jsp "

3 />

1 < Button

4 android:id="@+id/button"

1 android:layout_width="wrap_content"

5 android:layout_height="wrap_content"

1 android:text="@string/button"

6 />

1

7 < ScrollView

1 android:layout_width="wrap_content"

8 android:layout_height="wrap_content">

1 < TextView

9 android:id="@+id/htmlsource"

2 android:layout_width="fill_parent"

0 android:layout_height="wrap_content"

2 />

1 ScrollView >

2 LinearLayout >

2

2

3

2

4

2

5

2

6

2

7

2

8

2

9

3

0

3

1

3

2

3

3

?

1 package .htmlviewer;

2

3 public class MainActivity extends Activity {

4 private EditText pathText;

5 private TextView htmlSource;

6

7 public void onCreate(Bundle savedInstanceState) {

8 super .onCreate(savedInstanceState);

9 setContentView(R.layout.main);

1 pathText = (EditText) this .findViewById(R.id.path);

0 htmlSource = (TextView) this

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值