opt ui
This commit is contained in:
@@ -10,30 +10,30 @@
|
||||
<RelativeLayout
|
||||
android:id="@+id/layout_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35px"
|
||||
android:layout_height="@dimen/module_v2x_surrounding_top_height"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_brief"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20px"
|
||||
android:textSize="18px"
|
||||
android:layout_marginLeft="@dimen/module_v2x_surrounding_margin_left"
|
||||
android:text="周围5公里,共15条交通信息"
|
||||
android:textColor="@color/white" />
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/module_v2x_surrounding_top_textsize" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_top_refresh"
|
||||
android:layout_width="90px"
|
||||
android:layout_height="36px"
|
||||
android:layout_width="@dimen/module_v2x_surrounding_top_bt_width"
|
||||
android:layout_height="@dimen/module_v2x_surrounding_top_bt_height"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginRight="20px"
|
||||
android:layout_marginRight="@dimen/module_v2x_surrounding_margin_left"
|
||||
android:background="@drawable/bg_v2x_refresh"
|
||||
android:gravity="center"
|
||||
android:text="@string/v2x_surrounding_refresh"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18px"
|
||||
android:textSize="@dimen/module_v2x_surrounding_top_textsize"
|
||||
android:textStyle="bold" />
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -42,11 +42,11 @@
|
||||
android:id="@+id/list_layout_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="15px"
|
||||
android:layout_marginLeft="10px"
|
||||
android:layout_marginRight="10px"
|
||||
android:layout_marginBottom="20px"
|
||||
android:layout_below="@+id/layout_top">
|
||||
android:layout_below="@+id/layout_top"
|
||||
android:layout_marginLeft="@dimen/module_v2x_surrounding_root_margin_left"
|
||||
android:layout_marginTop="@dimen/module_v2x_surrounding_empty_tv_margin_top"
|
||||
android:layout_marginRight="@dimen/module_v2x_surrounding_root_margin_left"
|
||||
android:layout_marginBottom="@dimen/module_v2x_surrounding_margin_left">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/surrounding_recycleview"
|
||||
@@ -65,10 +65,10 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_empty"
|
||||
android:layout_width="200px"
|
||||
android:layout_height="200px"
|
||||
android:layout_width="@dimen/module_v2x_surrounding_empty_image_height"
|
||||
android:layout_height="@dimen/module_v2x_surrounding_empty_image_height"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="59px"
|
||||
android:layout_marginTop="@dimen/module_v2x_surrounding_empty_iv_margin_top"
|
||||
android:src="@drawable/mogo_image_blank_nor" />
|
||||
|
||||
<TextView
|
||||
@@ -77,11 +77,11 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/iv_empty"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="15px"
|
||||
android:layout_marginTop="@dimen/module_v2x_surrounding_empty_tv_margin_top"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="周边5公里,暂无交通事件"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18px"
|
||||
android:textSize="@dimen/module_v2x_surrounding_top_textsize"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
@@ -94,47 +94,46 @@
|
||||
android:gravity="center_horizontal"
|
||||
android:text="你可以试着分享一个事件给其他车主"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18px"
|
||||
android:textSize="@dimen/module_v2x_surrounding_top_textsize"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_main_share"
|
||||
android:layout_width="150px"
|
||||
android:layout_height="48px"
|
||||
android:layout_width="@dimen/module_v2x_surrounding_empty_bt_width"
|
||||
android:layout_height="@dimen/module_v2x_surrounding_empty_bt_height"
|
||||
android:layout_below="@+id/tv_main_empty_2"
|
||||
android:layout_marginLeft="70px"
|
||||
android:layout_marginTop="32px"
|
||||
android:layout_marginLeft="@dimen/module_v2x_surrounding_empty_bt_maigin_left"
|
||||
android:layout_marginTop="@dimen/module_v2x_surrounding_empty_bt_margin_top"
|
||||
android:background="@drawable/bg_v2x_go_to_share"
|
||||
android:gravity="center"
|
||||
android:text="@string/v2x_surrounding_go_to_share"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18px"
|
||||
android:textSize="@dimen/module_v2x_surrounding_top_textsize"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_main_refresh"
|
||||
android:layout_width="150px"
|
||||
android:layout_height="48px"
|
||||
android:layout_width="@dimen/module_v2x_surrounding_empty_bt_width"
|
||||
android:layout_height="@dimen/module_v2x_surrounding_empty_bt_height"
|
||||
android:layout_below="@+id/tv_main_empty_2"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginTop="32px"
|
||||
android:layout_marginRight="70px"
|
||||
android:layout_marginTop="@dimen/module_v2x_surrounding_empty_bt_margin_top"
|
||||
android:layout_marginRight="@dimen/module_v2x_surrounding_empty_bt_maigin_left"
|
||||
android:background="@drawable/bg_v2x_refresh"
|
||||
android:gravity="center"
|
||||
android:text="@string/v2x_surrounding_refresh"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18px"
|
||||
android:textSize="@dimen/module_v2x_surrounding_top_textsize"
|
||||
android:textStyle="bold" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_height="200px"
|
||||
android:layout_width="200px"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/loading_iv"
|
||||
android:layout_centerInParent="true" >
|
||||
</ImageView>
|
||||
android:layout_width="200px"
|
||||
android:layout_height="200px"
|
||||
android:layout_centerInParent="true"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
@@ -2,25 +2,25 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/layout_root"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="173px">
|
||||
android:layout_height="@dimen/module_v2x_surrounding_item_height">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_event_bg"
|
||||
android:scaleType="center"
|
||||
android:scaleType="fitXY"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="130px" />
|
||||
android:layout_height="@dimen/module_v2x_surrounding_item_image_height" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_below="@+id/iv_event_bg"
|
||||
android:background="@drawable/bg_v2x_event_surrounding_item_bottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="43px">
|
||||
android:layout_height="@dimen/module_v2x_surrounding_item_bottom">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_event_type"
|
||||
android:layout_width="26px"
|
||||
android:layout_height="26px"
|
||||
android:layout_marginLeft="10px"
|
||||
android:layout_width="@dimen/module_v2x_surrounding_item_bottom_image_height"
|
||||
android:layout_height="@dimen/module_v2x_surrounding_item_bottom_image_height"
|
||||
android:layout_marginLeft="@dimen/module_v2x_surrounding_item_marigin_left"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@drawable/icon_default_black_logo" />
|
||||
@@ -31,8 +31,8 @@
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_toRightOf="@+id/iv_event_type"
|
||||
android:layout_marginLeft="8px"
|
||||
android:textSize="20px"
|
||||
android:layout_marginLeft="@dimen/module_v2x_surrounding_item_marigin_bottom_left"
|
||||
android:textSize="@dimen/module_v2x_surrounding_item_bottom_left_textsize"
|
||||
android:textColor="@color/white"
|
||||
android:text="求助" />
|
||||
|
||||
@@ -41,9 +41,9 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="12px"
|
||||
android:layout_marginRight="@dimen/module_v2x_surrounding_item_marigin_left"
|
||||
android:layout_centerVertical="true"
|
||||
android:textSize="16px"
|
||||
android:textSize="@dimen/module_v2x_surrounding_item_bottom_right_textsize"
|
||||
android:textColor="@color/transparent_white_30"
|
||||
android:text="23条" />
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -30,4 +30,29 @@
|
||||
<dimen name="module_v2x_map_right">200px</dimen>
|
||||
<dimen name="module_v2x_map_bottom">100px</dimen>
|
||||
|
||||
<dimen name="module_v2x_surrounding_top_height">35px</dimen>
|
||||
<dimen name="module_v2x_surrounding_top_bt_width">90px</dimen>
|
||||
<dimen name="module_v2x_surrounding_top_bt_height">36px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_iv_margin_top">58px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_tv_margin_top">15px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_width">150px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_height">48px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_margin_top">32px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_maigin_left">70px</dimen>
|
||||
<dimen name="module_v2x_surrounding_root_margin_left">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_margin_left">20px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_image_height">200px</dimen>
|
||||
|
||||
<dimen name="module_v2x_surrounding_item_height">173px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_image_height">130px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom">43px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom_image_height">26px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_marigin_left">12px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">8px</dimen>
|
||||
|
||||
<dimen name="module_v2x_surrounding_top_textsize">18px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom_left_textsize">20px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom_right_textsize">16px</dimen>
|
||||
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user