tmap/res/layout/dialog_draw_map_info_callout.xml
2022-06-10 21:38:30 +09:00

18 lines
3.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/rootMapInfoCallOut" android:background="@drawable/bg_popup_box" android:paddingLeft="@dimen/tmap_10dp" android:paddingTop="@dimen/tmap_8dp" android:paddingRight="@dimen/tmap_10dp" android:paddingBottom="@dimen/tmap_13dp" android:layout_width="@dimen/tmap_332dp" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:id="@id/mapInfoCalloutTopLayout" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/tmap_25dp" android:layout_marginBottom="@dimen/tmap_25dp">
<ImageButton android:id="@id/mapInfoCalloutFavoriteCKB" android:background="@null" android:layout_width="@dimen/tmap_22dp" android:layout_height="@dimen/tmap_22dp" android:layout_marginLeft="@dimen/tmap_20dp" android:src="@drawable/selector_favorite_star" android:layout_centerVertical="true" />
<LinearLayout android:id="@id/mapInfoCallOutDetailLayout" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/tmap_20dp" android:layout_alignParentRight="true" android:layout_centerVertical="true">
<TextView android:textSize="@dimen/tmap_12dp" android:textColor="@drawable/map_callout_popup_detail_color_selector" android:gravity="center" android:id="@id/mapInfoCalloutDetailTV" android:background="@drawable/search_result_list_detail_bg" android:layout_width="@dimen/tmap_42dp" android:layout_height="@dimen/tmap_27dp" android:text="@string/txt_detail" android:fontFamily="@font/skp_go_mm" />
</LinearLayout>
<TextView android:textSize="@dimen/tmap_18dp" android:textColor="@color/color_000000" android:ellipsize="end" android:gravity="center_vertical" android:id="@id/mapInfoCalloutTitleIV" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/tmap_5dp" android:layout_marginRight="@dimen/tmap_15dp" android:maxLines="2" android:layout_toLeftOf="@id/mapInfoCallOutDetailLayout" android:layout_toRightOf="@id/mapInfoCalloutFavoriteCKB" android:layout_centerVertical="true" android:lineSpacingExtra="@dimen/tmap_6dp" />
</RelativeLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/mapInfoCalloutBottomLayout" android:layout_width="fill_parent" android:layout_height="@dimen/tmap_50dp">
<TextView android:textSize="@dimen/tmap_16dp" android:textColor="@color/tmap_common_popup_button_color" android:gravity="center" android:id="@id/mapInfoCalloutStartPointTV" android:background="@drawable/btn_popup_left_selector" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/search_map_start" android:layout_weight="1.0" />
<ImageView android:id="@id/mapInfoDlgDivider01" android:background="@color/color_999999" android:layout_width="1.0px" android:layout_height="fill_parent" />
<TextView android:textSize="@dimen/tmap_16dp" android:textColor="@color/tmap_common_popup_button_color" android:gravity="center" android:id="@id/mapInfoCalloutRoutePointTV" android:background="@drawable/btn_popup_3_button_center_selector" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/search_map_route" android:layout_weight="1.0" />
<ImageView android:id="@id/mapInfoDlgDivider02" android:background="@color/color_999999" android:layout_width="1.0px" android:layout_height="fill_parent" />
<TextView android:textSize="@dimen/tmap_16dp" android:textColor="@color/tmap_common_popup_button_color" android:gravity="center" android:id="@id/mapInfoCalloutDesPointTV" android:background="@drawable/btn_popup_3_button_right_selector" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/search_map_goal" android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>