mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 06:17:27 +00:00
Applied code formatting.
Used code formatter provided by Siegmund. Applied code formatting to tracking app, buoy positioning app, android shared.
This commit is contained in:
1 parent
e28dec03fc
commit
8626f67187
192 files changed
+5263
-5443
No files matched your search
@@ -20,5 +20,6 @@
|
||||
<item android:state_pressed="true" android:color="@color/vpi__bright_foreground_holo_dark"/>
|
||||
<item android:state_selected="true" android:color="@color/vpi__bright_foreground_holo_dark"/>
|
||||
<!--item android:state_activated="true" android:color="@color/vpi__bright_foreground_holo_dark"/-->
|
||||
<item android:color="@color/vpi__bright_foreground_holo_dark"/> <!-- not selected -->
|
||||
<item android:color="@color/vpi__bright_foreground_holo_dark"/>
|
||||
<!-- not selected -->
|
||||
</selector>
|
||||
@@ -20,7 +20,8 @@
|
||||
<item android:state_pressed="true" android:color="@color/vpi__bright_foreground_holo_light"/>
|
||||
<item android:state_selected="true" android:color="@color/vpi__bright_foreground_holo_light"/>
|
||||
<!--item android:state_activated="true" android:color="@color/vpi__bright_foreground_holo_light"/-->
|
||||
<item android:color="@color/vpi__bright_foreground_holo_light"/> <!-- not selected -->
|
||||
|
||||
<item android:color="@color/vpi__bright_foreground_holo_light"/>
|
||||
<!-- not selected -->
|
||||
|
||||
</selector>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="#55ffffff" />
|
||||
<solid android:color="#55ffffff"/>
|
||||
|
||||
<stroke
|
||||
android:width="1dip"
|
||||
android:color="#ffffff" />
|
||||
android:color="#ffffff"/>
|
||||
|
||||
<corners android:radius="5dip" />
|
||||
<corners android:radius="5dip"/>
|
||||
|
||||
</shape>
|
||||
+4
-4
@@ -1,12 +1,12 @@
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="#00FFFFFF" />
|
||||
<solid android:color="#00FFFFFF"/>
|
||||
|
||||
<stroke
|
||||
android:width="0.5dip"
|
||||
android:color="#ffffff" />
|
||||
android:color="#ffffff"/>
|
||||
|
||||
<corners android:radius="5dip" />
|
||||
<corners android:radius="5dip"/>
|
||||
|
||||
</shape>
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<solid android:color="@color/sap_green" />
|
||||
<solid android:color="@color/sap_green"/>
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="5dip"
|
||||
android:bottomRightRadius="5dip"
|
||||
android:topLeftRadius="5dip"
|
||||
android:topRightRadius="5dip" />
|
||||
android:topRightRadius="5dip"/>
|
||||
</shape>
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<solid android:color="@color/sap_red" />
|
||||
<solid android:color="@color/sap_red"/>
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="5dip"
|
||||
android:bottomRightRadius="5dip"
|
||||
android:topLeftRadius="5dip"
|
||||
android:topRightRadius="5dip" />
|
||||
android:topRightRadius="5dip"/>
|
||||
</shape>
|
||||
@@ -16,19 +16,19 @@
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Non focused states -->
|
||||
<item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/vpi__tab_unselected_holo" />
|
||||
<item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/vpi__tab_selected_holo" />
|
||||
<item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/vpi__tab_unselected_holo"/>
|
||||
<item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/vpi__tab_selected_holo"/>
|
||||
|
||||
<!-- Focused states -->
|
||||
<item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/vpi__tab_unselected_focused_holo" />
|
||||
<item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/vpi__tab_selected_focused_holo" />
|
||||
<item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/vpi__tab_unselected_focused_holo"/>
|
||||
<item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/vpi__tab_selected_focused_holo"/>
|
||||
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item android:state_focused="false" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/vpi__tab_unselected_pressed_holo" />
|
||||
<item android:state_focused="false" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/vpi__tab_selected_pressed_holo" />
|
||||
<item android:state_focused="false" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/vpi__tab_unselected_pressed_holo"/>
|
||||
<item android:state_focused="false" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/vpi__tab_selected_pressed_holo"/>
|
||||
|
||||
<!-- Focused states -->
|
||||
<item android:state_focused="true" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/vpi__tab_unselected_pressed_holo" />
|
||||
<item android:state_focused="true" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/vpi__tab_selected_pressed_holo" />
|
||||
<item android:state_focused="true" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/vpi__tab_unselected_pressed_holo"/>
|
||||
<item android:state_focused="true" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/vpi__tab_selected_pressed_holo"/>
|
||||
</selector>
|
||||
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
tools:ignore="Overdraw"
|
||||
android:background="@color/darker_gray" >
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
tools:ignore="Overdraw"
|
||||
android:background="@color/darker_gray">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/compass_bearing_header_text_view"
|
||||
@@ -18,7 +18,7 @@
|
||||
android:text="@string/heading"
|
||||
android:textColor="@android:color/darker_gray"
|
||||
android:textSize="15sp"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingTop="15dp"
|
||||
/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeLightTextView
|
||||
@@ -28,6 +28,6 @@
|
||||
android:gravity="center"
|
||||
android:text="@string/initial_hyphen_degrees"
|
||||
android:layout_centerInParent="true"
|
||||
android:textSize="124sp" />
|
||||
android:textSize="124sp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?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" >
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/homeBackground"
|
||||
@@ -11,7 +11,7 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:contentDescription="@string/empty"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/working_title" />
|
||||
android:src="@drawable/working_title"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/bottomLayout"
|
||||
@@ -30,46 +30,46 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/scan_hint"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/two_buttons_layout"
|
||||
android:orientation="horizontal"
|
||||
android:orientation="horizontal"
|
||||
android:layout_above="@+id/bottomLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/scanQr"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@drawable/rounded_btn_yellow"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/scan_qr" />
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/noQrCode"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:background="@drawable/rounded_btn_white"
|
||||
android:textColor="@color/black"
|
||||
android:text="@string/no_qr_code" />
|
||||
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/scanQr"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@drawable/rounded_btn_yellow"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/scan_qr"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/noQrCode"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:background="@drawable/rounded_btn_white"
|
||||
android:textColor="@color/black"
|
||||
android:text="@string/no_qr_code"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<ListView
|
||||
android:id="@+id/listRegatta"
|
||||
@@ -78,7 +78,7 @@
|
||||
android:layout_above="@id/two_buttons_layout"
|
||||
android:layout_alignParentTop="true"
|
||||
android:divider="@android:color/white"
|
||||
android:dividerHeight="1dp"
|
||||
android:dividerHeight="1dp"
|
||||
>
|
||||
</ListView>
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?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" >
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<View
|
||||
android:id="@+id/top_bar"
|
||||
@@ -11,7 +11,7 @@
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/sap_yellow" />
|
||||
android:background="@color/sap_yellow"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/two_panels_layout"
|
||||
@@ -20,13 +20,13 @@
|
||||
android:layout_above="@id/start_tracking_box"
|
||||
android:layout_below="@id/top_bar"
|
||||
android:baselineAligned="false"
|
||||
android:orientation="horizontal" >
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/image"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1" >
|
||||
android:layout_weight="1">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/userImage"
|
||||
@@ -35,7 +35,7 @@
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/desc_regatta_user_image"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/picture" />
|
||||
android:src="@drawable/picture"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/add_photo"
|
||||
@@ -44,7 +44,7 @@
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@color/white_transparent"
|
||||
android:orientation="horizontal" >
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/add_photo_button"
|
||||
@@ -54,7 +54,7 @@
|
||||
android:contentDescription="@string/desc_add_photo_button"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:src="@drawable/ic_menu_camera" />
|
||||
android:src="@drawable/ic_menu_camera"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/add_photo_text"
|
||||
@@ -64,7 +64,7 @@
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:text="@string/add_team_photo"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -78,7 +78,7 @@
|
||||
android:baselineAligned="false"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp" >
|
||||
android:padding="10dp">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/competitor_name"
|
||||
@@ -89,8 +89,8 @@
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:text=""
|
||||
android:textColor="@color/white" />
|
||||
|
||||
android:textColor="@color/white"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="fill_parent"
|
||||
@@ -98,9 +98,9 @@
|
||||
android:cropToPadding="true"
|
||||
android:gravity="end"
|
||||
android:paddingTop="3dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp" >
|
||||
android:paddingRight="5dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/flag_image"
|
||||
@@ -108,7 +108,7 @@
|
||||
android:layout_height="fill_parent"
|
||||
android:scaleType="fitXY"
|
||||
android:contentDescription="@string/content_description_flag_icon"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
@@ -118,7 +118,7 @@
|
||||
android:gravity="end|center_vertical"
|
||||
android:padding="0dp"
|
||||
android:text=""
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -130,13 +130,13 @@
|
||||
android:layout_toEndOf="@+id/add_photo"
|
||||
android:background="@drawable/background_transparent_box"
|
||||
android:orientation="horizontal"
|
||||
android:padding="0dp" >
|
||||
android:padding="0dp">
|
||||
|
||||
<Button
|
||||
android:id="@+id/change_photo_button"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:background="@drawable/stift" />
|
||||
android:background="@drawable/stift"/>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -155,7 +155,7 @@
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/thank_you_layout"
|
||||
@@ -165,7 +165,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="invisible" >
|
||||
android:visibility="invisible">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/thank_you_note"
|
||||
@@ -175,7 +175,7 @@
|
||||
android:padding="5dp"
|
||||
android:text="@string/thank_you_you_successfully_participated"
|
||||
android:textColor="@color/white"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
@@ -184,7 +184,7 @@
|
||||
android:layout_height="fill_parent"
|
||||
android:baselineAligned="false"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="horizontal" >
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/regatta_starts_in"
|
||||
@@ -196,7 +196,7 @@
|
||||
android:paddingTop="10dp"
|
||||
android:text="@string/regatta_starts_in"
|
||||
android:textColor="@color/white"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/three_boxes_regatta_starts"
|
||||
@@ -207,7 +207,7 @@
|
||||
android:gravity="center"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp" >
|
||||
android:padding="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/three_boxes_days_box"
|
||||
@@ -219,7 +219,7 @@
|
||||
android:gravity="center"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="vertical"
|
||||
android:padding="0dp" >
|
||||
android:padding="0dp">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/starts_in_days"
|
||||
@@ -227,7 +227,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="0dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="40sp" />
|
||||
android:textSize="40sp"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeTextView
|
||||
android:id="@+id/starts_in_days_label"
|
||||
@@ -237,7 +237,7 @@
|
||||
android:padding="0dp"
|
||||
android:text="@string/days"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -250,7 +250,7 @@
|
||||
android:gravity="center"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="vertical"
|
||||
android:padding="0dp" >
|
||||
android:padding="0dp">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/starts_in_hours"
|
||||
@@ -258,7 +258,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="0dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="40sp" />
|
||||
android:textSize="40sp"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeTextView
|
||||
android:id="@+id/starts_in_hours_label"
|
||||
@@ -268,7 +268,7 @@
|
||||
android:padding="0dp"
|
||||
android:text="@string/hours"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -281,7 +281,7 @@
|
||||
android:gravity="center"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="vertical"
|
||||
android:padding="0dp" >
|
||||
android:padding="0dp">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/starts_in_minutes"
|
||||
@@ -289,7 +289,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="0dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="40sp" />
|
||||
android:textSize="40sp"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeTextView
|
||||
android:id="@+id/starts_in_minutes_label"
|
||||
@@ -299,7 +299,7 @@
|
||||
android:padding="0dp"
|
||||
android:text="@string/minutes"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
@@ -314,14 +314,14 @@
|
||||
android:layout_above="@+id/start_tracking_box"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/sap_yellow" />
|
||||
android:background="@color/sap_yellow"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/start_tracking_box"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_above="@id/bottomLayout"
|
||||
android:background="@color/gray" >
|
||||
android:background="@color/gray">
|
||||
|
||||
<View
|
||||
android:id="@+id/white_bar"
|
||||
@@ -330,13 +330,13 @@
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="@color/white_transparent" />
|
||||
android:background="@color/white_transparent"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_below="@id/white_bar"
|
||||
android:orientation="horizontal" >
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/show_leaderboards_button"
|
||||
@@ -350,7 +350,7 @@
|
||||
android:padding="5dp"
|
||||
android:text="@string/show_leaderboard"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/start_tracking"
|
||||
@@ -364,7 +364,7 @@
|
||||
android:padding="5dp"
|
||||
android:text="@string/start_tracking"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -375,7 +375,7 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/darker_gray" >
|
||||
android:background="@color/darker_gray">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/bottom_announcement"
|
||||
@@ -385,7 +385,7 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/please_listen_to_announcements"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
tools:ignore="Overdraw"
|
||||
android:background="@color/darker_gray" >
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
tools:ignore="Overdraw"
|
||||
android:background="@color/darker_gray">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/speed_header_text_view"
|
||||
@@ -17,13 +17,13 @@
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="15dp" />
|
||||
|
||||
android:paddingTop="15dp"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeLightTextView
|
||||
android:id="@+id/speed_text_view"
|
||||
@@ -34,7 +34,7 @@
|
||||
android:textColor="@color/white"
|
||||
android:text="@string/initial_hyphen"
|
||||
android:textSize="124sp"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeLightTextView
|
||||
android:id="@+id/speed_unit_text_view"
|
||||
@@ -46,7 +46,7 @@
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
+11
-11
@@ -1,19 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="Overdraw"
|
||||
android:background="@color/black" >
|
||||
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="Overdraw"
|
||||
android:background="@color/black">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/stop_tracking_box"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@color/gray" >
|
||||
android:background="@color/gray">
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
@@ -21,7 +21,7 @@
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="@color/white_transparent" />
|
||||
android:background="@color/white_transparent"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/stop_tracking"
|
||||
@@ -34,7 +34,7 @@
|
||||
android:padding="10dp"
|
||||
android:text="@string/stop_tracking"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -10,12 +10,12 @@
|
||||
android:layout_gravity="center"
|
||||
android:isScrollContainer="true"
|
||||
android:orientation="vertical"
|
||||
android:scrollbars="vertical" >
|
||||
android:scrollbars="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/black" >
|
||||
android:background="@color/black">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/mode_label"
|
||||
@@ -27,7 +27,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="@string/tracking_mode" />
|
||||
android:text="@string/tracking_mode"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/mode"
|
||||
@@ -40,7 +40,7 @@
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/tracking_mode_caching"
|
||||
android:textColor="@color/sap_green" />
|
||||
android:textColor="@color/sap_green"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/tracking_unsent_fixes_label"
|
||||
@@ -50,7 +50,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="@string/tracking_unsent_fixes" />
|
||||
android:text="@string/tracking_unsent_fixes"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/tracking_unsent_fixes"
|
||||
@@ -62,7 +62,7 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/none" />
|
||||
android:text="@string/none"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/tracking_status_label"
|
||||
@@ -72,7 +72,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="@string/tracking_status" />
|
||||
android:text="@string/tracking_status"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/tracking_status"
|
||||
@@ -85,7 +85,7 @@
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/tracking_status_tracking"
|
||||
android:textColor="@color/sap_green" />
|
||||
android:textColor="@color/sap_green"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/gps_quality"
|
||||
@@ -95,7 +95,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="@string/tracking_gps_accuracy" />
|
||||
android:text="@string/tracking_gps_accuracy"/>
|
||||
|
||||
<!-- Separators -->
|
||||
|
||||
@@ -103,25 +103,25 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_below="@id/mode_label"
|
||||
android:background="@android:color/darker_gray" />
|
||||
android:background="@android:color/darker_gray"/>
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_below="@id/tracking_unsent_fixes_label"
|
||||
android:background="@android:color/darker_gray" />
|
||||
android:background="@android:color/darker_gray"/>
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_below="@id/tracking_status_label"
|
||||
android:background="@android:color/darker_gray" />
|
||||
android:background="@android:color/darker_gray"/>
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_below="@id/gps_quality"
|
||||
android:background="@android:color/darker_gray" />
|
||||
android:background="@android:color/darker_gray"/>
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
@@ -129,7 +129,7 @@
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignTop="@+id/tracking_time_info_label"
|
||||
android:background="@android:color/darker_gray" />
|
||||
android:background="@android:color/darker_gray"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/tracking_time_info_label"
|
||||
@@ -141,7 +141,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="@string/tracking_time" />
|
||||
android:text="@string/tracking_time"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeTextView
|
||||
tools:ignore="InconsistentLayout"
|
||||
@@ -155,16 +155,16 @@
|
||||
android:gravity="end"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="@string/initial_timer_text_zerozero" />
|
||||
android:text="@string/initial_timer_text_zerozero"/>
|
||||
|
||||
<LinearLayout
|
||||
<LinearLayout
|
||||
android:id="@+id/gps_quality_info_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="35dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:orientation="horizontal" >
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/gps_accuracy_label"
|
||||
@@ -172,7 +172,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingRight="9dp"
|
||||
android:paddingLeft="9dp"
|
||||
android:text="" />
|
||||
android:text=""/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.SignalQualityIndicatorView
|
||||
android:id="@+id/gps_quality_indicator"
|
||||
@@ -182,7 +182,7 @@
|
||||
android:focusable="true"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
app:signalQuality="none" />
|
||||
app:signalQuality="none"/>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" >
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/compass_bearing_header_text_view"
|
||||
@@ -16,7 +16,7 @@
|
||||
android:text="@string/course_over_ground"
|
||||
android:textColor="@android:color/darker_gray"
|
||||
android:textSize="15sp"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingTop="15dp"
|
||||
/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeLightTextView
|
||||
@@ -26,6 +26,6 @@
|
||||
android:gravity="center"
|
||||
android:text="@string/initial_hyphen_degrees"
|
||||
android:layout_centerInParent="true"
|
||||
android:textSize="124sp" />
|
||||
android:textSize="124sp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,12 +1,12 @@
|
||||
<?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:orientation="vertical" >
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<WebView
|
||||
android:id="@+id/web_view"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" />
|
||||
android:layout_height="fill_parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,13 +1,13 @@
|
||||
<?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" >
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/image"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="215dp" >
|
||||
android:layout_height="215dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/userImage"
|
||||
@@ -16,7 +16,7 @@
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/desc_regatta_user_image"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/picture" />
|
||||
android:src="@drawable/picture"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/add_photo"
|
||||
@@ -25,7 +25,7 @@
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@color/white_transparent"
|
||||
android:orientation="horizontal" >
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/add_photo_button"
|
||||
@@ -35,7 +35,7 @@
|
||||
android:contentDescription="@string/desc_add_photo_button"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:src="@drawable/ic_menu_camera" />
|
||||
android:src="@drawable/ic_menu_camera"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/add_photo_text"
|
||||
@@ -45,7 +45,7 @@
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:text="@string/add_team_photo"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -59,7 +59,7 @@
|
||||
android:baselineAligned="false"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp" >
|
||||
android:padding="10dp">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/competitor_name"
|
||||
@@ -70,7 +70,7 @@
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:text="@string/empty"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="10dp"
|
||||
@@ -81,7 +81,7 @@
|
||||
android:paddingBottom="3dp"
|
||||
android:gravity="end"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp" >
|
||||
android:paddingRight="5dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/flag_image"
|
||||
@@ -89,17 +89,17 @@
|
||||
android:layout_height="fill_parent"
|
||||
android:scaleType="fitXY"
|
||||
android:contentDescription="@string/content_description_flag_icon"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/sail_id"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="end|center_vertical"
|
||||
android:padding="0dp"
|
||||
android:text="@string/empty"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -114,13 +114,13 @@
|
||||
android:layout_marginEnd="15dp"
|
||||
android:background="@drawable/background_transparent_box"
|
||||
android:orientation="horizontal"
|
||||
android:padding="0dp" >
|
||||
android:padding="0dp">
|
||||
|
||||
<Button
|
||||
android:id="@+id/change_photo_button"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:background="@drawable/stift" />
|
||||
android:background="@drawable/stift"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
@@ -130,7 +130,7 @@
|
||||
android:layout_alignBottom="@+id/competitor_info_layout"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/sap_yellow" />
|
||||
android:background="@color/sap_yellow"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/top_bar"
|
||||
@@ -139,7 +139,7 @@
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="@color/sap_yellow" />
|
||||
android:background="@color/sap_yellow"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<ScrollView
|
||||
@@ -152,11 +152,11 @@
|
||||
android:background="@color/black"
|
||||
android:isScrollContainer="true"
|
||||
android:orientation="vertical"
|
||||
android:scrollbars="vertical" >
|
||||
android:scrollbars="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/thank_you_layout"
|
||||
@@ -166,7 +166,7 @@
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp"
|
||||
android:visibility="invisible" >
|
||||
android:visibility="invisible">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/thank_you_note"
|
||||
@@ -176,7 +176,7 @@
|
||||
android:padding="0dp"
|
||||
android:text="@string/thank_you_you_successfully_participated"
|
||||
android:textColor="@color/white"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
@@ -185,7 +185,7 @@
|
||||
android:layout_height="fill_parent"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp" >
|
||||
android:padding="10dp">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/regatta_starts_in"
|
||||
@@ -197,7 +197,7 @@
|
||||
android:paddingTop="10dp"
|
||||
android:text="@string/regatta_starts_in"
|
||||
android:textColor="@color/white"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/three_boxes_regatta_starts"
|
||||
@@ -208,7 +208,7 @@
|
||||
android:gravity="center"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp" >
|
||||
android:padding="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/three_boxes_days_box"
|
||||
@@ -220,7 +220,7 @@
|
||||
android:gravity="center"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="vertical"
|
||||
android:padding="0dp" >
|
||||
android:padding="0dp">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/starts_in_days"
|
||||
@@ -228,7 +228,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="0dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="40sp" />
|
||||
android:textSize="40sp"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/starts_in_days_label"
|
||||
@@ -238,7 +238,7 @@
|
||||
android:text="@string/days"
|
||||
android:singleLine="true"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -251,7 +251,7 @@
|
||||
android:gravity="center"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="vertical"
|
||||
android:padding="0dp" >
|
||||
android:padding="0dp">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/starts_in_hours"
|
||||
@@ -259,7 +259,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="0dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="40sp" />
|
||||
android:textSize="40sp"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/starts_in_hours_label"
|
||||
@@ -269,7 +269,7 @@
|
||||
android:text="@string/hours"
|
||||
android:singleLine="true"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -282,7 +282,7 @@
|
||||
android:gravity="center"
|
||||
android:measureWithLargestChild="false"
|
||||
android:orientation="vertical"
|
||||
android:padding="0dp" >
|
||||
android:padding="0dp">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/starts_in_minutes"
|
||||
@@ -290,7 +290,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="0dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="40sp" />
|
||||
android:textSize="40sp"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/starts_in_minutes_label"
|
||||
@@ -300,66 +300,66 @@
|
||||
android:text="@string/minutes"
|
||||
android:singleLine="true"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/start_tracking_box"
|
||||
android:id="@+id/start_tracking_box"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_above="@id/bottomLayout"
|
||||
android:background="@color/gray">
|
||||
|
||||
<View
|
||||
android:id="@+id/white_bar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="@color/white_transparent"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_below="@id/white_bar"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/show_leaderboards_button"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_above="@id/bottomLayout"
|
||||
android:background="@color/gray" >
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginRight="4dp"
|
||||
android:layout_weight="0.50"
|
||||
android:background="@drawable/rounded_btn_yellow"
|
||||
android:padding="10dp"
|
||||
android:text="@string/show_leaderboard"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/white_bar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="@color/white_transparent" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_below="@id/white_bar"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/show_leaderboards_button"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginRight="4dp"
|
||||
android:layout_weight="0.50"
|
||||
android:background="@drawable/rounded_btn_yellow"
|
||||
android:padding="10dp"
|
||||
android:text="@string/show_leaderboard"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/start_tracking"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginRight="4dp"
|
||||
android:layout_weight="0.50"
|
||||
android:background="@drawable/rounded_btn_green"
|
||||
android:padding="10dp"
|
||||
android:text="@string/start_tracking"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/start_tracking"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginRight="4dp"
|
||||
android:layout_weight="0.50"
|
||||
android:background="@drawable/rounded_btn_green"
|
||||
android:padding="10dp"
|
||||
android:text="@string/start_tracking"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/bottomLayout"
|
||||
@@ -368,7 +368,7 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/darker_gray" >
|
||||
android:background="@color/darker_gray">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/bottom_announcement"
|
||||
@@ -378,7 +378,7 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/please_listen_to_announcements"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" >
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/speed_header_text_view"
|
||||
@@ -15,13 +15,13 @@
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="15dp" />
|
||||
|
||||
android:paddingTop="15dp"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeLightTextView
|
||||
android:id="@+id/speed_text_view"
|
||||
@@ -32,7 +32,7 @@
|
||||
android:textColor="@color/white"
|
||||
android:text="@string/initial_hyphen"
|
||||
android:textSize="124sp"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeLightTextView
|
||||
android:id="@+id/speed_unit_text_view"
|
||||
@@ -44,7 +44,7 @@
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
@@ -12,7 +12,7 @@
|
||||
android:layout_gravity="center"
|
||||
android:layout_above="@+id/stop_tracking_box"
|
||||
android:baselineAligned="false"
|
||||
android:paddingTop="15dp" >
|
||||
android:paddingTop="15dp">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/tracking_time"
|
||||
@@ -21,7 +21,7 @@
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:text="@string/tracking_time" />
|
||||
android:text="@string/tracking_time"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.AutoResizeLightTextView
|
||||
tools:ignore="InconsistentLayout"
|
||||
@@ -34,15 +34,15 @@
|
||||
android:layout_marginBottom="0dp"
|
||||
android:text="@string/initial_timer_text_zerozero"
|
||||
android:gravity="bottom"
|
||||
android:textSize="100sp" />
|
||||
|
||||
android:textSize="100sp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/stop_tracking_box"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_alignParentBottom="true" >
|
||||
android:layout_alignParentBottom="true">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansButton
|
||||
android:id="@+id/stop_tracking"
|
||||
@@ -56,6 +56,6 @@
|
||||
android:padding="0dp"
|
||||
android:text="@string/stop_tracking"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"/>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
@@ -9,12 +9,12 @@
|
||||
android:layout_gravity="center"
|
||||
android:isScrollContainer="true"
|
||||
android:orientation="vertical"
|
||||
android:scrollbars="vertical" >
|
||||
android:scrollbars="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/black" >
|
||||
android:background="@color/black">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/mode_label"
|
||||
@@ -26,7 +26,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="@string/tracking_mode" />
|
||||
android:text="@string/tracking_mode"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/mode"
|
||||
@@ -39,7 +39,7 @@
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/tracking_mode_caching"
|
||||
android:textColor="@color/sap_green" />
|
||||
android:textColor="@color/sap_green"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/tracking_unsent_fixes_label"
|
||||
@@ -49,7 +49,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/tracking_unsent_fixes" />
|
||||
android:text="@string/tracking_unsent_fixes"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/tracking_unsent_fixes"
|
||||
@@ -61,7 +61,7 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/none" />
|
||||
android:text="@string/none"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/tracking_status_label"
|
||||
@@ -71,7 +71,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="@string/tracking_status" />
|
||||
android:text="@string/tracking_status"/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/tracking_status"
|
||||
@@ -84,7 +84,7 @@
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/tracking_status_tracking"
|
||||
android:textColor="@color/sap_green" />
|
||||
android:textColor="@color/sap_green"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/gps_quality_info_layout"
|
||||
@@ -93,7 +93,7 @@
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal" >
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/gps_accuracy_label"
|
||||
@@ -101,7 +101,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingRight="9dp"
|
||||
android:paddingLeft="9dp"
|
||||
android:text="" />
|
||||
android:text=""/>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.SignalQualityIndicatorView
|
||||
android:id="@+id/gps_quality_indicator"
|
||||
@@ -111,7 +111,7 @@
|
||||
android:focusable="true"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
app:signalQuality="none" />
|
||||
app:signalQuality="none"/>
|
||||
</LinearLayout>
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
@@ -122,7 +122,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="@string/tracking_gps_accuracy" />
|
||||
android:text="@string/tracking_gps_accuracy"/>
|
||||
|
||||
<!-- Separators -->
|
||||
|
||||
@@ -130,30 +130,30 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_below="@id/mode_label"
|
||||
android:background="@android:color/darker_gray" />
|
||||
android:background="@android:color/darker_gray"/>
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_below="@id/tracking_status_label"
|
||||
android:background="@android:color/darker_gray" />
|
||||
android:background="@android:color/darker_gray"/>
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_below="@id/tracking_unsent_fixes_label"
|
||||
android:background="@android:color/darker_gray" />
|
||||
android:background="@android:color/darker_gray"/>
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_below="@id/gps_quality"
|
||||
android:background="@android:color/darker_gray" />
|
||||
android:background="@android:color/darker_gray"/>
|
||||
|
||||
<View
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_below="@id/tracking_status_label"
|
||||
android:background="@android:color/darker_gray" />
|
||||
android:background="@android:color/darker_gray"/>
|
||||
</RelativeLayout>
|
||||
</ScrollView>
|
||||
@@ -5,18 +5,19 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansToolbar
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansToolbar
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.ActionBar" >
|
||||
android:theme="@style/ThemeOverlay.AppCompat.ActionBar">
|
||||
|
||||
<LinearLayout android:orientation="vertical"
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dp">
|
||||
|
||||
|
||||
<com.sap.sailing.android.shared.ui.customviews.OpenSansTextView
|
||||
android:id="@+id/toolbar_title"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -33,21 +34,21 @@
|
||||
android:layout_gravity="center"
|
||||
android:lines="1"
|
||||
android:singleLine="true"
|
||||
android:textSize="12sp" />
|
||||
|
||||
android:textSize="12sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</com.sap.sailing.android.shared.ui.customviews.OpenSansToolbar>
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/top_bar"
|
||||
android:id="@+id/top_bar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="4dp"
|
||||
android:background="@color/sap_yellow" />
|
||||
android:background="@color/sap_yellow"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/content_frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto" >
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/options_menu_settings"
|
||||
@@ -10,6 +10,6 @@
|
||||
|
||||
<item
|
||||
android:id="@+id/options_menu_info"
|
||||
android:title="@string/about" />
|
||||
android:title="@string/about"/>
|
||||
|
||||
</menu>
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto" >
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/options_menu_settings"
|
||||
android:icon="@drawable/settings_grey"
|
||||
android:title="@string/options_menu_settings"
|
||||
app:showAsAction=""/>
|
||||
|
||||
|
||||
<item
|
||||
android:id="@+id/options_menu_checkout"
|
||||
android:icon="@drawable/ic_menu_info_details"
|
||||
@@ -26,5 +26,5 @@
|
||||
|
||||
<item
|
||||
android:id="@+id/options_menu_info"
|
||||
android:title="@string/about" />
|
||||
android:title="@string/about"/>
|
||||
</menu>
|
||||
@@ -11,6 +11,6 @@
|
||||
<string name="preference_heading_with_declination_subtracted_summary_is_enabled">Anzeige: Rechtweisend</string>
|
||||
<string name="preference_heading_with_declination_subtracted_summary_is_disabled">Anzeige: Missweisend</string>
|
||||
<string name="preference_heading_with_declination_subtracted_enabled">Kursanzeige</string>
|
||||
|
||||
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -2,8 +2,8 @@
|
||||
<resources>
|
||||
<string name="yes">Ja</string>
|
||||
<string name="no">Nein</string>
|
||||
<string name="empty"></string>
|
||||
<string name="tracking_time">Tracking Zeit</string>
|
||||
<string name="empty"></string>
|
||||
<string name="tracking_time">Tracking Zeit</string>
|
||||
<string name="app_name">SAP Sailing Tracking App</string>
|
||||
<string name="options_menu_settings">Einstellungen</string>
|
||||
<string name="options_menu_checkout">Checkout</string>
|
||||
@@ -56,20 +56,20 @@
|
||||
<string name="scan_qr">QR-Code scannen</string>
|
||||
<string name="close">Schließen</string>
|
||||
<string name="thank_you_you_successfully_participated">Vielen Dank, Sie haben erfolgreich an der Regatta teilgenommen.\n\nIhr SAP Sailing Team</string>
|
||||
<string name="tracking_colon">Tracke:</string>
|
||||
<string name="tracking_gps_accuracy">GPS Genauigkeit</string>
|
||||
<string name="regatta_in_progress">Die Regatta findet gerade statt.</string>
|
||||
<string name="heading">Kurs</string>
|
||||
<string name="course_over_ground">Course over Ground</string>
|
||||
<string name="tracking_colon">Tracke:</string>
|
||||
<string name="tracking_gps_accuracy">GPS Genauigkeit</string>
|
||||
<string name="regatta_in_progress">Die Regatta findet gerade statt.</string>
|
||||
<string name="heading">Kurs</string>
|
||||
<string name="course_over_ground">Course over Ground</string>
|
||||
<string name="speed_over_ground">Speed over Ground</string>
|
||||
<string name="none">Keine</string>
|
||||
<string name="show_leaderboard">Leaderboard</string>
|
||||
<string name="desc_regatta_user_image">Benutzerdefiniertes Bild für Regatta</string>
|
||||
<string name="desc_add_photo_button">Foto hinzufügen Button</string>
|
||||
<string name="error_while_receiving_server_data">Fehler beim Empfang vom Server</string>
|
||||
<string name="info_already_checked_in_this_qr_code">Bereits für diese Regatta eingecheckt</string>
|
||||
<string name="warning">Warnung</string>
|
||||
<string name="gps_turned_off">GPS ist nicht aktiviert. Bitte aktivieren Sie den Standortzugriff (GPS) in Ihren Android-Einstellungen!</string>
|
||||
<string name="none">Keine</string>
|
||||
<string name="show_leaderboard">Leaderboard</string>
|
||||
<string name="desc_regatta_user_image">Benutzerdefiniertes Bild für Regatta</string>
|
||||
<string name="desc_add_photo_button">Foto hinzufügen Button</string>
|
||||
<string name="error_while_receiving_server_data">Fehler beim Empfang vom Server</string>
|
||||
<string name="info_already_checked_in_this_qr_code">Bereits für diese Regatta eingecheckt</string>
|
||||
<string name="warning">Warnung</string>
|
||||
<string name="gps_turned_off">GPS ist nicht aktiviert. Bitte aktivieren Sie den Standortzugriff (GPS) in Ihren Android-Einstellungen!</string>
|
||||
<string name="knots">Knoten</string>
|
||||
<string name="preferences">Einstellungen</string>
|
||||
<string name="preferences">Einstellungen</string>
|
||||
</resources>
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
|
||||
<string name="confirm_data_hello_name">Hallo {full_name}</string>
|
||||
<string name="confirm_data_you_are_signed_in_as_sail_id">Sie sind als {sail_id} gemeldet</string>
|
||||
<string name="confirm_data_is_correct">OK</string>
|
||||
<string name="decline_data_is_incorrect">Das bin nicht ich!</string>
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
|
||||
<style name="AppTheme" parent="AppTheme.Base">
|
||||
<!-- Customize your theme using Material Design here. -->
|
||||
</style>
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -6,9 +6,9 @@
|
||||
<color name="green">#00FF00</color>
|
||||
<color name="gray">#333333</color>
|
||||
<color name="darker_gray">#242424</color>
|
||||
|
||||
|
||||
<color name="colorPrimary">@color/gray</color>
|
||||
<color name="colorPrimaryDark">@color/colorPrimary</color>
|
||||
<color name="colorAccent">@color/green</color>
|
||||
|
||||
<color name="colorAccent">@color/green</color>
|
||||
|
||||
</resources>
|
||||
@@ -2,23 +2,23 @@
|
||||
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">
|
||||
<string name="preference_device_identifier_key">deviceIdentifier</string>
|
||||
<string name="preference_device_identifier_default"></string>
|
||||
|
||||
|
||||
<!-- override default values of android.shared -->
|
||||
<string name="app_folder">tracking</string>
|
||||
|
||||
|
||||
<string name="preference_server_url_key">http://95.85.58.11:8000</string>
|
||||
<string name="preference_server_url_default">http://95.85.58.11:8000</string>
|
||||
|
||||
|
||||
<string name="preference_energy_saving_enabled_key">preferenceEnergySavingEnabled</string>
|
||||
<string name="preference_heading_with_declination_subtracted_key">preferenceHeadingWithDeclinationSubtracted</string>
|
||||
|
||||
|
||||
<string name="settings_category_energy_saving">Battery Saving</string>
|
||||
<string name="energy_saving_enabled">Save Energy</string>
|
||||
<string name="preference_energy_saving_is_enabled">On</string>
|
||||
<string name="preference_energy_saving_is_disabled">Off</string>
|
||||
<string name="prefrence_energy_saving_summary_is_enabled">GPS Updates are being sent to server every 30 seconds.</string>
|
||||
<string name="prefrence_energy_saving_summary_is_disabled">GPS Updates are being sent to server every 3 seconds.</string>
|
||||
|
||||
|
||||
<string name="preference_gps_fix_interval_ms_key">gpsFixInterval</string>
|
||||
<string name="preference_gps_fix_interval_ms_default">500</string>
|
||||
<string name="preference_gps_fix_fastest_interval_ms_key">gpsFixFastestInterval</string>
|
||||
|
||||
@@ -17,45 +17,45 @@
|
||||
<string name="title_activity_tracking">Tracking</string>
|
||||
<string name="please_confirm">Please confirm</string>
|
||||
<string name="do_you_really_want_to_stop_tracking">Do you really want to stop tracking?</string>
|
||||
<string name="add_team_photo">Add Team Photo</string>
|
||||
<string name="do_you_want_to_choose_existing_img_or_take_a_new_one">Do you want to use an existing image or take a new one?</string>
|
||||
<string name="existing_image">Existing</string>
|
||||
<string name="take_photo">Take Photo</string>
|
||||
<string name="add_photo_select">Photo</string>
|
||||
<string name="checking_in">Checking in..</string>
|
||||
<string name="checking_out">Checking out..</string>
|
||||
<string name="getting_event">Getting event informatiopn..</string>
|
||||
<string name="getting_leaderboard">Getting leaderboard information..</string>
|
||||
<string name="getting_competitor">Getting competitor information..</string>
|
||||
<string name="error">Error</string>
|
||||
<string name="error_could_not_complete_operation_on_server_try_again">Could not complete operation on server. Please try again.</string>
|
||||
<string name="error_sending_team_image_to_server">Error: Could not send team image to server.</string>
|
||||
<string name="regatta_starts_in">Regatta starts in:</string>
|
||||
<string name="hours">Hours</string>
|
||||
<string name="minutes">Minutes</string>
|
||||
<string name="days">Days</string>
|
||||
<string name="hour">Hour</string>
|
||||
<string name="minute">Minute</string>
|
||||
<string name="day">Day</string>
|
||||
<string name="please_listen_to_announcements">Please listen to the announcements</string>
|
||||
<string name="close">Close</string>
|
||||
<string name="thank_you_you_successfully_participated">Thank you, you have successfully taken part in the regatta.\n\nYour SAP Sailing Team</string>
|
||||
<string name="tracking_colon">Tracking:</string>
|
||||
<string name="regatta_in_progress">The regatta is in progress.</string>
|
||||
<string name="heading">Heading</string>
|
||||
<string name="course_over_ground">Course over Ground</string>
|
||||
<string name="add_team_photo">Add Team Photo</string>
|
||||
<string name="do_you_want_to_choose_existing_img_or_take_a_new_one">Do you want to use an existing image or take a new one?</string>
|
||||
<string name="existing_image">Existing</string>
|
||||
<string name="take_photo">Take Photo</string>
|
||||
<string name="add_photo_select">Photo</string>
|
||||
<string name="checking_in">Checking in..</string>
|
||||
<string name="checking_out">Checking out..</string>
|
||||
<string name="getting_event">Getting event informatiopn..</string>
|
||||
<string name="getting_leaderboard">Getting leaderboard information..</string>
|
||||
<string name="getting_competitor">Getting competitor information..</string>
|
||||
<string name="error">Error</string>
|
||||
<string name="error_could_not_complete_operation_on_server_try_again">Could not complete operation on server. Please try again.</string>
|
||||
<string name="error_sending_team_image_to_server">Error: Could not send team image to server.</string>
|
||||
<string name="regatta_starts_in">Regatta starts in:</string>
|
||||
<string name="hours">Hours</string>
|
||||
<string name="minutes">Minutes</string>
|
||||
<string name="days">Days</string>
|
||||
<string name="hour">Hour</string>
|
||||
<string name="minute">Minute</string>
|
||||
<string name="day">Day</string>
|
||||
<string name="please_listen_to_announcements">Please listen to the announcements</string>
|
||||
<string name="close">Close</string>
|
||||
<string name="thank_you_you_successfully_participated">Thank you, you have successfully taken part in the regatta.\n\nYour SAP Sailing Team</string>
|
||||
<string name="tracking_colon">Tracking:</string>
|
||||
<string name="regatta_in_progress">The regatta is in progress.</string>
|
||||
<string name="heading">Heading</string>
|
||||
<string name="course_over_ground">Course over Ground</string>
|
||||
<string name="speed_over_ground">Speed over Ground</string>
|
||||
<string name="none">None</string>
|
||||
<string name="show_leaderboard">Leader board</string>
|
||||
<string name="error_while_receiving_server_data">Error while receiving server data</string>
|
||||
<string name="info_already_checked_in_this_qr_code">Already checked in to this regatta</string>
|
||||
<string name="warning">Warning</string>
|
||||
<string name="gps_turned_off">GPS is turned off. Please turn on location access (GPS) in your Android Settings!</string>
|
||||
<string name="knots">knots</string>
|
||||
<string name="preferences">Preferences</string>
|
||||
|
||||
<string name="initial_timer_text_zerozero" translatable="false">00:00:00</string>
|
||||
<string name="initial_hyphen" translatable="false">-</string>
|
||||
<string name="initial_hyphen_degrees" translatable="false">-°</string>
|
||||
<string name="content_description_flag_icon" translatable="false">flag icon</string>
|
||||
<string name="none">None</string>
|
||||
<string name="show_leaderboard">Leader board</string>
|
||||
<string name="error_while_receiving_server_data">Error while receiving server data</string>
|
||||
<string name="info_already_checked_in_this_qr_code">Already checked in to this regatta</string>
|
||||
<string name="warning">Warning</string>
|
||||
<string name="gps_turned_off">GPS is turned off. Please turn on location access (GPS) in your Android Settings!</string>
|
||||
<string name="knots">knots</string>
|
||||
<string name="preferences">Preferences</string>
|
||||
|
||||
<string name="initial_timer_text_zerozero" translatable="false">00:00:00</string>
|
||||
<string name="initial_hyphen" translatable="false">-</string>
|
||||
<string name="initial_hyphen_degrees" translatable="false">-°</string>
|
||||
<string name="content_description_flag_icon" translatable="false">flag icon</string>
|
||||
</resources>
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="tracking_activity_checkin_digest_parameter" translatable="false">trackingActivityCheckinDigestParameter</string>
|
||||
<string name="tracking_activity_checkin_digest_parameter" translatable="false">trackingActivityCheckinDigestParameter</string>
|
||||
</resources>
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
<string name="yes">Yes</string>
|
||||
<string name="no">No</string>
|
||||
<string name="confirm_data_hello_name">Hello {full_name}</string>
|
||||
<string name="confirm_data_you_are_signed_in_as_sail_id">You are signing in as {sail_id}</string>
|
||||
<string name="confirm_data_hello_name">Hello {full_name}</string>
|
||||
<string name="confirm_data_you_are_signed_in_as_sail_id">You are signing in as {sail_id}</string>
|
||||
<string name="confirm_data_is_correct">OK</string>
|
||||
<string name="decline_data_is_incorrect">That\'s not me!</string>
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -5,18 +5,18 @@
|
||||
<string name="no_qr_code">You got no QR-Code?</string>
|
||||
<string name="start_tracking">Start tracking</string>
|
||||
<string name="stop_tracking">Stop tracking</string>
|
||||
<string name="tracking_gps_accuracy">GPS Accuracy</string>
|
||||
<string name="tracking_mode">Mode</string>
|
||||
<string name="tracking_mode_live">Live</string>
|
||||
<string name="tracking_mode_battery_saving">Battery Saving</string>
|
||||
<string name="tracking_unsent_fixes">Unsent fixes</string>
|
||||
<string name="tracking_mode_caching">Offline</string>
|
||||
<string name="tracking_mode_api_error">API-Error</string>
|
||||
<string name="tracking_mode_offline">Offline</string>
|
||||
<string name="tracking_time">Tracking Time</string>
|
||||
<string name="tracking_status" translatable="false">Status</string>
|
||||
<string name="tracking_status_tracking">Tracking running</string>
|
||||
<string name="tracking_status_no_gps_signal">No GPS Signal!</string>
|
||||
<string name="desc_regatta_user_image">Regatta User Image</string>
|
||||
<string name="desc_add_photo_button">Add Photo Button</string>
|
||||
<string name="tracking_gps_accuracy">GPS Accuracy</string>
|
||||
<string name="tracking_mode">Mode</string>
|
||||
<string name="tracking_mode_live">Live</string>
|
||||
<string name="tracking_mode_battery_saving">Battery Saving</string>
|
||||
<string name="tracking_unsent_fixes">Unsent fixes</string>
|
||||
<string name="tracking_mode_caching">Offline</string>
|
||||
<string name="tracking_mode_api_error">API-Error</string>
|
||||
<string name="tracking_mode_offline">Offline</string>
|
||||
<string name="tracking_time">Tracking Time</string>
|
||||
<string name="tracking_status" translatable="false">Status</string>
|
||||
<string name="tracking_status_tracking">Tracking running</string>
|
||||
<string name="tracking_status_no_gps_signal">No GPS Signal!</string>
|
||||
<string name="desc_regatta_user_image">Regatta User Image</string>
|
||||
<string name="desc_add_photo_button">Add Photo Button</string>
|
||||
</resources>
|
||||
@@ -4,5 +4,5 @@
|
||||
<string name="tracking_service_start" translatable="false">tracking_start</string>
|
||||
<string name="tracking_service_stop" translatable="false">tracking_stop</string>
|
||||
<string name="tracking_service_checkin_digest_parameter" translatable="false">trackingServiceCheckinDigest</string>
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -2,7 +2,7 @@
|
||||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="AppTheme.Base" />
|
||||
<style name="AppTheme" parent="AppTheme.Base"/>
|
||||
|
||||
<style name="AppTheme.Base" parent="Theme.AppCompat">
|
||||
|
||||
|
||||
@@ -31,98 +31,98 @@
|
||||
<attr name="vpiUnderlinePageIndicatorStyle" format="reference"/>
|
||||
</declare-styleable>
|
||||
|
||||
<attr name="centered" format="boolean" />
|
||||
<attr name="selectedColor" format="color" />
|
||||
<attr name="strokeWidth" format="dimension" />
|
||||
<attr name="unselectedColor" format="color" />
|
||||
<attr name="centered" format="boolean"/>
|
||||
<attr name="selectedColor" format="color"/>
|
||||
<attr name="strokeWidth" format="dimension"/>
|
||||
<attr name="unselectedColor" format="color"/>
|
||||
|
||||
<declare-styleable name="CirclePageIndicator">
|
||||
<!-- Whether or not the indicators should be centered. -->
|
||||
<attr name="centered" />
|
||||
<attr name="centered"/>
|
||||
<!-- Color of the filled circle that represents the current page. -->
|
||||
<attr name="fillColor" format="color" />
|
||||
<attr name="fillColor" format="color"/>
|
||||
<!-- Color of the filled circles that represents pages. -->
|
||||
<attr name="pageColor" format="color" />
|
||||
<attr name="pageColor" format="color"/>
|
||||
<!-- Orientation of the indicator. -->
|
||||
<attr name="android:orientation"/>
|
||||
<!-- Radius of the circles. This is also the spacing between circles. -->
|
||||
<attr name="radius" format="dimension" />
|
||||
<attr name="radius" format="dimension"/>
|
||||
<!-- Whether or not the selected indicator snaps to the circles. -->
|
||||
<attr name="snap" format="boolean" />
|
||||
<attr name="snap" format="boolean"/>
|
||||
<!-- Color of the open circles. -->
|
||||
<attr name="strokeColor" format="color" />
|
||||
<attr name="strokeColor" format="color"/>
|
||||
<!-- Width of the stroke used to draw the circles. -->
|
||||
<attr name="strokeWidth" />
|
||||
<attr name="strokeWidth"/>
|
||||
<!-- View background -->
|
||||
<attr name="android:background"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="LinePageIndicator">
|
||||
<!-- Whether or not the indicators should be centered. -->
|
||||
<attr name="centered" />
|
||||
<attr name="centered"/>
|
||||
<!-- Color of the unselected lines that represent the pages. -->
|
||||
<attr name="unselectedColor" />
|
||||
<attr name="unselectedColor"/>
|
||||
<!-- Color of the selected line that represents the current page. -->
|
||||
<attr name="selectedColor" />
|
||||
<attr name="selectedColor"/>
|
||||
<!-- Width of each indicator line. -->
|
||||
<attr name="lineWidth" format="dimension" />
|
||||
<attr name="lineWidth" format="dimension"/>
|
||||
<!-- Width of each indicator line's stroke. -->
|
||||
<attr name="strokeWidth" />
|
||||
<attr name="strokeWidth"/>
|
||||
<!-- Width of the gap between each indicator line. -->
|
||||
<attr name="gapWidth" format="dimension" />
|
||||
<attr name="gapWidth" format="dimension"/>
|
||||
<!-- View background -->
|
||||
<attr name="android:background"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="TitlePageIndicator">
|
||||
<!-- Screen edge padding. -->
|
||||
<attr name="clipPadding" format="dimension" />
|
||||
<attr name="clipPadding" format="dimension"/>
|
||||
<!-- Color of the footer line and indicator. -->
|
||||
<attr name="footerColor" format="color" />
|
||||
<attr name="footerColor" format="color"/>
|
||||
<!-- Height of the footer line. -->
|
||||
<attr name="footerLineHeight" format="dimension" />
|
||||
<attr name="footerLineHeight" format="dimension"/>
|
||||
<!-- Style of the indicator. Default is triangle. -->
|
||||
<attr name="footerIndicatorStyle">
|
||||
<enum name="none" value="0" />
|
||||
<enum name="triangle" value="1" />
|
||||
<enum name="underline" value="2" />
|
||||
<enum name="none" value="0"/>
|
||||
<enum name="triangle" value="1"/>
|
||||
<enum name="underline" value="2"/>
|
||||
</attr>
|
||||
<!-- Height of the indicator above the footer line. -->
|
||||
<attr name="footerIndicatorHeight" format="dimension" />
|
||||
<attr name="footerIndicatorHeight" format="dimension"/>
|
||||
<!-- Left and right padding of the underline indicator. -->
|
||||
<attr name="footerIndicatorUnderlinePadding" format="dimension" />
|
||||
<attr name="footerIndicatorUnderlinePadding" format="dimension"/>
|
||||
<!-- Padding between the bottom of the title and the footer. -->
|
||||
<attr name="footerPadding" format="dimension" />
|
||||
<attr name="footerPadding" format="dimension"/>
|
||||
<!-- Position of the line. -->
|
||||
<attr name="linePosition">
|
||||
<enum name="bottom" value="0"/>
|
||||
<enum name="top" value="1"/>
|
||||
</attr>
|
||||
<!-- Color of the selected title. -->
|
||||
<attr name="selectedColor" />
|
||||
<attr name="selectedColor"/>
|
||||
<!-- Whether or not the selected item is displayed as bold. -->
|
||||
<attr name="selectedBold" format="boolean" />
|
||||
<attr name="selectedBold" format="boolean"/>
|
||||
<!-- Color of regular titles. -->
|
||||
<attr name="android:textColor" />
|
||||
<attr name="android:textColor"/>
|
||||
<!-- Size of title text. -->
|
||||
<attr name="android:textSize" />
|
||||
<attr name="android:textSize"/>
|
||||
<!-- Padding between titles when bumping into each other. -->
|
||||
<attr name="titlePadding" format="dimension" />
|
||||
<attr name="titlePadding" format="dimension"/>
|
||||
<!-- Padding between titles and the top of the View. -->
|
||||
<attr name="topPadding" format="dimension" />
|
||||
<attr name="topPadding" format="dimension"/>
|
||||
<!-- View background -->
|
||||
<attr name="android:background"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="UnderlinePageIndicator">
|
||||
<!-- Whether or not the selected indicator fades. -->
|
||||
<attr name="fades" format="boolean" />
|
||||
<attr name="fades" format="boolean"/>
|
||||
<!-- Length of the delay to fade the indicator. -->
|
||||
<attr name="fadeDelay" format="integer" />
|
||||
<attr name="fadeDelay" format="integer"/>
|
||||
<!-- Length of the indicator fade to transparent. -->
|
||||
<attr name="fadeLength" format="integer" />
|
||||
<attr name="fadeLength" format="integer"/>
|
||||
<!-- Color of the selected line that represents the current page. -->
|
||||
<attr name="selectedColor" />
|
||||
<attr name="selectedColor"/>
|
||||
<!-- View background -->
|
||||
<attr name="android:background"/>
|
||||
</declare-styleable>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="Theme.PageIndicatorDefaults" parent="android:Theme">
|
||||
<item name="vpiIconPageIndicatorStyle">@style/Widget.IconPageIndicator</item>
|
||||
<item name="vpiTabPageIndicatorStyle">@style/Widget.TabPageIndicator</item>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- Energy Saving -->
|
||||
<PreferenceCategory android:title="@string/settings_category_energy_saving" >
|
||||
<PreferenceCategory android:title="@string/settings_category_energy_saving">
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/preference_energy_saving_enabled_key"
|
||||
@@ -10,26 +10,27 @@
|
||||
android:switchTextOff="@string/preference_energy_saving_is_disabled"
|
||||
android:summaryOn="@string/prefrence_energy_saving_summary_is_enabled"
|
||||
android:summaryOff="@string/prefrence_energy_saving_summary_is_disabled"
|
||||
android:title="@string/energy_saving_enabled" />
|
||||
android:title="@string/energy_saving_enabled"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
<!-- Connection -->
|
||||
<PreferenceCategory android:title="@string/settings_category_other" >
|
||||
<PreferenceCategory android:title="@string/settings_category_other">
|
||||
<EditTextPreference
|
||||
android:defaultValue="@string/preference_device_identifier_default"
|
||||
android:key="@string/preference_device_identifier_key"
|
||||
android:summary="@string/empty"
|
||||
android:title="@string/device_identifier" android:selectable="false"/>
|
||||
|
||||
<SwitchPreference
|
||||
android:title="@string/device_identifier"
|
||||
android:selectable="false"/>
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/preference_heading_with_declination_subtracted_key"
|
||||
android:switchTextOn="@string/preference_heading_with_declination_subtracted_is_enabled"
|
||||
android:switchTextOff="@string/preference_heading_with_declination_subtracted_is_disabled"
|
||||
android:summaryOn="@string/preference_heading_with_declination_subtracted_summary_is_enabled"
|
||||
android:summaryOff="@string/preference_heading_with_declination_subtracted_summary_is_disabled"
|
||||
android:title="@string/preference_heading_with_declination_subtracted_enabled" />
|
||||
android:title="@string/preference_heading_with_declination_subtracted_enabled"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in new issue
Block a user