mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-02 10:23:51 +00:00
277 lines
12 KiB
XML
277 lines
12 KiB
XML
<?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="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?sap_gray_black_30">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="@dimen/default_padding_twice"
|
|
android:paddingRight="@dimen/default_padding_twice">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="@dimen/default_padding_half"
|
|
android:paddingTop="@dimen/default_padding">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_centerVertical="true"
|
|
android:text="@string/race_summary_title"
|
|
android:textColor="?white"
|
|
android:textSize="@dimen/textSize_40"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/thin_line"
|
|
android:layout_marginBottom="@dimen/default_margin_half"
|
|
android:background="?sap_gray"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="@dimen/default_padding_half"
|
|
android:paddingTop="@dimen/default_padding_half">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="2"
|
|
android:text="@string/race_summary_start"
|
|
android:textAppearance="?attr/textNormal"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/edit_race_start_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="?create"
|
|
android:visibility="invisible"
|
|
tools:visibility="visible"/>
|
|
|
|
<TextView
|
|
android:id="@+id/race_start_time"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="right"
|
|
android:textAppearance="?attr/textNormal"
|
|
tools:text="11:00:00"/>
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="@dimen/default_padding_half"
|
|
android:paddingTop="@dimen/default_padding_half">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="2"
|
|
android:text="@string/race_summary_finish_begin"
|
|
android:textAppearance="?attr/textNormal"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/edit_race_finish_begin_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="?create"
|
|
android:visibility="visible"/>
|
|
|
|
<TextView
|
|
android:id="@+id/race_finish_begin_time"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="right"
|
|
android:textAppearance="?attr/textNormal"
|
|
tools:text="11:12:18"/>
|
|
|
|
<TextView
|
|
android:id="@+id/race_finish_begin_duration"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="right"
|
|
android:textAppearance="?textNormal"
|
|
tools:text="12:18 min"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="@dimen/default_padding_half"
|
|
android:paddingTop="@dimen/default_padding_half">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="2"
|
|
android:text="@string/race_summary_finish_end"
|
|
android:textAppearance="?attr/textNormal"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/edit_race_finish_end_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="?create"
|
|
android:visibility="visible"/>
|
|
|
|
<TextView
|
|
android:id="@+id/race_finish_end_time"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="right"
|
|
android:textAppearance="?attr/textNormal"
|
|
tools:text="11:16:36"/>
|
|
|
|
<TextView
|
|
android:id="@+id/race_finish_end_duration"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="right"
|
|
android:textAppearance="?attr/textNormal"
|
|
tools:text="16:36 min"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="@dimen/default_padding_half"
|
|
android:paddingTop="@dimen/default_padding_half">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="2"
|
|
android:text="@string/race_summary_finish_duration"
|
|
android:textAppearance="?attr/textNormal"/>
|
|
|
|
<TextView
|
|
android:id="@+id/race_finish_duration"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="2"
|
|
android:gravity="right"
|
|
android:textAppearance="?attr/textNormal"
|
|
tools:text="04:18 min"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/region_wind"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/thin_line"
|
|
android:layout_marginBottom="@dimen/default_margin_half"
|
|
android:layout_marginTop="@dimen/default_margin_half"
|
|
android:background="?sap_gray"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="@dimen/default_padding_half"
|
|
android:paddingTop="@dimen/default_padding_half">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="2"
|
|
android:text="@string/race_summary_wind_direction"
|
|
android:textAppearance="?attr/textNormal"/>
|
|
|
|
<TextView
|
|
android:id="@+id/wind_direction"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="2"
|
|
android:gravity="right"
|
|
android:textAppearance="?attr/textNormal"
|
|
tools:text="from 192°"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="@dimen/default_padding_half"
|
|
android:paddingTop="@dimen/default_padding_half">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="2"
|
|
android:text="@string/race_summary_wind_speed"
|
|
android:textAppearance="?attr/textNormal"/>
|
|
|
|
<TextView
|
|
android:id="@+id/wind_speed"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="2"
|
|
android:gravity="right"
|
|
android:textAppearance="?attr/textNormal"
|
|
tools:text="6.5 kts"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/region_individual_recalls"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/thin_line"
|
|
android:layout_marginBottom="@dimen/default_margin_half"
|
|
android:layout_marginTop="@dimen/default_margin_half"
|
|
android:background="?sap_gray"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="@dimen/default_padding_half"
|
|
android:paddingTop="@dimen/default_padding_half">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/race_summary_individual_recalls"
|
|
android:textAppearance="?attr/textNormal"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="right"
|
|
android:textAppearance="?attr/textNormal"
|
|
tools:text="AUT 553 GER 766 ITA 912"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</RelativeLayout> |