~robinj/android-omgubuntu/trunk

« back to all changes in this revision

Viewing changes to res/layout/activity_main.xml

  • Committer: Robin Jacobs
  • Date: 2012-09-07 18:03:30 UTC
  • Revision ID: broederjacobs@gmail.com-20120907180330-b6vk75ks5t0odu4f
Initial Launchpad release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
 
2
    xmlns:tools="http://schemas.android.com/tools"
 
3
    android:layout_width="match_parent"
 
4
    android:layout_height="match_parent" >
 
5
 
 
6
    <ImageView
 
7
        android:id="@+id/logo"
 
8
        android:layout_width="wrap_content"
 
9
        android:layout_height="wrap_content"
 
10
        android:layout_alignParentLeft="true"
 
11
        android:layout_alignParentTop="true"
 
12
        android:src="@drawable/ic_launcher"
 
13
        android:onClick="logo_clicked"/>
 
14
 
 
15
    <Button
 
16
        android:id="@+id/btnRefresh"
 
17
        android:layout_width="wrap_content"
 
18
        android:layout_height="wrap_content"
 
19
        android:layout_alignParentRight="true"
 
20
        android:layout_alignParentTop="true"
 
21
        android:background="@android:drawable/btn_default"
 
22
        android:text="@string/Refresh"
 
23
        android:onClick="btnRefresh_clicked" />
 
24
 
 
25
    <WebView
 
26
        android:id="@+id/web"
 
27
        android:layout_width="match_parent"
 
28
        android:layout_height="match_parent"
 
29
        android:layout_alignParentLeft="true"
 
30
        android:layout_alignParentRight="true"
 
31
        android:layout_below="@+id/logo"
 
32
        android:fadingEdge="none"
 
33
        android:scrollbarStyle="insideOverlay"
 
34
        android:scrollbars="vertical" />
 
35
 
 
36
</RelativeLayout>