diff options
Diffstat (limited to 'main/res/layout/compass_activity.xml')
-rw-r--r-- | main/res/layout/compass_activity.xml | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/main/res/layout/compass_activity.xml b/main/res/layout/compass_activity.xml index ca61cc3..f618d71 100644 --- a/main/res/layout/compass_activity.xml +++ b/main/res/layout/compass_activity.xml @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="?background_color" - android:orientation="vertical" > + android:orientation="vertical" + tools:context=".CompassActivity" > <LinearLayout android:id="@+id/info1" @@ -16,16 +18,20 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" + android:text="@null" android:textColor="?text_color" - android:textSize="14sp" /> + android:textSize="14sp" + tools:text="Destination coordinates" /> <TextView android:id="@+id/cacheinfo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" + android:text="@null" android:textColor="?text_color" - android:textSize="14sp" /> + android:textSize="14sp" + tools:text="Cache information (D/T/S)" /> <RelativeLayout android:layout_width="fill_parent" @@ -40,7 +46,8 @@ android:layout_marginLeft="3dip" android:text="@null" android:textColor="?text_color" - android:textSize="26sp" /> + android:textSize="26sp" + tools:text="123°" /> <TextView android:id="@+id/distance" @@ -51,7 +58,8 @@ android:layout_marginRight="3dip" android:text="@null" android:textColor="?text_color" - android:textSize="26sp" /> + android:textSize="26sp" + tools:text="123 km" /> </RelativeLayout> </LinearLayout> |