Files
sailing-analytics/mobile/com.sap.sailing.android.tracking.app/res/layout/activity_tracking.xml
T

59 lines
2.2 KiB
XML

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/fiori_main_background">
<include
android:id="@+id/toolbar"
layout="@layout/custom_toolbar" />
<View
android:id="@+id/toolbar_separator"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_separator_height"
android:layout_below="@id/toolbar"
android:background="@color/separator_color" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/stop_tracking"
android:layout_below="@id/toolbar_separator"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/tracking_linear_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="0dp" />
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
</LinearLayout>
<Button
android:id="@+id/stop_tracking"
android:layout_width="match_parent"
android:layout_height="@dimen/tracking_button_height"
android:layout_above="@+id/title_page_indicator"
android:layout_marginBottom="10dp"
android:layout_marginLeft="@dimen/fragment_side_margin"
android:layout_marginRight="@dimen/fragment_side_margin"
android:layout_marginTop="0dp"
android:background="@drawable/stop_tracking_button"
android:padding="0dp"
android:text="@string/stop_tracking"
android:textSize="@dimen/highlight_text_size" />
<com.viewpagerindicator.CirclePageIndicator
android:id="@+id/title_page_indicator"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="10dp" />
</RelativeLayout>