~vedu/mafia-android/master

« back to all changes in this revision

Viewing changes to res/layout/activity_welcome.xml

  • Committer: Vedant Agrwala
  • Date: 2013-11-14 09:10:05 UTC
  • Revision ID: vedant.kota@gmail.com-20131114091005-mv8oabe8o4fugzo8
Initial work

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
    android:paddingBottom="@dimen/activity_vertical_margin"
 
6
    android:paddingLeft="@dimen/activity_horizontal_margin"
 
7
    android:paddingRight="@dimen/activity_horizontal_margin"
 
8
    android:paddingTop="@dimen/activity_vertical_margin"
 
9
    tools:context=".WelcomeActivity" >
 
10
 
 
11
    <Button
 
12
        android:id="@+id/hostButton"
 
13
        android:layout_width="wrap_content"
 
14
        android:layout_height="wrap_content"
 
15
        android:layout_alignParentLeft="true"
 
16
        android:layout_alignParentRight="true"
 
17
        android:layout_alignParentTop="true"
 
18
        android:layout_marginTop="142dp"
 
19
        android:text="Host"
 
20
        android:onClick="hostButtonClicked" />
 
21
 
 
22
    <Button
 
23
        android:id="@+id/joinButton"
 
24
        android:layout_width="wrap_content"
 
25
        android:layout_height="wrap_content"
 
26
        android:layout_alignParentLeft="true"
 
27
        android:layout_alignRight="@+id/hostButton"
 
28
        android:layout_below="@+id/hostButton"
 
29
        android:text="Join" />
 
30
 
 
31
</RelativeLayout>