1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-14 11:28:14 -05:00
itcs4180/HW3/res/layout/activity_result.xml

68 lines
2.6 KiB
XML
Raw Normal View History

2014-02-22 16:39:00 -05:00
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2014-02-22 17:01:48 -05:00
android:id="@+id/RelativeLayout1"
2014-02-22 16:39:00 -05:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2014-02-22 17:01:48 -05:00
android:orientation="vertical"
2014-02-22 16:39:00 -05:00
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".ResultActivity" >
2014-02-22 17:01:48 -05:00
<TextView
android:id="@+id/txtResultValue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:text="@string/txtResultValue_Success"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/txtResultElapsed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/txtResultValue"
android:text="@string/txtResultElapsed"
android:textAppearance="?android:attr/textAppearanceSmall" />
<ImageView
android:id="@+id/imgResult"
android:layout_width="219dp"
android:layout_height="219dp"
android:layout_alignParentLeft="true"
android:layout_below="@+id/txtResultElapsed"
android:scaleType="centerInside"
android:src="@drawable/win" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/imgResult"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_below="@+id/imgResult"
android:gravity="fill_horizontal" >
<Button
android:id="@+id/btnTryAgain"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_weight="1"
android:onClick="onClick"
2014-02-22 17:01:48 -05:00
android:text="@string/btnTryAgain" />
<Button
android:id="@+id/btnExit"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_weight="1"
android:onClick="onClick"
2014-02-22 17:01:48 -05:00
android:text="@string/btnExit" />
</LinearLayout>
</RelativeLayout>