Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LXQuan committed Apr 27, 2016
1 parent 5a22c6d commit e528ce5
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
62 changes: 62 additions & 0 deletions app/src/main/res/layout/net1314080903222.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<EditText
android:id="@+id/et_url"
android:layout_width="320dp"
android:layout_height="wrap_content"
android:hint="@null" />
<Button
android:id="@+id/btn_login"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/text"
/>
</LinearLayout>
<WebView
android:layout_weight="2"
android:id="@+id/webView"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<LinearLayout
android:layout_weight="11"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal"
android:background="#006400"
>
<Button
android:id="@+id/btn_back"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/text1"
/>
<Button
android:id="@+id/btn_menu"
android:layout_weight="1.5"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/text2"
/>
<Button
android:id="@+id/btn_forward"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/text3"
/>
<Button
android:id="@+id/btn_exit"
android:layout_weight="1.5"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/text4"
/>
</LinearLayout>
</LinearLayout>
11 changes: 11 additions & 0 deletions app/src/main/res/layout/net1314080903222strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="app_name">微型浏览器</string>
<string name="hello_world">Hello world!</string>
<string name="text">访问</string>
<string name="text1">上一页</string>
<string name="text2">首页</string>
<string name="text3">下一页</string>
<string name="text4">退出</string>
</resources>

0 comments on commit e528ce5

Please sign in to comment.