1
0
mirror of https://github.com/bspeice/itcs4180 synced 2025-07-03 06:45:15 -04:00

A whole lot of skeleton work for the scavenger hunt

This commit is contained in:
Bradlee Speice
2014-04-13 23:32:39 -04:00
parent dddab46731
commit f4df53da3f
5 changed files with 206 additions and 33 deletions

View File

@ -8,9 +8,21 @@
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity" >
<ListView
android:id="@+id/listLocations"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" >
</ListView>
<TextView
android:id="@+id/txtNoLocations"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world" />
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:visibility="gone"
android:text="There are currently no locations available. Contacting the server to get them now..." />
</RelativeLayout>

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ImageView
android:id="@+id/imgIsFound"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:src="@drawable/ic_launcher" />
<TextView
android:id="@+id/txtName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_toRightOf="@+id/imgIsFound"
android:text="TextView"
android:textSize="20sp" />
<TextView
android:id="@+id/txtRiddle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/txtName"
android:layout_below="@+id/txtName"
android:text="TextView"
android:textColor="@android:color/secondary_text_light"
android:textSize="15sp" />
</RelativeLayout>