From ae292cb4f4a67e16465b732e26b408955b4407f5 Mon Sep 17 00:00:00 2001 From: endian11 <Dana_Lee1016@126.com> Date: 星期三, 11 九月 2019 11:22:27 +0800 Subject: [PATCH] 隐藏“查看地图”; 自定义ArrowView的Text属性 --- app/src/main/res/layout/layout_net_train_item.xml | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/app/src/main/res/layout/layout_net_train_item.xml b/app/src/main/res/layout/layout_net_train_item.xml index a0aad0f..6e65d42 100644 --- a/app/src/main/res/layout/layout_net_train_item.xml +++ b/app/src/main/res/layout/layout_net_train_item.xml @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="5dp" android:background="@color/train_item_bg" @@ -17,11 +19,13 @@ android:layout_height="80dp" android:layout_toRightOf="@+id/hv" android:id="@+id/av1" + app:text="鐩磋杞集" android:layout_marginLeft="-15dp" /> <safeluck.drive.evaluation.customview.ArrowView android:layout_width="80dp" android:layout_height="80dp" + app:text="鏇茬嚎琛岄┒" android:layout_marginLeft="-15dp" android:layout_toRightOf="@+id/av1" android:id="@+id/av2" @@ -30,6 +34,7 @@ android:layout_width="80dp" android:layout_height="80dp" android:id="@+id/av3" + app:text="渚ф柟鍋滆溅" android:layout_marginLeft="-15dp" android:layout_toRightOf="@id/av2" /> @@ -39,6 +44,7 @@ android:layout_marginLeft="-15dp" android:layout_toRightOf="@+id/av3" android:id="@+id/av4" + app:text="鍧¢亾瀹氱偣" /> </RelativeLayout> \ No newline at end of file -- Gitblit v1.8.0