element-ios/Riot/Modules/Room/TimelineCells/LocationView/LocationMarkerView.xib

76 lines
6.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="iN0-l3-epB" customClass="LocationMarkerView" customModule="Riot" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="42" height="85"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="location_user_marker" translatesAutoresizingMaskIntoConstraints="NO" id="ldO-kc-R5W">
<rect key="frame" x="0.0" y="0.0" width="42" height="45"/>
<color key="tintColor" red="0.050980392159999999" green="0.74117647060000003" blue="0.5450980392" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="width" constant="42" id="R2b-uu-zTh"/>
<constraint firstAttribute="height" constant="45" id="kEu-X4-Zv7"/>
</constraints>
</imageView>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="location_marker_icon" translatesAutoresizingMaskIntoConstraints="NO" id="gQe-Hv-22e">
<rect key="frame" x="9" y="9.5" width="24" height="24"/>
<color key="tintColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="width" constant="24" id="XuF-VU-qG2"/>
<constraint firstAttribute="height" constant="24" id="ejE-pC-umv"/>
</constraints>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qut-wn-BX3" customClass="UserAvatarView" customModule="Riot" customModuleProvider="target">
<rect key="frame" x="3" y="3.5" width="36" height="36"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="36" id="BjG-I5-n8f"/>
<constraint firstAttribute="width" constant="36" id="W3F-Aw-FO3"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KWg-z1-qEd" userLabel="Offset View">
<rect key="frame" x="0.0" y="45" width="42" height="40"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="KWg-z1-qEd" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="0py-1i-Gdf"/>
<constraint firstItem="ldO-kc-R5W" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="5a8-E1-MIa"/>
<constraint firstAttribute="trailing" secondItem="ldO-kc-R5W" secondAttribute="trailing" id="Lln-IS-hLl"/>
<constraint firstItem="qut-wn-BX3" firstAttribute="centerX" secondItem="ldO-kc-R5W" secondAttribute="centerX" id="TUG-aN-usd"/>
<constraint firstItem="KWg-z1-qEd" firstAttribute="height" secondItem="ldO-kc-R5W" secondAttribute="height" constant="-5" id="TlE-3X-R0r"/>
<constraint firstItem="KWg-z1-qEd" firstAttribute="top" secondItem="ldO-kc-R5W" secondAttribute="bottom" id="WYZ-ob-djk"/>
<constraint firstAttribute="bottom" secondItem="KWg-z1-qEd" secondAttribute="bottom" id="Zze-LI-fsw"/>
<constraint firstItem="gQe-Hv-22e" firstAttribute="centerY" secondItem="ldO-kc-R5W" secondAttribute="centerY" constant="-1" id="a7A-n2-rUT"/>
<constraint firstAttribute="trailing" secondItem="KWg-z1-qEd" secondAttribute="trailing" id="ayz-pJ-gK1"/>
<constraint firstItem="KWg-z1-qEd" firstAttribute="width" secondItem="ldO-kc-R5W" secondAttribute="width" id="hy9-K6-5Ss"/>
<constraint firstItem="gQe-Hv-22e" firstAttribute="centerX" secondItem="ldO-kc-R5W" secondAttribute="centerX" id="iSa-mh-J7b"/>
<constraint firstItem="ldO-kc-R5W" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="vFi-tw-CqT"/>
<constraint firstItem="qut-wn-BX3" firstAttribute="centerY" secondItem="ldO-kc-R5W" secondAttribute="centerY" constant="-1" id="xoi-mp-qC5"/>
</constraints>
<nil key="simulatedTopBarMetrics"/>
<nil key="simulatedBottomBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<connections>
<outlet property="avatarView" destination="qut-wn-BX3" id="wHA-bz-A2y"/>
<outlet property="backgroundImageView" destination="ldO-kc-R5W" id="52a-Fs-iu7"/>
</connections>
<point key="canvasLocation" x="58.695652173913047" y="4.6875"/>
</view>
</objects>
<resources>
<image name="location_marker_icon" width="24" height="24"/>
<image name="location_user_marker" width="42" height="45"/>
</resources>
</document>