element-ios/Riot/Modules/Authentication/SocialLogin/SocialLoginListView.xib

80 lines
6.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17126"/>
<capability name="System colors in document resources" minToolsVersion="11.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"/>
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="SocialLoginListView" customModule="Riot" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="414" height="197"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="Or login with" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aq0-cP-kyj">
<rect key="frame" x="20" y="20" width="374" height="39"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="39" id="3N8-38-YLI"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="S94-Mr-AzH">
<rect key="frame" x="47" y="79" width="320" height="98"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ebn-i5-Ixd">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<color key="backgroundColor" systemColor="linkColor"/>
<constraints>
<constraint firstAttribute="height" constant="44" id="c7I-Vf-smw"/>
</constraints>
<state key="normal" title="Button" image="social_login_button_facebook"/>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7pW-XK-gE7">
<rect key="frame" x="0.0" y="54" width="320" height="44"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="44" id="LRM-mj-KV9"/>
</constraints>
<state key="normal" title="Button" image="social_login_button_github">
<color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
</button>
</subviews>
<constraints>
<constraint firstAttribute="width" priority="750" constant="320" id="oP5-q2-9cK"/>
</constraints>
</stackView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="aq0-cP-kyj" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="20" id="2Vc-s3-2c3"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="S94-Mr-AzH" secondAttribute="trailing" constant="20" id="C0z-3g-kxr"/>
<constraint firstAttribute="trailing" secondItem="aq0-cP-kyj" secondAttribute="trailing" constant="20" id="EPh-iw-rBR"/>
<constraint firstAttribute="bottom" secondItem="S94-Mr-AzH" secondAttribute="bottom" constant="20" id="UlQ-fd-NAJ"/>
<constraint firstItem="aq0-cP-kyj" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="VOb-tL-VFc"/>
<constraint firstItem="S94-Mr-AzH" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="gtL-SP-6lp"/>
<constraint firstItem="S94-Mr-AzH" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="rb6-Z8-Std"/>
<constraint firstItem="S94-Mr-AzH" firstAttribute="top" secondItem="aq0-cP-kyj" secondAttribute="bottom" constant="20" id="sM8-OR-Vnq"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<connections>
<outlet property="buttonsStackView" destination="S94-Mr-AzH" id="1Tu-hR-HhZ"/>
<outlet property="titleLabel" destination="aq0-cP-kyj" id="tlN-w9-VKt"/>
</connections>
<point key="canvasLocation" x="137.68115942028987" y="-142.29910714285714"/>
</view>
</objects>
<resources>
<image name="social_login_button_facebook" width="24" height="24"/>
<image name="social_login_button_github" width="24" height="24"/>
<systemColor name="linkColor">
<color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
</resources>
</document>