diff options
author | v.mikhaylenko <v.mikhaylenko@corp.mail.ru> | 2015-05-21 15:46:10 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:52:38 +0300 |
commit | 279e4649433bcbc06e888d557f77d7dd8708fa98 (patch) | |
tree | 2e41fa51f21d070086c2f591287b9ed82cced551 /iphone/Maps/Classes/PlacePageView.xib | |
parent | 9d2141ae12860ba6f587c97ca31d3986be2a4b51 (diff) |
[ios] Added place page for landscape and portrait iPhone. Improved UI.
Diffstat (limited to 'iphone/Maps/Classes/PlacePageView.xib')
-rw-r--r-- | iphone/Maps/Classes/PlacePageView.xib | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/PlacePageView.xib b/iphone/Maps/Classes/PlacePageView.xib new file mode 100644 index 0000000000..6494e53d63 --- /dev/null +++ b/iphone/Maps/Classes/PlacePageView.xib @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14D131" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none"> + <dependencies> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/> + </dependencies> + <objects> + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MWMPlacePage"> + <connections> + <outlet property="anchorImageView" destination="a4c-bA-qa5" id="XxC-0s-K2B"/> + <outlet property="basePlacePageView" destination="8RI-YR-2UD" id="B5i-Do-Hos"/> + <outlet property="extendedPlacePageView" destination="KWK-Ky-ZkL" id="rlo-FR-5wm"/> + </connections> + </placeholder> + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> + <view contentMode="scaleToFill" id="KWK-Ky-ZkL"> + <rect key="frame" x="0.0" y="0.0" width="320" height="498"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> + <subviews> + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bg_placepage_tablet_normal" id="a4c-bA-qa5"> + <rect key="frame" x="0.0" y="0.0" width="320" height="22"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> + </imageView> + <view contentMode="scaleToFill" id="8RI-YR-2UD" customClass="MWMBasePlacePageView"> + <rect key="frame" x="0.0" y="22" width="320" height="468"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Starbucks" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="T1Y-Oq-6fg"> + <rect key="frame" x="16" y="0.0" width="190" height="23"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> + <fontDescription key="fontDescription" type="system" pointSize="24"/> + <color key="textColor" red="0.12549019610000001" green="0.12549019610000001" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + </label> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Кафэ" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="TNu-JO-vJi"> + <rect key="frame" x="16" y="27" width="204" height="17"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <fontDescription key="fontDescription" type="system" weight="light" pointSize="16"/> + <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + </label> + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="img_direction" id="w6w-zO-6d8"> + <rect key="frame" x="272" y="0.0" width="32" height="32"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/> + </imageView> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="500 mi" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="kGT-CI-UsC"> + <rect key="frame" x="207" y="5" width="57" height="21"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/> + <fontDescription key="fontDescription" type="system" weight="light" pointSize="16"/> + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + </label> + <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" allowsSelection="NO" showsSelectionImmediatelyOnTouchBegin="NO" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="hZM-Gs-BbS"> + <rect key="frame" x="0.0" y="60" width="320" height="408"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> + <color key="separatorColor" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="custom" customColorSpace="sRGB"/> + <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="color" keyPath="layer.borderUIColor"> + <color key="value" white="0.0" alpha="0.20000000000000001" colorSpace="calibratedWhite"/> + </userDefinedRuntimeAttribute> + </userDefinedRuntimeAttributes> + </tableView> + </subviews> + <color key="backgroundColor" red="1" green="1" blue="1" alpha="0.94999999999999996" colorSpace="calibratedRGB"/> + <connections> + <outlet property="directionArrow" destination="w6w-zO-6d8" id="1xb-GP-etA"/> + <outlet property="distanceLabel" destination="kGT-CI-UsC" id="xLt-R1-jy2"/> + <outlet property="featureTable" destination="hZM-Gs-BbS" id="iBU-Iq-8go"/> + <outlet property="titleLabel" destination="T1Y-Oq-6fg" id="ifK-nU-q7x"/> + <outlet property="typeLabel" destination="TNu-JO-vJi" id="mWV-cH-KMk"/> + </connections> + </view> + </subviews> + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> + <gestureRecognizers/> + <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> + <connections> + <outletCollection property="gestureRecognizers" destination="CNh-ms-DJN" appends="YES" id="a7I-xG-Nt3"/> + <outletCollection property="gestureRecognizers" destination="elN-ZP-7aG" appends="YES" id="hA4-su-nWV"/> + </connections> + <point key="canvasLocation" x="338" y="118"/> + </view> + <tapGestureRecognizer delaysTouchesBegan="YES" id="CNh-ms-DJN"> + <connections> + <action selector="didTap:" destination="-1" id="fUK-RB-VTF"/> + </connections> + </tapGestureRecognizer> + <panGestureRecognizer delaysTouchesBegan="YES" minimumNumberOfTouches="1" id="elN-ZP-7aG"> + <connections> + <action selector="didPan:" destination="-1" id="9az-sk-kt5"/> + </connections> + </panGestureRecognizer> + </objects> + <resources> + <image name="bg_placepage_tablet_normal" width="320" height="22"/> + <image name="img_direction" width="32" height="32"/> + </resources> + <simulatedMetricsContainer key="defaultSimulatedMetrics"> + <simulatedStatusBarMetrics key="statusBar"/> + <simulatedOrientationMetrics key="orientation"/> + <simulatedScreenMetrics key="destination" type="retina4"/> + </simulatedMetricsContainer> +</document> |