~vedu/mafia-android/master

« back to all changes in this revision

Viewing changes to res/layout/activity_game_ends.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:gravity="center"
 
6
    android:paddingBottom="@dimen/activity_vertical_margin"
 
7
    android:paddingLeft="@dimen/activity_horizontal_margin"
 
8
    android:paddingRight="@dimen/activity_horizontal_margin"
 
9
    android:paddingTop="@dimen/activity_vertical_margin"
 
10
    tools:context=".GameEndsActivity" >
 
11
 
 
12
    <Button
 
13
        android:id="@+id/anotherGameButton"
 
14
        android:layout_width="match_parent"
 
15
        android:layout_height="wrap_content"
 
16
        android:layout_centerVertical="true"
 
17
        android:text="Play Another Game"
 
18
        android:onClick="anotherGameClicked" />
 
19
 
 
20
    <TextView
 
21
        android:id="@+id/gameEndsText"
 
22
        android:layout_width="wrap_content"
 
23
        android:layout_height="wrap_content"
 
24
        android:layout_above="@+id/anotherGameButton"
 
25
        android:layout_centerHorizontal="true"
 
26
        android:text="Game is Over.\n"
 
27
        android:textAppearance="?android:attr/textAppearanceLarge" />
 
28
 
 
29
</RelativeLayout>