RQHandInThePaperView.xib 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19455" 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="19454"/>
  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="HHt-VT-TS3" customClass="RQHandInThePaperView">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="50"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rp9-ns-G0V">
  18. <rect key="frame" x="54.5" y="10" width="266" height="30"/>
  19. <color key="backgroundColor" red="0.28627450980392155" green="0.55686274509803924" blue="0.96078431372549022" alpha="1" colorSpace="deviceRGB"/>
  20. <constraints>
  21. <constraint firstAttribute="height" constant="30" id="c8K-de-wXu"/>
  22. </constraints>
  23. <state key="normal" title="交卷">
  24. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  25. </state>
  26. <userDefinedRuntimeAttributes>
  27. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  28. <integer key="value" value="15"/>
  29. </userDefinedRuntimeAttribute>
  30. </userDefinedRuntimeAttributes>
  31. </button>
  32. </subviews>
  33. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  34. <constraints>
  35. <constraint firstItem="rp9-ns-G0V" firstAttribute="width" secondItem="HHt-VT-TS3" secondAttribute="width" multiplier="266:375" id="O5D-b2-ecH"/>
  36. <constraint firstItem="rp9-ns-G0V" firstAttribute="centerY" secondItem="HHt-VT-TS3" secondAttribute="centerY" id="SSW-Lb-5va"/>
  37. <constraint firstItem="rp9-ns-G0V" firstAttribute="centerX" secondItem="HHt-VT-TS3" secondAttribute="centerX" id="Vms-1B-1t3"/>
  38. </constraints>
  39. <nil key="simulatedTopBarMetrics"/>
  40. <nil key="simulatedBottomBarMetrics"/>
  41. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  42. <userDefinedRuntimeAttributes>
  43. <userDefinedRuntimeAttribute type="number" keyPath="layer.shadowRadius">
  44. <integer key="value" value="3"/>
  45. </userDefinedRuntimeAttribute>
  46. <userDefinedRuntimeAttribute type="number" keyPath="layer.shadowOpacity">
  47. <integer key="value" value="1"/>
  48. </userDefinedRuntimeAttribute>
  49. <userDefinedRuntimeAttribute type="size" keyPath="layer.shadowOffset">
  50. <size key="value" width="1" height="-1"/>
  51. </userDefinedRuntimeAttribute>
  52. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="NO"/>
  53. </userDefinedRuntimeAttributes>
  54. <connections>
  55. <outlet property="handInThePaperBtn" destination="rp9-ns-G0V" id="q8f-mA-F5J"/>
  56. </connections>
  57. <point key="canvasLocation" x="121.0144927536232" y="103.125"/>
  58. </view>
  59. </objects>
  60. <resources>
  61. <systemColor name="systemBackgroundColor">
  62. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  63. </systemColor>
  64. </resources>
  65. </document>