element-ios/Riot/Modules/UserDevices/Views/DeviceTableViewCell.xib

92 lines
8.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
<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="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="L2L-l5-wPx" customClass="DeviceTableViewCell">
<rect key="frame" x="0.0" y="0.0" width="600" height="80"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="L2L-l5-wPx" id="aXz-IR-jj5">
<rect key="frame" x="0.0" y="0.0" width="600" height="79.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Lg1-xQ-AGn">
<rect key="frame" x="15" y="12" width="34" height="21"/>
<accessibility key="accessibilityConfiguration" identifier="DeviceTableViewCellDeviceName"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="e2e_verified" translatesAutoresizingMaskIntoConstraints="NO" id="z0D-Vp-W1P">
<rect key="frame" x="557" y="8" width="28" height="28"/>
<accessibility key="accessibilityConfiguration" identifier="DeviceTableViewCellDeviceStatus"/>
<constraints>
<constraint firstAttribute="width" constant="28" id="hgW-Sz-wvj"/>
<constraint firstAttribute="height" constant="28" id="pAK-bq-kQo"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eGB-gc-djy">
<rect key="frame" x="30" y="39" width="240" height="32"/>
<color key="backgroundColor" red="0.028153735480000001" green="0.82494870580000002" blue="0.051896891280000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<accessibility key="accessibilityConfiguration" identifier="DeviceTableViewCellVerifyButton"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
<state key="normal" title="Button">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="onButtonPressed:" destination="L2L-l5-wPx" eventType="touchUpInside" id="w73-jF-wNt"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5oI-dt-g7V">
<rect key="frame" x="330" y="39" width="240" height="32"/>
<color key="backgroundColor" red="0.028153735480000001" green="0.82494870580000002" blue="0.051896891280000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<accessibility key="accessibilityConfiguration" identifier="DeviceTableViewCellBlockButton"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
<state key="normal" title="Button">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="onButtonPressed:" destination="L2L-l5-wPx" eventType="touchUpInside" id="e8K-NE-gUP"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstItem="Lg1-xQ-AGn" firstAttribute="leading" secondItem="aXz-IR-jj5" secondAttribute="leading" constant="15" id="1PJ-2K-miy"/>
<constraint firstItem="Lg1-xQ-AGn" firstAttribute="top" secondItem="aXz-IR-jj5" secondAttribute="top" constant="12" id="6ka-Ly-Do9"/>
<constraint firstItem="z0D-Vp-W1P" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Lg1-xQ-AGn" secondAttribute="trailing" constant="8" id="7Zd-Db-aId"/>
<constraint firstAttribute="centerX" secondItem="5oI-dt-g7V" secondAttribute="centerX" multiplier="2/3" id="NQR-Ta-zo1"/>
<constraint firstAttribute="bottom" secondItem="5oI-dt-g7V" secondAttribute="bottom" constant="8" id="NbU-LJ-hiH"/>
<constraint firstItem="eGB-gc-djy" firstAttribute="top" secondItem="Lg1-xQ-AGn" secondAttribute="bottom" constant="6" id="P7Q-m8-H9P"/>
<constraint firstAttribute="bottom" secondItem="eGB-gc-djy" secondAttribute="bottom" constant="8" id="ekj-od-I4c"/>
<constraint firstItem="5oI-dt-g7V" firstAttribute="top" secondItem="Lg1-xQ-AGn" secondAttribute="bottom" constant="6" id="iTX-g9-8jX"/>
<constraint firstItem="eGB-gc-djy" firstAttribute="width" secondItem="aXz-IR-jj5" secondAttribute="width" multiplier="0.4" id="jKx-IF-CXe"/>
<constraint firstAttribute="trailing" secondItem="z0D-Vp-W1P" secondAttribute="trailing" constant="15" id="oZI-9V-Jkt"/>
<constraint firstAttribute="centerX" secondItem="eGB-gc-djy" secondAttribute="centerX" multiplier="2" id="sIM-W6-ux0"/>
<constraint firstItem="5oI-dt-g7V" firstAttribute="width" secondItem="eGB-gc-djy" secondAttribute="width" id="x7l-cf-BvM"/>
<constraint firstItem="z0D-Vp-W1P" firstAttribute="centerY" secondItem="Lg1-xQ-AGn" secondAttribute="centerY" id="zHp-MT-UL5"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<accessibility key="accessibilityConfiguration" identifier="DeviceTableViewCell"/>
<connections>
<outlet property="blockButton" destination="5oI-dt-g7V" id="dLU-hm-XrV"/>
<outlet property="deviceName" destination="Lg1-xQ-AGn" id="Dn5-jH-AV1"/>
<outlet property="deviceStatus" destination="z0D-Vp-W1P" id="Cut-fZ-mCj"/>
<outlet property="verifyButton" destination="eGB-gc-djy" id="d5e-BO-g6J"/>
</connections>
</tableViewCell>
</objects>
<resources>
<image name="e2e_verified" width="10" height="12"/>
</resources>
</document>