Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorv.mikhaylenko <v.mikhaylenko@corp.mail.ru>2015-08-10 17:14:09 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:00:32 +0300
commit5fa3fa82b98b325338ca08e95ddc040ba758e23c (patch)
treec257392baedae64ec93e998f624c1483b5b1a8e9 /iphone/Maps/Classes/PlacePageActionBar.xib
parent46ce528e789c8155fabdd74ab713e311c853f56c (diff)
[ios] Added back API button to place page.
Diffstat (limited to 'iphone/Maps/Classes/PlacePageActionBar.xib')
-rw-r--r--iphone/Maps/Classes/PlacePageActionBar.xib85
1 files changed, 56 insertions, 29 deletions
diff --git a/iphone/Maps/Classes/PlacePageActionBar.xib b/iphone/Maps/Classes/PlacePageActionBar.xib
index 6723610bec..173b5ba95c 100644
--- a/iphone/Maps/Classes/PlacePageActionBar.xib
+++ b/iphone/Maps/Classes/PlacePageActionBar.xib
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14E46" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14D131" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
@@ -11,30 +11,43 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="58"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="Jtm-w6-q1e" userLabel="ShareButton">
- <rect key="frame" x="18" y="0.0" width="83" height="46"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES"/>
- <state key="normal" image="ic_share">
+ <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="pZD-rg-W4y" userLabel="BackButton">
+ <rect key="frame" x="0.0" y="0.0" width="80" height="46"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/>
+ <state key="normal" image="ic_back_api">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
- <state key="highlighted" image="ic_share_pressed"/>
+ <state key="highlighted" image="ic_back_api_pressed"/>
<connections>
- <action selector="shareTap" destination="iN0-l3-epB" eventType="touchUpInside" id="PGT-Ie-Gmr"/>
+ <action selector="backTap" destination="iN0-l3-epB" eventType="touchUpInside" id="C4S-yq-52j"/>
</connections>
</button>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="66j-hn-azO" userLabel="SaveButton">
- <rect key="frame" x="118" y="0.0" width="83" height="46"/>
+ <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Back" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="ZeH-u1-ky5" userLabel="BackLabel">
+ <rect key="frame" x="0.0" y="37" width="80" height="13"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/>
- <state key="normal" title="" image="ic_bookmarks_off"/>
- <state key="selected" image="ic_bookmarks_on"/>
- <state key="highlighted" image="ic_bookmarks_off_pressed"/>
+ <fontDescription key="fontDescription" type="system" pointSize="10"/>
+ <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="localizedText" value="back"/>
+ <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/>
+ <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular10"/>
+ </userDefinedRuntimeAttributes>
+ </label>
+ <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="Jtm-w6-q1e" userLabel="ShareButton">
+ <rect key="frame" x="80" y="0.0" width="80" height="46"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/>
+ <state key="normal" image="ic_share">
+ <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
+ </state>
+ <state key="highlighted" image="ic_share_pressed"/>
<connections>
- <action selector="bookmarkTap:" destination="iN0-l3-epB" eventType="touchUpInside" id="sTn-J9-JAv"/>
+ <action selector="shareTap" destination="iN0-l3-epB" eventType="touchUpInside" id="PGT-Ie-Gmr"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Share" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="4Hy-ie-rSK">
- <rect key="frame" x="22" y="38" width="75" height="13"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES"/>
+ <rect key="frame" x="80" y="37" width="80" height="13"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="10"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
@@ -44,8 +57,18 @@
<userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular10"/>
</userDefinedRuntimeAttributes>
</label>
+ <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="66j-hn-azO" userLabel="SaveButton">
+ <rect key="frame" x="160" y="0.0" width="80" height="46"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/>
+ <state key="normal" title="" image="ic_bookmarks_off"/>
+ <state key="selected" image="ic_bookmarks_on"/>
+ <state key="highlighted" image="ic_bookmarks_off_pressed"/>
+ <connections>
+ <action selector="bookmarkTap:" destination="iN0-l3-epB" eventType="touchUpInside" id="sTn-J9-JAv"/>
+ </connections>
+ </button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Save" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="niS-Il-TNU">
- <rect key="frame" x="122" y="37" width="75" height="13"/>
+ <rect key="frame" x="160" y="37" width="80" height="13"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="10"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="calibratedRGB"/>
@@ -56,9 +79,20 @@
<userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular10"/>
</userDefinedRuntimeAttributes>
</label>
+ <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="6cp-1o-ehc" userLabel="RouteButton">
+ <rect key="frame" x="240" y="0.0" width="80" height="46"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/>
+ <state key="normal" image="ic_route">
+ <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
+ </state>
+ <state key="highlighted" image="ic_route_pressed"/>
+ <connections>
+ <action selector="routeTap" destination="iN0-l3-epB" eventType="touchUpInside" id="mAp-BH-2qW"/>
+ </connections>
+ </button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Route" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="OOE-NW-gUw">
- <rect key="frame" x="225" y="37" width="75" height="13"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES"/>
+ <rect key="frame" x="240" y="37" width="80" height="13"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="10"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
@@ -73,17 +107,6 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.12" colorSpace="custom" customColorSpace="sRGB"/>
</view>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="6cp-1o-ehc" userLabel="RouteButton">
- <rect key="frame" x="221" y="0.0" width="83" height="46"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES"/>
- <state key="normal" image="ic_route">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <state key="highlighted" image="ic_route_pressed"/>
- <connections>
- <action selector="routeTap" destination="iN0-l3-epB" eventType="touchUpInside" id="mAp-BH-2qW"/>
- </connections>
- </button>
</subviews>
<color key="backgroundColor" red="0.96078431372549022" green="0.96078431372549022" blue="0.96078431372549022" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="simulatedStatusBarMetrics"/>
@@ -92,6 +115,8 @@
<userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="pressBackground"/>
</userDefinedRuntimeAttributes>
<connections>
+ <outlet property="apiBackButton" destination="pZD-rg-W4y" id="Bnq-xK-0a9"/>
+ <outlet property="apiBackLabel" destination="ZeH-u1-ky5" id="bNt-BX-H3q"/>
<outlet property="bookmarkButton" destination="66j-hn-azO" id="uBJ-zf-YgW"/>
<outlet property="bookmarkLabel" destination="niS-Il-TNU" id="q0I-39-OWe"/>
<outlet property="routeButton" destination="6cp-1o-ehc" id="qSO-u1-8px"/>
@@ -103,6 +128,8 @@
</view>
</objects>
<resources>
+ <image name="ic_back_api" width="24" height="24"/>
+ <image name="ic_back_api_pressed" width="16" height="16"/>
<image name="ic_bookmarks_off" width="24" height="24"/>
<image name="ic_bookmarks_off_pressed" width="22" height="20"/>
<image name="ic_bookmarks_on" width="24" height="24"/>