Commit d45aabc599bc3910d686683cd5b7e389025b3be1

Authored by 韩亚云
1 parent 8b47b0b7

赛事列表轨迹列表页面修改

moudle_pedometer/src/main/java/com/cnlive/moudle/collectionTrace/frame/view/RaceNameListView.java
... ... @@ -41,7 +41,7 @@ public class RaceNameListView implements MvpView {
41 41 public void initView(){
42 42 fragment.binding.raceBack.setOnClickListener(v -> fragment.getActivity().finish());
43 43 fragment.binding.intoPath.setOnClickListener(v -> StartCollectTraceActivity.newInstance(fragment.getActivity(),fragment.eventId));
44   - fragment.binding.raceTittle.setText("赛事轨迹列表");
  44 + fragment.binding.raceTittle.setText("轨迹列表");
45 45 fragment.binding.refreshLayout.setRefreshHeader(new ClassicsHeader(fragment.getActivity()));
46 46 fragment.binding.refreshLayout.setRefreshFooter(new ClassicsFooter(fragment.getActivity()));
47 47 fragment.binding.raceRecy.setLayoutManager(new LinearLayoutManager(fragment.getActivity()));
... ...
moudle_pedometer/src/main/res/drawable-hdpi/bg_bg.png 0 → 100644

3.49 KB

moudle_pedometer/src/main/res/drawable-xhdpi/bg_bg.png 0 → 100644

5.18 KB

moudle_pedometer/src/main/res/drawable-xxhdpi/bg_bg.png 0 → 100644

10.6 KB

moudle_pedometer/src/main/res/layout/fragment_race_name_list.xml
... ... @@ -52,10 +52,7 @@
52 52 <android.support.v7.widget.RecyclerView
53 53 android:id="@+id/race_recy"
54 54 android:layout_width="match_parent"
55   - android:layout_height="match_parent"
56   - android:layout_marginTop="5dp"
57   - android:layout_marginLeft="5dp"
58   - android:layout_marginRight="5dp"/>
  55 + android:layout_height="match_parent"/>
59 56 </com.scwang.smartrefresh.layout.SmartRefreshLayout>
60 57  
61 58 <com.cnlive.strike.ui.widget.UIEmptyView
... ...
moudle_pedometer/src/main/res/layout/item_race_name_list.xml
... ... @@ -2,11 +2,12 @@
2 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 3 android:layout_width="match_parent"
4 4 android:layout_height="wrap_content"
5   - android:layout_margin="5dp"
6 5 android:orientation="vertical"
7 6 android:id="@+id/shoe_ly"
8   - android:background="@color/white"
9   - android:padding="10dp">
  7 + android:layout_marginLeft="5dp"
  8 + android:layout_marginRight="5dp"
  9 + android:background="@drawable/background"
  10 + android:padding="15dp">
10 11  
11 12 <LinearLayout
12 13 android:layout_width="match_parent"
... ... @@ -99,7 +100,7 @@
99 100 <LinearLayout
100 101 android:layout_width="match_parent"
101 102 android:layout_height="wrap_content"
102   - android:layout_marginTop="5dp">
  103 + android:layout_marginTop="10dp">
103 104  
104 105 <ImageView
105 106 android:layout_width="10dp"
... ... @@ -151,9 +152,9 @@
151 152 android:layout_height="wrap_content"
152 153 android:layout_marginLeft="15dp"
153 154 android:background="@drawable/green_raduis_bg"
154   - android:paddingLeft="10dp"
  155 + android:paddingLeft="12dp"
155 156 android:paddingTop="7dp"
156   - android:paddingRight="10dp"
  157 + android:paddingRight="12dp"
157 158 android:paddingBottom="7dp"
158 159 android:text="@string/delect"
159 160 android:textColor="#36C28D"
... ...
moudle_pedometer/src/main/res/layout/item_record.xml
... ... @@ -3,15 +3,14 @@
3 3 android:id="@+id/item_ly"
4 4 android:layout_width="match_parent"
5 5 android:layout_height="wrap_content"
6   - android:layout_margin="5dp"
7   - android:background="@color/white"
  6 + android:background="@drawable/bg_bg"
8 7 android:orientation="vertical">
9 8  
10 9 <LinearLayout
11 10 android:layout_width="match_parent"
12 11 android:layout_height="wrap_content"
13 12 android:orientation="vertical"
14   - android:padding="10dp">
  13 + android:padding="15dp">
15 14  
16 15 <TextView
17 16 android:id="@+id/line_name"
... ... @@ -80,9 +79,9 @@
80 79 android:layout_height="wrap_content"
81 80 android:layout_alignParentRight="true"
82 81 android:background="@drawable/green_raduis_bg"
83   - android:paddingLeft="10dp"
  82 + android:paddingLeft="12dp"
84 83 android:paddingTop="7dp"
85   - android:paddingRight="10dp"
  84 + android:paddingRight="12dp"
86 85 android:paddingBottom="7dp"
87 86 android:text="轨迹列表"
88 87 android:textColor="#36C28D"
... ... @@ -95,12 +94,13 @@
95 94 android:layout_marginRight="10dp"
96 95 android:layout_toLeftOf="@id/path_list"
97 96 android:background="@drawable/green_raduis_bg"
98   - android:paddingLeft="10dp"
  97 + android:paddingLeft="12dp"
99 98 android:paddingTop="7dp"
100   - android:paddingRight="10dp"
  99 + android:paddingRight="12dp"
101 100 android:paddingBottom="7dp"
102 101 android:text="添加轨迹"
103 102 android:textColor="#36C28D"
  103 + android:layout_marginBottom="5dp"
104 104 android:textSize="12sp" />
105 105  
106 106 </RelativeLayout>
... ...