|
@@ -1,14 +1,10 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="@dimen/left_menu_left_margin"
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="120dp">
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ android:layout_height="120dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="@dimen/left_menu_left_margin">
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:id="@+id/lyt_detial"
|
|
@@ -24,49 +20,52 @@
|
|
|
android:id="@+id/lyt_time"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_time"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textSize="22sp"
|
|
|
android:textColor="@color/dark"
|
|
|
- android:textStyle="bold"/>
|
|
|
+ android:textSize="22sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_date"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/gray_60"
|
|
|
- android:fontFamily="sans-serif-medium"
|
|
|
android:layout_marginLeft="@dimen/space_value_small"
|
|
|
- android:textSize="14sp"/>
|
|
|
+ android:fontFamily="sans-serif-medium"
|
|
|
+ android:textColor="@color/gray_60"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_accuracy"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
android:layout_marginLeft="@dimen/space_value_small"
|
|
|
- android:textSize="10sp"
|
|
|
- android:textColor="@color/gray_40"
|
|
|
+ android:background="@drawable/bg_text_gray"
|
|
|
android:gravity="center"
|
|
|
- android:paddingTop="3dp"
|
|
|
- android:paddingBottom="3dp"
|
|
|
android:paddingLeft="10dp"
|
|
|
+ android:paddingTop="3dp"
|
|
|
android:paddingRight="10dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:background="@drawable/bg_text_gray"/>
|
|
|
+ android:paddingBottom="3dp"
|
|
|
+ android:textColor="@color/gray_40"
|
|
|
+ android:textSize="10sp" />
|
|
|
+
|
|
|
<ImageView
|
|
|
android:id="@+id/tv_localType"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
android:layout_marginStart="@dimen/space_value_small"
|
|
|
+ android:background="@drawable/bg_text_gray"
|
|
|
android:gravity="center"
|
|
|
- android:paddingTop="3dp"
|
|
|
- android:paddingBottom="3dp"
|
|
|
android:paddingLeft="10dp"
|
|
|
+ android:paddingTop="3dp"
|
|
|
android:paddingRight="10dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:src="@drawable/ic_location_gps"
|
|
|
- android:background="@drawable/bg_text_gray"/>
|
|
|
+ android:paddingBottom="3dp"
|
|
|
+ android:src="@drawable/ic_location_gps" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
@@ -74,7 +73,7 @@
|
|
|
android:id="@+id/tv_position"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/lyt_time"/>
|
|
|
+ android:layout_below="@id/lyt_time" />
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
@@ -82,12 +81,12 @@
|
|
|
android:id="@+id/tv_current"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:textSize="17sp"
|
|
|
android:layout_alignBottom="@+id/tv_max"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
android:layout_toLeftOf="@+id/tv_max"
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
- android:textColor="@color/gray_60"/>
|
|
|
+ android:textColor="@color/gray_60"
|
|
|
+ android:textSize="17sp" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_max"
|
|
@@ -95,32 +94,33 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:paddingBottom="2dp"
|
|
|
- android:textSize="10sp"
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
- android:textColor="@color/gray_40"/>
|
|
|
+ android:paddingBottom="2dp"
|
|
|
+ android:textColor="@color/gray_40"
|
|
|
+ android:textSize="10sp" />
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_below="@+id/lyt_detial">
|
|
|
+
|
|
|
<ImageView
|
|
|
android:id="@+id/leftForwardsImageView"
|
|
|
- android:src="@drawable/k2_app_homepage_left_normal"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:visibility="gone"
|
|
|
android:layout_width="30dp"
|
|
|
- android:layout_height="30dp" />
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:src="@drawable/k2_app_homepage_left_normal"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/rightForwardsImageView"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="30dp"
|
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:visibility="gone"
|
|
|
android:src="@drawable/k2_app_homepage_right_normal"
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="30dp" />
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
|
|
|
<SeekBar
|
|
@@ -128,25 +128,25 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignTop="@+id/leftForwardsImageView"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- />
|
|
|
+ android:layout_centerHorizontal="true" />
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:id="@+id/lyt_empty"
|
|
|
- android:visibility="gone"
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerInParent="true"
|
|
|
- android:textColor="@color/gray_60"
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
- android:textSize="@dimen/text_size_mediumMore"
|
|
|
- android:text="@string/no_track"/>
|
|
|
+ android:text="@string/no_track"
|
|
|
+ android:textColor="@color/gray_60"
|
|
|
+ android:textSize="@dimen/text_size_mediumMore" />
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|