Files
sailing-analytics/mobile/com.sap.sailing.android.tracking.app/res/layout/fragment_speed.xml
T
Bennet Brunsen 8626f67187 Applied code formatting.
Used code formatter provided by Siegmund. Applied code formatting to
tracking app, buoy positioning app, android shared.
2015-04-16 11:16:11 +02:00

50 lines
2.0 KiB
XML

<?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">
<TextView
android:id="@+id/speed_header_text_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/speed_over_ground"
android:textColor="@android:color/darker_gray"
android:textSize="14sp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:paddingTop="15dp"/>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_centerInParent="true"
android:orientation="vertical">
<com.sap.sailing.android.shared.ui.customviews.AutoResizeLightTextView
android:id="@+id/speed_text_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
android:textColor="@color/white"
android:text="@string/initial_hyphen"
android:textSize="124sp"
android:textStyle="bold"/>
<com.sap.sailing.android.shared.ui.customviews.AutoResizeLightTextView
android:id="@+id/speed_unit_text_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/speed_text_view"
android:gravity="top|center"
android:text="@string/knots"
android:textColor="@color/white"
android:layout_marginTop="-20dp"
android:textSize="20sp"
android:textStyle="bold"/>
</RelativeLayout>
</RelativeLayout>