minesweeper/res/layout/activity_main.xml
branchminesweeper
changeset 81 0d274f085dac
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/minesweeper/res/layout/activity_main.xml	Tue Feb 11 16:53:26 2014 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +<!--
     1.5 +
     1.6 +    The MIT License (MIT)
     1.7 +
     1.8 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     1.9 +
    1.10 +    Permission is hereby granted, free of charge, to any person obtaining a copy
    1.11 +    of this software and associated documentation files (the "Software"), to deal
    1.12 +    in the Software without restriction, including without limitation the rights
    1.13 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    1.14 +    copies of the Software, and to permit persons to whom the Software is
    1.15 +    furnished to do so, subject to the following conditions:
    1.16 +
    1.17 +    The above copyright notice and this permission notice shall be included in
    1.18 +    all copies or substantial portions of the Software.
    1.19 +
    1.20 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    1.21 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    1.22 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    1.23 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    1.24 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    1.25 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    1.26 +    THE SOFTWARE.
    1.27 +
    1.28 +-->
    1.29 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    1.30 +    android:layout_width="match_parent"
    1.31 +    android:layout_height="match_parent"
    1.32 +    android:paddingBottom="@dimen/activity_vertical_margin"
    1.33 +    android:paddingLeft="@dimen/activity_horizontal_margin"
    1.34 +    android:paddingRight="@dimen/activity_horizontal_margin"
    1.35 +    android:paddingTop="@dimen/activity_vertical_margin" >
    1.36 +    
    1.37 +    <Button android:layout_width="wrap_content"
    1.38 +       android:layout_height="wrap_content"
    1.39 +       android:text="@string/hello_world"
    1.40 +       android:onClick="click"
    1.41 +    />
    1.42 +    
    1.43 +</RelativeLayout>
    1.44 \ No newline at end of file