mobile-ios/CovidSafe/ExternalLinkTableViewCell.xib
2021-02-02 11:04:43 +11:00

84 lines
7.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17506" 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="17505"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<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"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="77" id="KGk-i7-Jjw" customClass="ExternalLinkTableViewCell" customModule="COVIDSafe" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="320" height="77"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" 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="77"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="ybd-ag-PXh">
<rect key="frame" x="16" y="10" width="288" height="50"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PLC-u3-BfU">
<rect key="frame" x="0.0" y="0.0" width="40" height="50"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="alert-triangle" translatesAutoresizingMaskIntoConstraints="NO" id="rwX-hi-iWJ">
<rect key="frame" x="8" y="8" width="24" height="34"/>
</imageView>
</subviews>
<color key="backgroundColor" red="0.7843137255" green="1" blue="0.72549019609999998" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="rwX-hi-iWJ" secondAttribute="trailing" constant="8" id="0jh-eu-MA5"/>
<constraint firstAttribute="bottom" secondItem="rwX-hi-iWJ" secondAttribute="bottom" constant="8" id="C3p-gd-E1F"/>
<constraint firstAttribute="width" constant="40" id="UjA-SM-P9W"/>
<constraint firstItem="rwX-hi-iWJ" firstAttribute="leading" secondItem="PLC-u3-BfU" secondAttribute="leading" constant="8" id="eMX-eP-gug"/>
<constraint firstAttribute="height" constant="40" id="kej-RN-oo8"/>
<constraint firstItem="rwX-hi-iWJ" firstAttribute="top" secondItem="PLC-u3-BfU" secondAttribute="top" constant="8" id="wZw-KN-PYj"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="20"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
<label opaque="NO" contentMode="left" horizontalHuggingPriority="200" horizontalCompressionResistancePriority="200" text="Hotspots in NSW" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="k2D-Ul-jdS">
<rect key="frame" x="55" y="0.0" width="168" height="50"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleTitle3"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" horizontalCompressionResistancePriority="250" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ypk-nf-Mkv" userLabel="RefreshNow">
<rect key="frame" x="238" y="0.0" width="50" height="50"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" id="C4O-hY-yNv"/>
</constraints>
<state key="normal" image="external-link">
<color key="titleColor" red="0.0" green="0.40000000000000002" blue="0.1058823529" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="openExternalLinkTapped:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="gjX-7y-fUr"/>
</connections>
</button>
</subviews>
</stackView>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="ybd-ag-PXh" secondAttribute="trailing" constant="16" id="LtM-XV-Xf3"/>
<constraint firstAttribute="bottom" secondItem="ybd-ag-PXh" secondAttribute="bottom" constant="10" id="OQV-Vr-ozK"/>
<constraint firstItem="ybd-ag-PXh" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="PvT-hU-FBL"/>
<constraint firstItem="ybd-ag-PXh" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="m6p-E1-DsF"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="cellImage" destination="rwX-hi-iWJ" id="icP-Na-PbG"/>
<outlet property="linkDescription" destination="k2D-Ul-jdS" id="Reo-hM-25j"/>
</connections>
<point key="canvasLocation" x="140.57971014492756" y="78.683035714285708"/>
</tableViewCell>
</objects>
<resources>
<image name="alert-triangle" width="24" height="24"/>
<image name="external-link" width="24" height="24"/>
</resources>
</document>