mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 06:17:27 +00:00
Added new designs, strings, styles, shapes and a MarkAdapter Class (First draft)
158 lines
5.8 KiB
XML
158 lines
5.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/black"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="0dp"
|
|
android:paddingRight="0dp">
|
|
|
|
<com.sap.sailing.android.tracking.app.customviews.OpenSansTextView
|
|
android:id="@+id/mark_header"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_gravity="left"
|
|
android:background="@color/black_transparent"
|
|
android:gravity="center"
|
|
android:paddingBottom="7dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingTop="7dp"
|
|
android:textColor="@color/white"
|
|
android:textSize="10sp" />
|
|
|
|
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/map"
|
|
android:name="com.google.android.gms.maps.MapFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<!-- Begin of detailed mark information -->
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="15dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="7dp"
|
|
android:paddingTop="15dp">
|
|
|
|
<com.sap.sailing.android.tracking.app.customviews.OpenSansTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/signal_accuracy_indicator_view_description"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
<!-- Empty view to right align the following element -->
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<com.sap.sailing.android.tracking.app.customviews.OpenSansTextView
|
|
android:id="@+id/marker_gps_accuracy"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
</LinearLayout>
|
|
|
|
<View style="@style/Divider" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="15dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="7dp"
|
|
android:paddingTop="15dp">
|
|
|
|
<com.sap.sailing.android.tracking.app.customviews.OpenSansTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/longitude"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
<!-- Empty view to right align the following element -->
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<com.sap.sailing.android.tracking.app.customviews.OpenSansTextView
|
|
android:id="@+id/marker_gps_longitude"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
</LinearLayout>
|
|
|
|
<View style="@style/Divider" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="15dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="7dp"
|
|
android:paddingTop="15dp">
|
|
|
|
<com.sap.sailing.android.tracking.app.customviews.OpenSansTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/latitude"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
<!-- Empty view to right align the following element -->
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<com.sap.sailing.android.tracking.app.customviews.OpenSansTextView
|
|
android:id="@+id/marker_gps_latitude"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
</LinearLayout>
|
|
|
|
<View style="@style/Divider" />
|
|
|
|
<com.sap.sailing.android.tracking.app.customviews.OpenSansButton
|
|
android:id="@+id/marker_set_position_button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginTop="15dp"
|
|
android:background="@drawable/rounded_btn_yellow"
|
|
android:text="@string/set_position"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
|
|
<com.sap.sailing.android.tracking.app.customviews.OpenSansButton
|
|
android:id="@+id/marker_reset_position_button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="15dp"
|
|
android:background="@drawable/rounded_btn_transparent"
|
|
android:text="@string/reset_position"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
</LinearLayout> |