TRACKING APP: layout

This commit is contained in:
Lukas Zielinski committed 2014-11-25 17:50:48 +01:00
1 parent 72f28f46b1
commit e553788d25
5 files changed
+60 -14

No files matched your search

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<solid android:color="@color/sap_red" />
<corners
android:bottomLeftRadius="3dip"
android:bottomRightRadius="3dip"
android:topLeftRadius="3dip"
android:topRightRadius="3dip" />
</shape>
@@ -271,7 +271,7 @@
android:layout_margin="10dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:background="@drawable/rounded_btn"
android:background="@drawable/rounded_btn_green"
android:padding="10dp"
android:text="@string/start_tracking"
android:textAllCaps="true"
@@ -49,18 +49,6 @@
android:textColor="@color/sap_green"
android:text="@string/tracking_status_tracking" />
<Button
android:id="@+id/stop_tracking"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:background="#e94a1b"
android:padding="10dp"
android:layout_margin="10dp"
android:text="@string/stop_tracking" />
<com.sap.sailing.android.tracking.app.views.SignalQualityIndicatorView
android:id="@+id/qps_quality_indicator"
android:layout_width="wrap_content"
@@ -129,5 +117,53 @@
android:layout_height="1dp"
android:layout_below="@id/qps_quality"
android:background="@android:color/darker_gray" />
<RelativeLayout
android:id="@+id/start_tracking_box"
android:layout_width="fill_parent"
android:layout_height="100dp"
android:layout_above="@id/bottomLayout"
android:background="@color/gray" >
<View
android:id="@+id/white_bar"
android:layout_width="fill_parent"
android:layout_height="1dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:background="@color/white_transparent" />
<Button
android:id="@+id/stop_tracking"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_margin="10dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:background="@drawable/rounded_btn_red"
android:padding="10dp"
android:text="@string/stop_tracking"
android:textAllCaps="true"
android:textStyle="bold"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/bottomLayout"
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@color/darker_gray"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:gravity="center"
android:textColor="@color/white" />
</RelativeLayout>
</RelativeLayout>
@@ -8,7 +8,6 @@
<string name="stop_race_question">Do you want to stop the race tracking?</string>
<string name="confirm_profile">Hello #USERNAME#\nYou are listed on #EVENT#.</string>
<string name="checkout_regatta">Checkout Regatta</string>
<string name="stop_tracking">Disable tracking of this regatta?</string>
<string name="confirm_picture">Declaration of consent</string>
<string name="confirm_picture_usage">I agree that the pictures made by me in the tracking app can be used by SAP.</string>
<string name="notify_user_api_call_failed">An error occurred while contacting the server. Please try again.</string>