diff options
author | Ilya Grechuhin <i.grechuhin@mapswithme.com> | 2015-09-14 17:39:38 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:05:33 +0300 |
commit | 6dbf166f7aac84fa5bb3ad6f2752ea9f2ee545d2 (patch) | |
tree | b2bfb3b358c9e1107485fd2875a5926e48430671 /iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/BookmarksTab/MWMSearchBookmarksCell.xib | |
parent | 2f419213ce9057b31db261ac270bca6ece307e37 (diff) |
[ios] Added search UI v2.0.
Diffstat (limited to 'iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/BookmarksTab/MWMSearchBookmarksCell.xib')
-rw-r--r-- | iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/BookmarksTab/MWMSearchBookmarksCell.xib | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/BookmarksTab/MWMSearchBookmarksCell.xib b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/BookmarksTab/MWMSearchBookmarksCell.xib new file mode 100644 index 0000000000..b6a7f04182 --- /dev/null +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/BookmarksTab/MWMSearchBookmarksCell.xib @@ -0,0 +1,113 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES"> + <dependencies> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/> + </dependencies> + <objects> + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="MWMSearchBookmarksCell" id="KGk-i7-Jjw" customClass="MWMSearchBookmarksCell"> + <rect key="frame" x="0.0" y="0.0" width="320" height="44"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <tableViewCellContentView key="contentView" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM"> + <rect key="frame" x="0.0" y="0.0" width="320" height="43"/> + <autoresizingMask key="autoresizingMask"/> + <subviews> + <button opaque="NO" contentMode="center" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aNc-6m-i8r" userLabel="VisibilityButton"> + <rect key="frame" x="0.0" y="0.0" width="60" height="44"/> + <constraints> + <constraint firstAttribute="width" constant="60" id="g2n-JI-FYq"/> + </constraints> + <state key="normal" image="ic_hide_light"> + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> + </state> + <state key="selected" image="ic_show_light"/> + <connections> + <action selector="toggleVisibility" destination="KGk-i7-Jjw" eventType="touchUpInside" id="kEx-DN-uuu"/> + </connections> + </button> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="My Places" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="180" translatesAutoresizingMaskIntoConstraints="NO" id="C8a-9A-ijG" userLabel="Title" customClass="MWMMultilineLabel"> + <rect key="frame" x="60" y="12" width="180" height="20"/> + <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> + <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> + </userDefinedRuntimeAttributes> + </label> + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jI8-wj-W4t" userLabel="Separator"> + <rect key="frame" x="60" y="43" width="260" height="1"/> + <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.12" colorSpace="calibratedRGB"/> + <constraints> + <constraint firstAttribute="height" constant="1" id="CQ9-Xa-g1C"/> + </constraints> + </view> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="3" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5ca-Zu-8k4" userLabel="BookmarksCount"> + <rect key="frame" x="244" y="14" width="40" height="16"/> + <constraints> + <constraint firstAttribute="width" constant="40" id="5tD-8h-iTV"/> + <constraint firstAttribute="height" constant="16" id="Ees-st-iT9"/> + </constraints> + <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="14"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> + <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/> + </userDefinedRuntimeAttributes> + </label> + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_carrot_light" translatesAutoresizingMaskIntoConstraints="NO" id="obB-B0-hzq" userLabel="OpenArrow"> + <rect key="frame" x="284" y="8" width="28" height="28"/> + <constraints> + <constraint firstAttribute="height" constant="28" id="G3F-hb-qym"/> + <constraint firstAttribute="width" constant="28" id="c9g-F6-qp8"/> + </constraints> + </imageView> + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oya-sL-CmM" userLabel="OpenButton"> + <rect key="frame" x="60" y="0.0" width="260" height="43"/> + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> + <state key="normal"> + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> + </state> + <connections> + <action selector="openBookmarks" destination="KGk-i7-Jjw" eventType="touchUpInside" id="ZFR-Zb-STa"/> + </connections> + </button> + </subviews> + <constraints> + <constraint firstAttribute="bottom" secondItem="aNc-6m-i8r" secondAttribute="bottom" id="7An-wA-kIp"/> + <constraint firstItem="5ca-Zu-8k4" firstAttribute="leading" secondItem="C8a-9A-ijG" secondAttribute="trailing" constant="4" id="A9e-7h-xhc"/> + <constraint firstItem="obB-B0-hzq" firstAttribute="leading" secondItem="5ca-Zu-8k4" secondAttribute="trailing" id="MLa-5I-VK8"/> + <constraint firstAttribute="centerY" secondItem="5ca-Zu-8k4" secondAttribute="centerY" id="PvB-UY-BHT"/> + <constraint firstItem="C8a-9A-ijG" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="12" id="RQK-Vh-9QV"/> + <constraint firstAttribute="centerY" secondItem="obB-B0-hzq" secondAttribute="centerY" id="RsM-af-CzV"/> + <constraint firstItem="jI8-wj-W4t" firstAttribute="top" secondItem="oya-sL-CmM" secondAttribute="bottom" id="SMP-Xq-yYT"/> + <constraint firstItem="jI8-wj-W4t" firstAttribute="leading" secondItem="C8a-9A-ijG" secondAttribute="leading" id="Tw3-pC-BHB"/> + <constraint firstAttribute="trailing" secondItem="obB-B0-hzq" secondAttribute="trailing" constant="8" id="URM-GC-wU3"/> + <constraint firstItem="jI8-wj-W4t" firstAttribute="leading" secondItem="oya-sL-CmM" secondAttribute="leading" id="UpO-nL-Km5"/> + <constraint firstAttribute="trailing" secondItem="jI8-wj-W4t" secondAttribute="trailing" id="a3j-02-ixe"/> + <constraint firstItem="oya-sL-CmM" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="dPf-Hy-Y5t"/> + <constraint firstAttribute="trailing" secondItem="oya-sL-CmM" secondAttribute="trailing" id="lIR-Mi-9dY"/> + <constraint firstAttribute="bottom" secondItem="jI8-wj-W4t" secondAttribute="bottom" id="ozZ-bY-T8b"/> + <constraint firstItem="aNc-6m-i8r" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="rPE-bc-2W5"/> + <constraint firstItem="oya-sL-CmM" firstAttribute="leading" secondItem="aNc-6m-i8r" secondAttribute="trailing" id="tlg-eC-xfe"/> + <constraint firstAttribute="bottom" secondItem="C8a-9A-ijG" secondAttribute="bottom" constant="12" id="uqy-Ik-W0e"/> + <constraint firstItem="aNc-6m-i8r" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="xpT-y7-ntU"/> + </constraints> + </tableViewCellContentView> + <connections> + <outlet property="countLabel" destination="5ca-Zu-8k4" id="USR-pA-xLd"/> + <outlet property="openArrow" destination="obB-B0-hzq" id="IMl-hQ-e7y"/> + <outlet property="titleLabel" destination="C8a-9A-ijG" id="XUf-wc-IPr"/> + <outlet property="visibilityButton" destination="aNc-6m-i8r" id="YkK-Ai-2cV"/> + </connections> + </tableViewCell> + </objects> + <resources> + <image name="ic_carrot_light" width="28" height="28"/> + <image name="ic_hide_light" width="28" height="28"/> + <image name="ic_show_light" width="28" height="28"/> + </resources> +</document> |