|
|
@@ -0,0 +1,207 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:id="@+id/activity_main"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ tools:context=".view.NewStepActivity">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:id="@+id/movement_records_calender_ll"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/light_blue"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:background="@drawable/ic_small_blue_rectangular"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="100dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:text="@string/sports_recode_distance"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/movement_total_km_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="30sp"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:text="@string/sports_kilometre"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/movement_total_km_time_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginRight="10dp" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textView3"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentStart="true"
|
|
|
+ android:layout_marginBottom="16dp"
|
|
|
+ android:text="@string/sports_recode"
|
|
|
+ android:textColor="@color/main_text_color"
|
|
|
+ android:textSize="15sp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:background="@drawable/ic_small_blue_rectangular"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="100dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:text="@string/sports_step_tody"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/movement_total_steps_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="30sp"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:textColor="@color/white"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:text="@string/sports_step"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/movement_total_steps_time_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginRight="5dp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/is_support_tv"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/device_nosupport_step"
|
|
|
+ android:textColor="@color/red"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/steps_history_ll"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginTop="50dp"
|
|
|
+ >
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/uustephistory"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/steps_history_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:text="@string/sports_recode_more"
|
|
|
+ android:textColor="#288af8"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+</LinearLayout>
|