1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@color/g_child_page_bg_color">
- <android.support.design.widget.AppBarLayout
- android:id="@+id/app_bar_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/AppTheme.AppBarOverlay"
- app:elevation="0dp">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="?attr/colorPrimary"
- app:titleTextAppearance="@style/Toolbar.TitleText">
- <include layout="@layout/nim_action_bar_right_clickable_tv" />
- </android.support.v7.widget.Toolbar>
- </android.support.design.widget.AppBarLayout>
- <com.amap.api.maps2d.MapView
- android:id="@+id/autonavi_mapView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@id/app_bar_layout" />
- <ImageView
- android:id="@+id/location_pin"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:src="@drawable/pin" />
- <LinearLayout
- android:id="@+id/location_info"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_above="@+id/location_pin"
- android:layout_centerHorizontal="true"
- android:background="@drawable/marker_info_bg"
- android:orientation="vertical"
- android:paddingLeft="8dp"
- android:paddingRight="8dp"
- android:visibility="gone">
- <TextView
- android:id="@+id/marker_address"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/location_map"
- android:textColor="@color/white"
- android:textSize="12sp" />
- </LinearLayout>
- <Button
- android:id="@+id/my_location"
- android:layout_width="@dimen/friend_map_btn_height"
- android:layout_height="@dimen/friend_map_btn_height"
- android:layout_above="@+id/assist_my_location"
- android:layout_marginLeft="12dip"
- android:background="@drawable/btn_location_selector" />
- <View
- android:id="@+id/assist_my_location"
- android:layout_width="match_parent"
- android:layout_height="24dip"
- android:layout_alignParentBottom="true" />
- </RelativeLayout>
|