RQExerciseExamAlertView.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="RQExerciseExamAlertView">
  14. <rect key="frame" x="0.0" y="0.0" width="290" height="248"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="剩余时间:59:50" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cvK-B0-V7u">
  18. <rect key="frame" x="86" y="4" width="118" height="20"/>
  19. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  20. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  21. <nil key="highlightedColor"/>
  22. </label>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="及格" translatesAutoresizingMaskIntoConstraints="NO" id="1lA-Xr-lDX">
  24. <rect key="frame" x="71.5" y="32" width="147" height="133"/>
  25. <constraints>
  26. <constraint firstAttribute="width" secondItem="1lA-Xr-lDX" secondAttribute="height" multiplier="147/133" id="vV5-Gi-7s6"/>
  27. </constraints>
  28. </imageView>
  29. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="zPO-rw-abt">
  30. <rect key="frame" x="16" y="181" width="258" height="43"/>
  31. <subviews>
  32. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="dHv-46-7LH">
  33. <rect key="frame" x="0.0" y="0.0" width="86" height="43"/>
  34. <subviews>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="83" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CYE-Zm-fxf">
  36. <rect key="frame" x="0.0" y="0.0" width="86" height="23"/>
  37. <fontDescription key="fontDescription" type="boldSystem" pointSize="21"/>
  38. <color key="textColor" red="1" green="0.30196078431372547" blue="0.32549019607843138" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="未答题数" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cuh-Su-xm0">
  42. <rect key="frame" x="0.0" y="27" width="86" height="16"/>
  43. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  44. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  45. <nil key="highlightedColor"/>
  46. </label>
  47. </subviews>
  48. </stackView>
  49. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="PiM-5k-X5D">
  50. <rect key="frame" x="86" y="0.0" width="86" height="43"/>
  51. <subviews>
  52. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bhV-zU-WLx">
  53. <rect key="frame" x="0.0" y="0.0" width="86" height="23"/>
  54. <fontDescription key="fontDescription" type="boldSystem" pointSize="21"/>
  55. <nil key="textColor"/>
  56. <nil key="highlightedColor"/>
  57. </label>
  58. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="错题数" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JjE-y1-FyI">
  59. <rect key="frame" x="0.0" y="27" width="86" height="16"/>
  60. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  61. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  62. <nil key="highlightedColor"/>
  63. </label>
  64. </subviews>
  65. </stackView>
  66. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="1Q2-Xq-pKZ">
  67. <rect key="frame" x="172" y="0.0" width="86" height="43"/>
  68. <subviews>
  69. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kCe-kH-xpF">
  70. <rect key="frame" x="0.0" y="0.0" width="86" height="23"/>
  71. <fontDescription key="fontDescription" type="boldSystem" pointSize="21"/>
  72. <nil key="textColor"/>
  73. <nil key="highlightedColor"/>
  74. </label>
  75. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="考试得分" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ggt-B5-tGe">
  76. <rect key="frame" x="0.0" y="27" width="86" height="16"/>
  77. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  78. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  79. <nil key="highlightedColor"/>
  80. </label>
  81. </subviews>
  82. </stackView>
  83. </subviews>
  84. </stackView>
  85. </subviews>
  86. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  87. <constraints>
  88. <constraint firstItem="cvK-B0-V7u" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="2Kx-oa-qsR"/>
  89. <constraint firstItem="1lA-Xr-lDX" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="147/290" id="GY7-0m-B05"/>
  90. <constraint firstItem="cvK-B0-V7u" firstAttribute="height" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="20/290" id="K70-qL-gCx"/>
  91. <constraint firstItem="cvK-B0-V7u" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="4" id="ZS9-c9-t5G"/>
  92. <constraint firstItem="1lA-Xr-lDX" firstAttribute="top" secondItem="cvK-B0-V7u" secondAttribute="bottom" constant="8" id="g5n-RD-QKi"/>
  93. <constraint firstAttribute="bottom" secondItem="zPO-rw-abt" secondAttribute="bottom" constant="24" id="gRU-IT-79a"/>
  94. <constraint firstItem="1lA-Xr-lDX" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="geO-X8-Vq0"/>
  95. <constraint firstItem="zPO-rw-abt" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="hxr-mu-i2v"/>
  96. <constraint firstAttribute="trailing" secondItem="zPO-rw-abt" secondAttribute="trailing" constant="16" id="oQf-iW-wEL"/>
  97. <constraint firstItem="zPO-rw-abt" firstAttribute="top" secondItem="1lA-Xr-lDX" secondAttribute="bottom" constant="16" id="uPO-tx-Fdn"/>
  98. </constraints>
  99. <nil key="simulatedTopBarMetrics"/>
  100. <nil key="simulatedBottomBarMetrics"/>
  101. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  102. <connections>
  103. <outlet property="errorLabel" destination="bhV-zU-WLx" id="NNH-6i-6OL"/>
  104. <outlet property="myImageView" destination="1lA-Xr-lDX" id="XFR-RK-VFr"/>
  105. <outlet property="myTimeLabel" destination="cvK-B0-V7u" id="kFL-sU-mGa"/>
  106. <outlet property="scoreLabel" destination="kCe-kH-xpF" id="uFn-Kb-dBs"/>
  107. <outlet property="unDoLabel" destination="CYE-Zm-fxf" id="1OQ-bB-5Nv"/>
  108. </connections>
  109. <point key="canvasLocation" x="139" y="135"/>
  110. </view>
  111. </objects>
  112. <resources>
  113. <image name="及格" width="147" height="134"/>
  114. <systemColor name="systemBackgroundColor">
  115. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  116. </systemColor>
  117. </resources>
  118. </document>