1.修改友盟上的bug.
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context=".activity.LinkActivity">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_web"
|
||||
android:layout_width="match_parent"
|
||||
@@ -17,18 +19,19 @@
|
||||
android:id="@+id/iv_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginStart="15dp"
|
||||
android:padding="5dp"
|
||||
android:src="@drawable/ic_baseline_arrow"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp" />
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<!-- <TextView-->
|
||||
<!-- android:id="@+id/tv_title"-->
|
||||
<!-- style="@style/text_style_toolbar_title"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- -->
|
||||
<!-- android:layout_toRightOf="@id/iv_icon"-->
|
||||
<!-- android:textColor="#fff" />-->
|
||||
<!--<TextView-->
|
||||
<!--android:id="@+id/tv_title"-->
|
||||
<!--style="@style/text_style_toolbar_title"-->
|
||||
<!--android:layout_width="wrap_content"-->
|
||||
<!---->
|
||||
<!--android:layout_toRightOf="@id/iv_icon"-->
|
||||
<!--android:textColor="#fff" />-->
|
||||
</RelativeLayout>
|
||||
|
||||
<WebView
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
</RadioGroup>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_pic"
|
||||
android:id="@+id/iv_pic_road"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/take_pic_arrow"
|
||||
|
||||
@@ -39,11 +39,10 @@
|
||||
android:layout_margin="20dp"
|
||||
android:layout_marginBottom="245dp"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_filter"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
>
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_filter">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_phone"
|
||||
@@ -55,37 +54,39 @@
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_filter"
|
||||
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="15dp"
|
||||
android:text="公司官网请见"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_phone"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_phone" />
|
||||
<TextView
|
||||
android:id="@+id/tv_map_link"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="15dp"
|
||||
android:textColor="#0000FF"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:text="http://www.navinfo.com"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="15dp"
|
||||
android:text="公司官网请见"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_phone"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_phone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_map_link"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:text="http://www.navinfo.com"
|
||||
android:textColor="#0000FF"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_official_link"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="15sp"
|
||||
android:textSize="16sp"
|
||||
android:text="更多详情请见官网:https://dtxbmaps.navinfo.com/user"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_phone"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_phone" />
|
||||
|
||||
|
||||
@@ -35,18 +35,21 @@
|
||||
android:layout_toRightOf="@id/iv_find_task"
|
||||
android:text="@string/tv_statement" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_margin="20dp"
|
||||
android:id="@+id/tv_textStatement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/tv_textStatement"
|
||||
android:layout_margin="20dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:text="@string/statement"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_statement"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
||||
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
|
||||
|
||||
/>
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_statement" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</ScrollView>
|
||||
@@ -1,9 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include
|
||||
android:id="@+id/charging_station_header"
|
||||
layout="@layout/charging_station_header"
|
||||
@@ -14,15 +16,17 @@
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
</include>
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/nested_scroll_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
@@ -37,6 +41,7 @@
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/linear_exist"
|
||||
android:layout_width="match_parent"
|
||||
@@ -80,6 +85,7 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/ic_baseline_arrow_drop" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/linear_pot"
|
||||
android:layout_width="match_parent"
|
||||
@@ -153,7 +159,8 @@
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:text="名称*"
|
||||
android:textColor="#333" />
|
||||
android:textColor="#333"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/tv_name_content"
|
||||
@@ -167,7 +174,8 @@
|
||||
android:hint="名称"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/test_color_selector"
|
||||
android:textSize="15sp" />
|
||||
android:textSize="15sp"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_station_examine"
|
||||
@@ -177,7 +185,8 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_margin="4dp"
|
||||
android:text="查重"
|
||||
android:textColor="@color/design_default_color_primary" />
|
||||
android:textColor="@color/design_default_color_primary"
|
||||
tools:ignore="HardcodedText" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
@@ -239,7 +248,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:orientation="vertical"/>
|
||||
android:orientation="vertical" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
@@ -286,7 +295,6 @@
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_02"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -297,16 +305,17 @@
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/linear_type" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="长按图片可删除"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginStart="10dp"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_02"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_02"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_02"
|
||||
/>
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_02"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_02" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linear_photograph"
|
||||
android:layout_width="match_parent"
|
||||
@@ -522,7 +531,7 @@
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_weight="1" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -611,9 +620,7 @@
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="30dp"
|
||||
android:textSize="15sp"
|
||||
|
||||
/>
|
||||
android:textSize="15sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -637,7 +644,8 @@
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/selector_red_radius_bg"
|
||||
android:text="保存本地"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_uploading"
|
||||
@@ -646,7 +654,8 @@
|
||||
android:layout_margin="10dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_transparent_pink_radius_bg"
|
||||
android:text="上传" />
|
||||
android:text="上传"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
@@ -19,16 +20,16 @@
|
||||
android:id="@+id/iv_contact"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@drawable/icon_arrow" />
|
||||
android:layout_marginStart="15dp"
|
||||
android:src="@drawable/icon_arrow"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_contact"
|
||||
style="@style/text_style_toolbar_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_toRightOf="@id/iv_find_task"
|
||||
android:text="联系我们" />
|
||||
android:text="联系我们"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -44,7 +45,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="地图寻宝各区域联系方式:"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_contact" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_contact"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -59,15 +61,17 @@
|
||||
android:textSize="16sp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="QQ群名称" />
|
||||
android:text="QQ群名称"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_qqPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:text="QQ群号" />
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -80,15 +84,17 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="QQ群名称"
|
||||
android:textSize="16sp" />
|
||||
android:textSize="16sp"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_jingPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="100dp"
|
||||
android:layout_marginStart="100dp"
|
||||
android:text="QQ群号"
|
||||
android:textSize="16sp" />
|
||||
android:textSize="16sp"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -102,15 +108,17 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="QQ群名称"
|
||||
android:textSize="16sp" />
|
||||
android:textSize="16sp"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_heiPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号"
|
||||
android:textSize="16sp" />
|
||||
android:textSize="16sp"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -123,15 +131,17 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="QQ群名称"
|
||||
android:textSize="16sp" />
|
||||
android:textSize="16sp"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_shanPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号"
|
||||
android:textSize="16sp" />
|
||||
android:textSize="16sp"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -145,15 +155,17 @@
|
||||
android:textSize="16sp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="QQ群名称" />
|
||||
android:text="QQ群名称"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_yuPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:text="QQ群号" />
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -166,15 +178,17 @@
|
||||
android:textSize="16sp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="QQ群名称" />
|
||||
android:text="QQ群名称"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_chuanPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:text="QQ群号" />
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -195,7 +209,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@@ -216,7 +230,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@@ -238,7 +252,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@@ -259,7 +273,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@@ -281,7 +295,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@@ -302,7 +316,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@@ -324,7 +338,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@@ -345,14 +359,16 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="120dp"
|
||||
android:text="QQ群号" />
|
||||
android:layout_marginStart="120dp"
|
||||
android:text="QQ群号"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:text="地图寻宝微信公众号:微信搜索地图寻宝或者扫码关注"/>
|
||||
android:text="地图寻宝微信公众号:微信搜索地图寻宝或者扫码关注"
|
||||
tools:ignore="HardcodedText" />
|
||||
<!-- <ImageView-->
|
||||
<!-- android:layout_width=""-->
|
||||
<!-- android:layout_height=""-->
|
||||
|
||||
@@ -216,7 +216,7 @@
|
||||
android:id="@+id/rl_draw"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:visibility="gone"
|
||||
android:visibility="visible"
|
||||
android:background="@drawable/road_shape"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
@@ -53,7 +53,12 @@
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_title" />
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
android:id="@+id/relative_linear"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -67,20 +72,27 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:text="到期时间:"
|
||||
android:textSize="15sp" />
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_distance"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:maxLength="10"
|
||||
android:text="距离:"
|
||||
android:textSize="15sp" />
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_time"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout
|
||||
>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -24,21 +24,23 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_name"
|
||||
android:layout_width="260dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="测试彼此"
|
||||
android:textColor="#333"
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintEnd_toStartOf="@+id/tv_money"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_form"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:background="@drawable/underline"
|
||||
android:padding="5dp"
|
||||
@@ -82,7 +84,6 @@
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_name"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
|
||||
52
app/src/main/res/layout/notification_view.xml
Normal file
52
app/src/main/res/layout/notification_view.xml
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="64dp" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/notification_large_icon"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="64dp"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/ic_launcher" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/notification_title"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_toRightOf="@+id/notification_large_icon"
|
||||
android:text="Title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/notification_text"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/notification_title"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_toRightOf="@+id/notification_large_icon"
|
||||
android:text="Message" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/notification_text"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:textSize="10dp"
|
||||
android:layout_toRightOf="@+id/notification_large_icon"
|
||||
android:text="(嘿嘿,偷偷听告诉你,我是自定义的)" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/notification_small_icon"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:scaleType="fitXY"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:src="@mipmap/ic_launcher" />
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user