IMAudioView.xib 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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="IMAudioView" customModule="O2Platform" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="92" height="36"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chat_audio_play_Normal" translatesAutoresizingMaskIntoConstraints="NO" id="a6h-yn-SMe">
  18. <rect key="frame" x="5" y="4" width="28" height="28"/>
  19. <constraints>
  20. <constraint firstAttribute="height" constant="28" id="jsR-4F-M7B"/>
  21. <constraint firstAttribute="width" constant="28" id="kKV-bU-3mr"/>
  22. </constraints>
  23. </imageView>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="60“" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Pe3-7R-eCP">
  25. <rect key="frame" x="53" y="9.5" width="29" height="17"/>
  26. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  27. <color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  28. <nil key="highlightedColor"/>
  29. </label>
  30. </subviews>
  31. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  32. <constraints>
  33. <constraint firstItem="Pe3-7R-eCP" firstAttribute="leading" secondItem="a6h-yn-SMe" secondAttribute="trailing" constant="20" id="6nk-nX-y34"/>
  34. <constraint firstItem="a6h-yn-SMe" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="5" id="A7P-7Y-jsE"/>
  35. <constraint firstItem="Pe3-7R-eCP" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="f3M-cW-QZa"/>
  36. <constraint firstAttribute="trailing" secondItem="Pe3-7R-eCP" secondAttribute="trailing" constant="10" id="oO3-qw-7Xl"/>
  37. <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="a6h-yn-SMe" secondAttribute="bottom" constant="4" id="qjF-vI-47S"/>
  38. <constraint firstItem="a6h-yn-SMe" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="4" id="r1h-0b-1er"/>
  39. </constraints>
  40. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  41. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  42. <userDefinedRuntimeAttributes>
  43. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  44. <real key="value" value="5"/>
  45. </userDefinedRuntimeAttribute>
  46. </userDefinedRuntimeAttributes>
  47. <connections>
  48. <outlet property="durationLabel" destination="Pe3-7R-eCP" id="9pj-ZS-n3s"/>
  49. <outlet property="playImageView" destination="a6h-yn-SMe" id="6N0-qd-tPk"/>
  50. </connections>
  51. <point key="canvasLocation" x="131.8840579710145" y="233.70535714285714"/>
  52. </view>
  53. </objects>
  54. <resources>
  55. <image name="chat_audio_play_Normal" width="18" height="18"/>
  56. </resources>
  57. </document>