IMChatAudioView.xib 5.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="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="16087"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.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="IMChatAudioView" customModule="O2Platform" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="196"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wVh-0l-AFu">
  18. <rect key="frame" x="158" y="49" width="98" height="98"/>
  19. <color key="backgroundColor" red="0.95294117649999999" green="0.95294117649999999" blue="0.95294117649999999" alpha="1" colorSpace="calibratedRGB"/>
  20. <constraints>
  21. <constraint firstAttribute="width" constant="98" id="4e9-hO-ccV"/>
  22. <constraint firstAttribute="height" constant="98" id="wuH-tw-j4k"/>
  23. </constraints>
  24. <state key="normal" image="chat_mic"/>
  25. <userDefinedRuntimeAttributes>
  26. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  27. <real key="value" value="49"/>
  28. </userDefinedRuntimeAttribute>
  29. </userDefinedRuntimeAttributes>
  30. </button>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="按住说话" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ofc-kF-lNX">
  32. <rect key="frame" x="182" y="14" width="50" height="15"/>
  33. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  34. <color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MOK-Ap-tLT">
  38. <rect key="frame" x="158" y="49" width="98" height="98"/>
  39. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  40. <constraints>
  41. <constraint firstAttribute="width" constant="98" id="Gqq-bx-nM3"/>
  42. <constraint firstAttribute="height" constant="98" id="lyM-c3-YEW"/>
  43. </constraints>
  44. </view>
  45. </subviews>
  46. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  47. <constraints>
  48. <constraint firstItem="wVh-0l-AFu" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="6cB-Al-ASy"/>
  49. <constraint firstItem="MOK-Ap-tLT" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="CN5-RX-Veu"/>
  50. <constraint firstItem="Ofc-kF-lNX" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="SHl-b2-znG"/>
  51. <constraint firstItem="MOK-Ap-tLT" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="XX5-a9-CHV"/>
  52. <constraint firstItem="wVh-0l-AFu" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="tyc-Iy-wZR"/>
  53. <constraint firstItem="Ofc-kF-lNX" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="14" id="wVW-4b-Vj0"/>
  54. </constraints>
  55. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  56. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  57. <connections>
  58. <outlet property="audioBtnContainer" destination="MOK-Ap-tLT" id="bvP-Da-pr4"/>
  59. <outlet property="audioRecordBtn" destination="wVh-0l-AFu" id="85j-KR-mnf"/>
  60. <outlet property="audioViewTitle" destination="Ofc-kF-lNX" id="K6i-qG-CmP"/>
  61. </connections>
  62. <point key="canvasLocation" x="-113" y="-1"/>
  63. </view>
  64. </objects>
  65. <resources>
  66. <image name="chat_mic" width="32" height="32"/>
  67. </resources>
  68. </document>