stash
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout 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:layout_marginLeft="@dimen/module_services_online_car_panel_marginRight"
|
||||
android:layout_marginTop="@dimen/module_services_online_car_panel_marginTop"
|
||||
android:layout_marginRight="@dimen/module_services_online_car_panel_marginRight"
|
||||
android:layout_marginBottom="@dimen/module_services_online_car_panel_marginBottom"
|
||||
android:background="@drawable/module_services_online_car_panel_background"
|
||||
android:paddingLeft="@dimen/module_services_online_car_panel_paddingLeft"
|
||||
android:paddingRight="@dimen/module_services_online_car_panel_paddingLeft">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_services_id_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/module_services_online_car_panel_close_margin_top"
|
||||
android:text="目的地车友"
|
||||
android:textColor="@color/module_services_online_car_panel_title_textColor"
|
||||
android:textSize="@dimen/module_services_online_car_panel_title_text_size" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/module_services_id_close"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginTop="@dimen/module_services_online_car_panel_close_margin_top"
|
||||
android:src="@drawable/module_services_close" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/module_services_id_recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/module_services_online_car_panel_recycler_view_margin_top"
|
||||
android:overScrollMode="never" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/module_services_id_load_strategy_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/module_services_online_car_panel_empty_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_services_empty_tip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_marginTop="@dimen/module_services_empty_tip_marginTop"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/module_services_empty_tip_textColor"
|
||||
android:textSize="@dimen/module_services_empty_tip_textSize"
|
||||
android:textStyle="bold"
|
||||
tools:text="很抱歉,目的地10km内未找到车友" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/module_services_panel_strategy_button_marginTop"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_services_id_20Km_radius"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/module_services_load_strategy_marginRight"
|
||||
android:background="@drawable/module_services_panel_strategy_button_bkg"
|
||||
android:paddingLeft="@dimen/module_services_load_strategy_paddingLeft"
|
||||
android:paddingTop="@dimen/module_services_load_strategy_paddingTop"
|
||||
android:paddingRight="@dimen/module_services_load_strategy_paddingLeft"
|
||||
android:paddingBottom="@dimen/module_services_load_strategy_paddingTop"
|
||||
android:text="@string/module_services_str_20Km_radius"
|
||||
android:textColor="@color/module_services_load_strategy_textColor"
|
||||
android:textSize="@dimen/module_services_load_strategy_textSize"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_services_id_40Km_radius"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/module_services_panel_strategy_button_bkg"
|
||||
android:paddingLeft="@dimen/module_services_load_strategy_paddingLeft"
|
||||
android:paddingTop="@dimen/module_services_load_strategy_paddingTop"
|
||||
android:paddingRight="@dimen/module_services_load_strategy_paddingLeft"
|
||||
android:paddingBottom="@dimen/module_services_load_strategy_paddingTop"
|
||||
android:text="@string/module_services_str_40Km_radius"
|
||||
android:textColor="@color/module_services_load_strategy_textColor"
|
||||
android:textSize="@dimen/module_services_load_strategy_textSize"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/module_services_id_error_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/module_services_online_car_panel_recycler_view_margin_top"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="加载失败,请点击重试"
|
||||
android:textColor="#FFFFFF" />
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?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="wrap_content"
|
||||
android:layout_marginBottom="@dimen/module_services_panel_item_marginBottom"
|
||||
android:background="@drawable/module_services_panel_item_bkg"
|
||||
android:padding="@dimen/module_services_panel_item_padding">
|
||||
|
||||
<com.mogo.module.common.widget.CustomCircleImageView
|
||||
android:id="@+id/module_services_id_panel_item_avatar"
|
||||
android:layout_width="@dimen/module_services_panel_item_avatar_size"
|
||||
android:layout_height="@dimen/module_services_panel_item_avatar_size"
|
||||
android:src="@drawable/module_common_default_user_head"
|
||||
app:civ_border_color="@color/module_services_id_panel_item_avatar_border_color"
|
||||
app:civ_border_width="@dimen/module_services_id_panel_item_avatar_border_width"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_services_id_panel_item_nickname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/module_services_panel_item_nickname_marginLeft"
|
||||
android:textColor="@color/module_services_panel_item_nickname_textColor"
|
||||
android:textSize="@dimen/module_services_panel_item_nickname_textSize"
|
||||
app:layout_constraintLeft_toRightOf="@+id/module_services_id_panel_item_avatar"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="1111111" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_services_id_panel_item_distance_tag"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/module_services_panel_item_distance_textColor"
|
||||
android:textSize="@dimen/module_services_panel_item_distance_textSize"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/module_services_id_panel_item_nickname"
|
||||
android:text="@string/module_services_panel_item_distance_tag_text" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_services_id_panel_item_distance"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/module_services_id_panel_item_distance_marginLeft"
|
||||
android:textColor="@color/module_services_panel_item_nickname_textColor"
|
||||
android:textSize="@dimen/module_services_panel_item_distance_textSize"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@+id/module_services_id_panel_item_distance_tag"
|
||||
tools:text="980M" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_services_id_panel_item_detail"
|
||||
android:layout_width="wrap_content"
|
||||
android:background="@drawable/module_services_panel_item_detail_bkg"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/module_services_panel_item_detail_padding"
|
||||
android:text="@string/module_services_panel_item_detail_text"
|
||||
android:textColor="@color/module_services_panel_item_detail_textColor"
|
||||
android:textSize="@dimen/module_services_panel_item_detail_textSize"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user