mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-30 15:57:11 +00:00
100 lines
3.9 KiB
XML
100 lines
3.9 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"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/set_time"
|
|
android:textAppearance="?textNormal"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/buttonBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/selector_header_height">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginTop="@dimen/default_margin_half"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/minute_inc"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?button_filled_bordered"
|
|
android:drawableLeft="?chevron_left_36dp"
|
|
android:paddingRight="@dimen/default_padding_half"
|
|
android:textAppearance="?textLarge"
|
|
android:textColor="?white"
|
|
tools:text="@string/race_start_time_in"/>
|
|
|
|
<TextView
|
|
android:id="@+id/start_countdown"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="@dimen/default_margin"
|
|
android:layout_marginRight="@dimen/default_margin"
|
|
android:textAppearance="?textXLarge"
|
|
android:visibility="visible"
|
|
tools:text="@string/race_start_time_in"/>
|
|
|
|
<Button
|
|
android:id="@+id/minute_dec"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?button_filled_bordered"
|
|
android:drawableRight="?chevron_right_36dp"
|
|
android:paddingLeft="@dimen/default_padding_half"
|
|
android:textAppearance="?textLarge"
|
|
android:textColor="?white"
|
|
tools:text="@string/race_start_time_in"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:id="@+id/line_top"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/thick_line"
|
|
android:layout_below="@id/buttonBar"
|
|
android:background="?black"/>
|
|
|
|
<include
|
|
layout="@layout/race_time_picker"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/buttonBar"/>
|
|
</RelativeLayout> |