mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-30 15:57:11 +00:00
141 lines
5.5 KiB
XML
141 lines
5.5 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">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/selector_header_height"
|
|
android:background="?sap_gray">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/header_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/default_margin"
|
|
android:layout_marginStart="@dimen/default_margin"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/header_back"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:src="?chevron_left_24dp"
|
|
android:visibility="gone"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/header_flag"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/default_margin"
|
|
android:layout_marginRight="@dimen/default_margin"
|
|
android:src="@drawable/flag_first_blue_48dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/header_headline"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/race_begin_finish_header"
|
|
android:textAppearance="?textNormal"/>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/line_top"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/thin_line"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="?black"/>
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/header"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:baselineAligned="false"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="11">
|
|
|
|
<TextView
|
|
android:id="@+id/current_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:layout_centerVertical="true"
|
|
android:drawableLeft="?access_time_36dp"
|
|
android:drawablePadding="@dimen/default_padding_half"
|
|
android:drawableStart="?access_time_36dp"
|
|
android:gravity="center"
|
|
android:textColor="?white"
|
|
android:textSize="@dimen/textSize_40"
|
|
android:visibility="invisible"
|
|
tools:text="@string/time"/>
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="9">
|
|
|
|
<Button
|
|
android:id="@+id/finish_current"
|
|
style="?attr/buttonSolidSmall"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:text="@string/race_begin_finish_current"/>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="2"
|
|
android:baselineAligned="false"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="11"
|
|
android:scaleX="@integer/picker_scale"
|
|
android:scaleY="@integer/picker_scale">
|
|
|
|
<include
|
|
android:id="@+id/time_picker"
|
|
layout="@layout/time_picker"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"/>
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="9">
|
|
|
|
<Button
|
|
android:id="@+id/finish_custom"
|
|
style="?attr/buttonSolidSmall"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:text="@string/race_begin_finish_custom"/>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout> |