TestNativeAdView.xib 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="1Vn-fe-Kbj" customClass="TestNativeAdView">
  15. <rect key="frame" x="0.0" y="0.0" width="365" height="310"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <subviews>
  18. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="PgF-xp-Le1">
  19. <rect key="frame" x="15" y="30" width="40" height="40"/>
  20. <constraints>
  21. <constraint firstAttribute="height" constant="40" id="KeQ-ho-Smm"/>
  22. <constraint firstAttribute="width" constant="40" id="QZo-Lw-uZC"/>
  23. </constraints>
  24. </imageView>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" horizontalCompressionResistancePriority="751" text="Headline" textAlignment="justified" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TzB-vF-5cJ">
  26. <rect key="frame" x="62" y="30" width="298" height="20.5"/>
  27. <constraints>
  28. <constraint firstAttribute="height" constant="20.5" id="gct-VZ-lLW"/>
  29. </constraints>
  30. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  31. <color key="textColor" systemColor="darkTextColor"/>
  32. <nil key="highlightedColor"/>
  33. </label>
  34. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Advertiser" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Iu8-WJ-RJn">
  35. <rect key="frame" x="62" y="53" width="66.5" height="24"/>
  36. <constraints>
  37. <constraint firstAttribute="height" constant="24" id="3hF-ZP-EIo"/>
  38. </constraints>
  39. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  40. <color key="textColor" systemColor="darkTextColor"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Dgh-aX-9wE">
  44. <rect key="frame" x="324" y="280" width="41" height="30"/>
  45. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  46. <state key="normal" title="Install">
  47. <color key="titleColor" red="0.96862745100000003" green="0.1764705882" blue="0.1764705882" alpha="0.92481806509999998" colorSpace="calibratedRGB"/>
  48. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  49. </state>
  50. </button>
  51. <view contentMode="scaleAspectFit" translatesAutoresizingMaskIntoConstraints="NO" id="K1x-t4-R0S" customClass="GADMediaView">
  52. <rect key="frame" x="57.5" y="75" width="250" height="150"/>
  53. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  54. <constraints>
  55. <constraint firstAttribute="height" priority="750" constant="150" id="03Q-od-zKq"/>
  56. <constraint firstAttribute="width" constant="250" id="eY0-UW-bnu"/>
  57. </constraints>
  58. </view>
  59. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ad5-v3-UOY">
  60. <rect key="frame" x="335" y="0.0" width="30" height="30"/>
  61. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  62. <constraints>
  63. <constraint firstAttribute="height" constant="30" id="F8v-9f-c75"/>
  64. <constraint firstAttribute="width" constant="30" id="qwb-CD-vas"/>
  65. </constraints>
  66. <state key="normal" title="✕">
  67. <color key="titleColor" systemColor="linkColor"/>
  68. </state>
  69. <connections>
  70. <action selector="closeNative:" destination="1Vn-fe-Kbj" eventType="touchUpInside" id="r6y-46-q2s"/>
  71. </connections>
  72. </button>
  73. </subviews>
  74. <viewLayoutGuide key="safeArea" id="1Cn-vM-gsB"/>
  75. <color key="backgroundColor" red="1" green="1" blue="0.9081496147260274" alpha="1" colorSpace="calibratedRGB"/>
  76. <constraints>
  77. <constraint firstItem="K1x-t4-R0S" firstAttribute="centerX" secondItem="1Cn-vM-gsB" secondAttribute="centerX" id="17E-bc-gqe"/>
  78. <constraint firstItem="ad5-v3-UOY" firstAttribute="top" secondItem="1Cn-vM-gsB" secondAttribute="top" id="4f5-yE-f2z"/>
  79. <constraint firstItem="1Cn-vM-gsB" firstAttribute="bottom" secondItem="Dgh-aX-9wE" secondAttribute="bottom" id="5bv-n4-dTB"/>
  80. <constraint firstItem="PgF-xp-Le1" firstAttribute="leading" secondItem="1Cn-vM-gsB" secondAttribute="leading" constant="15" id="7Ip-72-G4B"/>
  81. <constraint firstItem="Iu8-WJ-RJn" firstAttribute="top" secondItem="TzB-vF-5cJ" secondAttribute="bottom" constant="2.5" id="IIr-8v-HFq"/>
  82. <constraint firstItem="TzB-vF-5cJ" firstAttribute="leading" secondItem="PgF-xp-Le1" secondAttribute="trailing" constant="7" id="JYJ-5d-0fa"/>
  83. <constraint firstItem="1Cn-vM-gsB" firstAttribute="trailing" secondItem="Dgh-aX-9wE" secondAttribute="trailing" id="KTT-2H-4J8"/>
  84. <constraint firstItem="1Cn-vM-gsB" firstAttribute="trailing" secondItem="ad5-v3-UOY" secondAttribute="trailing" id="RRx-PU-pu8"/>
  85. <constraint firstItem="K1x-t4-R0S" firstAttribute="top" secondItem="PgF-xp-Le1" secondAttribute="bottom" constant="5" id="W5H-2b-GQp"/>
  86. <constraint firstItem="Iu8-WJ-RJn" firstAttribute="leading" secondItem="PgF-xp-Le1" secondAttribute="trailing" constant="7" id="XYi-Zm-gpE"/>
  87. <constraint firstItem="1Cn-vM-gsB" firstAttribute="trailing" secondItem="TzB-vF-5cJ" secondAttribute="trailing" constant="5" id="YtC-MX-TqB"/>
  88. <constraint firstItem="TzB-vF-5cJ" firstAttribute="top" secondItem="1Cn-vM-gsB" secondAttribute="top" constant="30" id="aQj-0b-Apo"/>
  89. <constraint firstItem="PgF-xp-Le1" firstAttribute="top" secondItem="1Cn-vM-gsB" secondAttribute="top" constant="30" id="iy3-La-s5N"/>
  90. </constraints>
  91. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  92. <connections>
  93. <outlet property="advertiserView" destination="Iu8-WJ-RJn" id="oQH-jn-SIZ"/>
  94. <outlet property="callToActionView" destination="Dgh-aX-9wE" id="bjI-OD-MNw"/>
  95. <outlet property="headlineView" destination="TzB-vF-5cJ" id="zdw-Bh-Deq"/>
  96. <outlet property="iconView" destination="PgF-xp-Le1" id="MHO-OY-tdd"/>
  97. <outlet property="mediaView" destination="K1x-t4-R0S" id="pgD-v8-IFJ"/>
  98. </connections>
  99. <point key="canvasLocation" x="-2655.1999999999998" y="-793.40329835082468"/>
  100. </view>
  101. </objects>
  102. <resources>
  103. <systemColor name="darkTextColor">
  104. <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  105. </systemColor>
  106. <systemColor name="linkColor">
  107. <color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  108. </systemColor>
  109. </resources>
  110. </document>