diff options
author | Dmitry Yunitsky <yunik@mapswithme.com> | 2015-02-20 15:35:54 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:37:49 +0300 |
commit | ad38b44fa7102d0546b9c3a6cf5f13402382687b (patch) | |
tree | 80f8352f56ee7676aa09858cc03db64bdcd1afbf /android/res/layout-sw600dp-land | |
parent | 0bd8679b739f7ce3e6f9a71c1270ee63afefc240 (diff) |
Proper animations for 7-inch tablets in portrait.
Diffstat (limited to 'android/res/layout-sw600dp-land')
-rw-r--r-- | android/res/layout-sw600dp-land/details_place_page.xml | 297 | ||||
-rw-r--r-- | android/res/layout-sw600dp-land/map.xml | 136 |
2 files changed, 433 insertions, 0 deletions
diff --git a/android/res/layout-sw600dp-land/details_place_page.xml b/android/res/layout-sw600dp-land/details_place_page.xml new file mode 100644 index 0000000000..b55e6cc9f7 --- /dev/null +++ b/android/res/layout-sw600dp-land/details_place_page.xml @@ -0,0 +1,297 @@ +<?xml version="1.0" encoding="utf-8"?> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@android:color/white" + android:orientation="vertical"> + + <LinearLayout + android:id="@+id/rl__place_details" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:padding="@dimen/margin_medium_and_half"> + + <LinearLayout + android:id="@+id/ll__place_name" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <ImageView + android:id="@+id/iv__place_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="@dimen/margin_large" + android:src="@drawable/ic_text_adress"/> + + <TextView + android:id="@+id/tv__place_address" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_toRightOf="@id/iv__place_name" + android:text="Some address" + android:textColor="@color/text_place_page" + android:textSize="@dimen/place_page_subtitle"/> + </LinearLayout> + + + <LinearLayout + android:id="@+id/ll__place_phone" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/margin_small" + android:background="?attr/clickableBackground" + android:orientation="horizontal" + android:paddingBottom="@dimen/margin_small" + android:paddingTop="@dimen/margin_small"> + + <ImageView + android:id="@+id/iv__place_phone" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="@dimen/margin_large" + android:src="@drawable/ic_text_phone"/> + + <TextView + android:id="@+id/tv__place_phone" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="9119992" + android:textColor="@color/text_place_page_blue" + android:textSize="@dimen/place_page_subtitle"/> + </LinearLayout> + + + <LinearLayout + android:id="@+id/ll__place_website" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/clickableBackground" + android:orientation="horizontal" + android:paddingBottom="@dimen/margin_small" + android:paddingTop="@dimen/margin_small"> + + <ImageView + android:id="@+id/iv__place_website" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="@dimen/margin_large" + android:src="@drawable/ic_text_link"/> + + <TextView + android:id="@+id/tv__place_website" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="www.test.com" + android:textColor="@color/text_place_page_blue" + android:textSize="@dimen/place_page_subtitle"/> + </LinearLayout> + + <LinearLayout + android:id="@+id/ll__place_schedule" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/clickableBackground" + android:orientation="horizontal" + android:paddingBottom="@dimen/margin_small" + android:paddingTop="@dimen/margin_small"> + + <ImageView + android:id="@+id/iv__place_schedule" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="@dimen/margin_large" + android:src="@drawable/ic_text_worktime"/> + + <TextView + android:id="@+id/tv__place_schedule" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Пн-Пт 10:00-23:00" + android:textColor="@color/text_place_page" + android:textSize="@dimen/place_page_subtitle"/> + </LinearLayout> + + <LinearLayout + android:id="@+id/ll__place_latlon" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/clickableBackground" + android:orientation="horizontal" + android:paddingBottom="@dimen/margin_small" + android:paddingTop="@dimen/margin_small"> + + <ImageView + android:id="@+id/iv__place_latlon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="@dimen/margin_large" + android:src="@drawable/ic_text_position"/> + + <TextView + android:id="@+id/tv__place_latlon" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="31.21345, 2.234 235" + android:textColor="@color/text_place_page" + android:textSize="@dimen/place_page_subtitle"/> + </LinearLayout> + + + <LinearLayout + android:id="@+id/ll__place_wifi" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/margin_medium" + android:orientation="horizontal"> + + <ImageView + android:id="@+id/iv__place_wifi" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="@dimen/margin_large" + android:src="@drawable/ic_text_wifi"/> + + <TextView + android:id="@+id/tv__place_wifi" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Yes" + android:textColor="@color/text_place_page" + android:textSize="@dimen/place_page_subtitle"/> + </LinearLayout> + + <View + android:layout_width="match_parent" + android:layout_height="1px" + android:layout_marginTop="@dimen/margin_medium_and_half" + android:background="?attr/dividerHorizontal"/> + + <RelativeLayout + android:id="@+id/rl__bookmark_details" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/margin_medium_and_half"> + + <ImageView + android:id="@+id/iv__bookmark" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="@dimen/margin_large" + android:src="@drawable/ic_text_bookmark"/> + + <TextView + android:id="@+id/tv__bookmark_title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignTop="@id/iv__bookmark" + android:layout_toRightOf="@id/iv__bookmark" + android:lineSpacingMultiplier="1.67" + android:text="Name" + android:textColor="@color/text_place_page_subtitle" + android:textSize="@dimen/place_page_sub_subtitle"/> + + <EditText + android:id="@+id/et__bookmark_name" + style="@style/PlaceEditableParam" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/tv__bookmark_title" + android:layout_marginTop="@dimen/margin_tiny" + android:layout_toRightOf="@id/iv__bookmark" + android:hint="@string/name" + android:inputType="textCapWords" + android:lineSpacingMultiplier="1.43" + android:singleLine="true" + android:textColor="@color/text_place_page" + android:textSize="@dimen/place_page_subtitle"/> + + <View + android:layout_width="match_parent" + android:layout_height="1px" + android:layout_below="@id/et__bookmark_name" + android:layout_marginTop="@dimen/margin_small" + android:background="?attr/dividerHorizontal"/> + + <TextView + android:id="@+id/tv__bookmark_group_title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/et__bookmark_name" + android:layout_marginTop="@dimen/margin_medium_and_half" + android:layout_toRightOf="@id/iv__bookmark" + android:lineSpacingMultiplier="1.67" + android:text="Group" + android:textColor="@color/text_place_page_subtitle" + android:textSize="@dimen/place_page_sub_subtitle"/> + + <LinearLayout + android:id="@+id/ll__group" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/tv__bookmark_group_title" + android:layout_marginTop="@dimen/margin_tiny" + android:layout_toRightOf="@id/iv__bookmark" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <TextView + android:id="@+id/tv__bookmark_group" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:drawableRight="@drawable/ic_arrow_down" + android:lineSpacingMultiplier="1.43" + android:paddingRight="@dimen/margin_small" + android:text="Great group" + android:textColor="@color/text_place_page" + android:textSize="@dimen/place_page_subtitle"/> + + <ImageView + android:id="@+id/iv__bookmark_color" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/margin_medium" + android:src="@drawable/color_picker_red_on"/> + </LinearLayout> + + <View + android:layout_width="match_parent" + android:layout_height="1px" + android:layout_below="@id/ll__group" + android:layout_marginTop="@dimen/margin_small" + android:background="?android:attr/listDivider"/> + + <TextView + android:id="@+id/tv__bookmark_notes_title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/ll__group" + android:layout_marginTop="@dimen/margin_medium" + android:layout_toRightOf="@id/iv__bookmark" + android:lineSpacingMultiplier="1.67" + android:text="Notes" + android:textColor="@color/text_place_page_subtitle" + android:textSize="@dimen/place_page_sub_subtitle"/> + + <EditText + android:id="@+id/et__bookmark_notes" + style="@style/PlaceEditableParam" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/tv__bookmark_notes_title" + android:layout_marginTop="@dimen/margin_tiny" + android:layout_toRightOf="@id/iv__bookmark" + android:background="@null" + android:hint="Notes" + android:inputType="text" + android:lineSpacingMultiplier="1.43" + android:singleLine="true" + android:textColor="@color/text_place_page" + android:textSize="@dimen/place_page_subtitle"/> + </RelativeLayout> + + </LinearLayout> + +</ScrollView>
\ No newline at end of file diff --git a/android/res/layout-sw600dp-land/map.xml b/android/res/layout-sw600dp-land/map.xml new file mode 100644 index 0000000000..47878ae1d7 --- /dev/null +++ b/android/res/layout-sw600dp-land/map.xml @@ -0,0 +1,136 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="bottom"> + + <android.view.SurfaceView + android:id="@+id/map_surfaceview" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="bottom|center_horizontal" + android:background="@android:color/transparent"/> + + <com.mapswithme.maps.widget.placepage.PlacePageView + android:id="@+id/info_box" + android:layout_width="@dimen/panel_width" + android:layout_height="wrap_content" + android:layout_below="@+id/toolbar_search" + android:layout_margin="@dimen/margin_medium"/> + + <RelativeLayout + android:id="@+id/rl__routing_box" + style="@style/MwmLightShadow" + android:layout_width="@dimen/panel_width" + android:layout_height="@dimen/routing_pp_height" + android:layout_below="@+id/toolbar_search" + android:layout_margin="@dimen/margin_medium" + android:background="@drawable/ic_bg_pp"> + + <RelativeLayout + android:id="@+id/rl__routing_go" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_alignParentBottom="true" + android:layout_toLeftOf="@+id/iv__routing_close"> + + <TextView + android:id="@+id/tv__routing_go" + android:layout_width="wrap_content" + android:layout_height="@dimen/routing_button_height" + android:layout_centerVertical="true" + android:background="?attr/clickableBackground" + android:gravity="bottom" + android:includeFontPadding="false" + android:paddingBottom="10dp" + android:paddingLeft="18dp" + android:paddingRight="18dp" + android:text="@string/routing_go" + android:textColor="@color/downloader_green" + android:textSize="18sp"/> + + <View + android:layout_width="20dp" + android:layout_height="2dp" + android:layout_alignLeft="@id/tv__routing_go" + android:layout_alignParentBottom="true" + android:layout_alignRight="@id/tv__routing_go" + android:background="@color/downloader_green"/> + + </RelativeLayout> + + <ImageView + android:id="@+id/iv__routing_close" + android:layout_width="@dimen/routing_button_width" + android:layout_height="@dimen/routing_button_height" + android:layout_alignParentRight="true" + android:layout_centerVertical="true" + android:background="?attr/clickableBackground" + android:padding="@dimen/margin_medium" + android:scaleType="center" + android:src="@drawable/ic_close_routing"/> + + <TextView + android:id="@+id/tv__routing_distance" + style="@style/TextAppearance.AppCompat.Large" + android:layout_width="wrap_content" + android:layout_height="@dimen/routing_button_height" + android:layout_centerVertical="true" + android:gravity="bottom" + android:includeFontPadding="false" + android:paddingBottom="1dp" + android:paddingLeft="10dp" + android:paddingRight="9dp"/> + </RelativeLayout> + + <include + android:id="@+id/layout__turn_instructions" + layout="@layout/map_turn_instructions" + android:layout_width="@dimen/panel_width" + android:layout_height="@dimen/routing_pp_height" + android:layout_below="@+id/toolbar_search" + android:layout_margin="@dimen/margin_medium" + android:visibility="gone"/> + + <include + android:id="@+id/navigation_buttons_container_ref" + layout="@layout/map_navigation_buttons" + android:layout_width="wrap_content" + android:layout_height="match_parent"/> + + <ImageView + android:id="@+id/fade_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:src="@android:color/black" + android:visibility="gone"/> + + <FrameLayout + android:id="@+id/fragment_container" + android:layout_width="@dimen/panel_width" + android:layout_height="match_parent" + android:layout_margin="@dimen/margin_medium"/> + + <include + android:id="@+id/toolbar_search" + layout="@layout/toolbar_with_search" + android:layout_width="@dimen/panel_width" + android:layout_height="?attr/actionBarSize" + android:layout_margin="@dimen/margin_medium"/> + + <include + android:id="@+id/map_bottom_toolbar" + layout="@layout/map_bottom_toolbar" + android:layout_width="@dimen/bottom_panel_width" + android:layout_height="280dp" + android:layout_alignParentBottom="true" + android:layout_alignParentRight="true"/> + + <include + android:id="@+id/map_bottom_vertical_toolbar" + layout="@layout/map_bottom_vertical_toolbar" + android:layout_width="@dimen/panel_width" + android:layout_height="wrap_content" + android:layout_margin="@dimen/margin_medium"/> + +</RelativeLayout>
\ No newline at end of file |