mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-18 19:59:09 +00:00
135 lines
6.4 KiB
XML
135 lines
6.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.sap.sailing.racecommittee.app.ui.layouts.TimePanelHeaderLayout
|
|
android:id="@+id/race_content_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/sap_gray">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/time_layer"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="25">
|
|
|
|
<TextView
|
|
android:id="@+id/timer_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/side_padding"
|
|
android:layout_marginRight="@dimen/side_padding"
|
|
android:layout_marginTop="@dimen/header_margin_top"
|
|
android:gravity="center"
|
|
android:singleLine="true"
|
|
android:textColor="?attr/white"
|
|
android:textSize="@dimen/panel_button_header_size"
|
|
tools:text="@string/time" />
|
|
|
|
<ImageView
|
|
android:id="@+id/time_marker"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/thin_line"
|
|
android:layout_alignParentBottom="true"
|
|
android:src="?attr/marker" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@id/time_marker"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginBottom="@dimen/side_padding"
|
|
android:baselineAligned="false">
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/start_time_container"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true">
|
|
|
|
<TextView
|
|
android:id="@+id/time_start"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toRightOf="@+id/linked_locked_area"
|
|
android:textColor="?attr/white"
|
|
android:textSize="@dimen/panel_button_caption_size"
|
|
tools:text="@string/time_start" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/linked_locked_area"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="6dp"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/time_start_lock"
|
|
android:layout_width="@dimen/side_button_lockSize"
|
|
android:layout_height="@dimen/side_button_lockSize"
|
|
android:src="?attr/lock_outline"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<ImageView
|
|
android:id="@+id/linked_race"
|
|
android:layout_width="@dimen/side_button_lockSize"
|
|
android:layout_height="@dimen/side_button_lockSize"
|
|
android:layout_gravity="center_vertical"
|
|
android:src="?attr/link_24dp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/side_padding"
|
|
android:layout_toRightOf="@+id/start_time_container">
|
|
|
|
<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="?attr/access_time_18dp"
|
|
android:drawablePadding="6dp"
|
|
android:gravity="center"
|
|
android:textColor="?attr/white"
|
|
android:textSize="@dimen/panel_button_caption_size"
|
|
android:visibility="invisible"
|
|
tools:text="@string/time"
|
|
tools:visibility="visible" />
|
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
|
<com.sap.sailing.racecommittee.app.ui.views.PanelButton
|
|
android:id="@+id/button_competitor"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="10"
|
|
android:layout_height="match_parent"
|
|
app:buttonCaption="@string/competitor_list"
|
|
app:buttonImage="?attr/competitor_list"
|
|
app:buttonType="typeImage"
|
|
app:captionPosition="bottom"
|
|
app:linePosition="left" />
|
|
</LinearLayout>
|
|
</com.sap.sailing.racecommittee.app.ui.layouts.TimePanelHeaderLayout>
|
|
</RelativeLayout> |