HomeHotMusicView.xib 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" 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="23506"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeHotMusicView">
  13. <rect key="frame" x="0.0" y="0.0" width="414" height="376"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="h7W-In-fdG">
  17. <rect key="frame" x="356" y="23" width="44" height="18"/>
  18. <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="0.10000000000000001" colorSpace="calibratedRGB"/>
  19. <constraints>
  20. <constraint firstAttribute="height" constant="18" id="asa-Yc-c71"/>
  21. </constraints>
  22. <userDefinedRuntimeAttributes>
  23. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  24. <real key="value" value="9"/>
  25. </userDefinedRuntimeAttribute>
  26. </userDefinedRuntimeAttributes>
  27. </view>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="热门曲目" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ObF-3e-j29">
  29. <rect key="frame" x="24" y="20" width="64" height="24"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="24" id="cPc-Bd-itn"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  34. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <button opaque="NO" tag="1008" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mse-cv-4Ye">
  38. <rect key="frame" x="362" y="17" width="33" height="30"/>
  39. <constraints>
  40. <constraint firstAttribute="height" constant="30" id="t8p-p9-2cB"/>
  41. </constraints>
  42. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  43. <state key="normal">
  44. <color key="titleColor" red="0.46666666670000001" green="0.46666666670000001" blue="0.46666666670000001" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  45. </state>
  46. <connections>
  47. <action selector="moreMusic:" destination="iN0-l3-epB" eventType="touchUpInside" id="0E5-n5-Tfn"/>
  48. </connections>
  49. </button>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="更多" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QzC-dk-bqa">
  51. <rect key="frame" x="362" y="24.5" width="24" height="15"/>
  52. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  53. <color key="textColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_more_green" translatesAutoresizingMaskIntoConstraints="NO" id="9xg-C3-kxV">
  57. <rect key="frame" x="389" y="28" width="6" height="8"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="8" id="4NE-LI-O7V"/>
  60. <constraint firstAttribute="width" constant="6" id="sgn-3m-cHO"/>
  61. </constraints>
  62. </imageView>
  63. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_left" translatesAutoresizingMaskIntoConstraints="NO" id="oHM-Ms-xi2">
  64. <rect key="frame" x="14" y="24.5" width="4" height="15"/>
  65. </imageView>
  66. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HAn-QD-Jml">
  67. <rect key="frame" x="0.0" y="56" width="414" height="320"/>
  68. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  69. <constraints>
  70. <constraint firstAttribute="height" constant="320" id="td9-Wn-3Az"/>
  71. </constraints>
  72. </view>
  73. </subviews>
  74. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  75. <constraints>
  76. <constraint firstItem="ObF-3e-j29" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="20" id="7aw-rc-R9Y"/>
  77. <constraint firstItem="QzC-dk-bqa" firstAttribute="centerY" secondItem="ObF-3e-j29" secondAttribute="centerY" id="Age-D0-dig"/>
  78. <constraint firstItem="9xg-C3-kxV" firstAttribute="centerY" secondItem="ObF-3e-j29" secondAttribute="centerY" id="BVv-Ms-GX8"/>
  79. <constraint firstItem="ObF-3e-j29" firstAttribute="leading" secondItem="oHM-Ms-xi2" secondAttribute="trailing" constant="6" id="BaP-GH-FfD"/>
  80. <constraint firstAttribute="trailing" secondItem="HAn-QD-Jml" secondAttribute="trailing" id="N4q-rx-yJu"/>
  81. <constraint firstItem="HAn-QD-Jml" firstAttribute="top" secondItem="ObF-3e-j29" secondAttribute="bottom" constant="12" id="O2M-vx-n3b"/>
  82. <constraint firstItem="9xg-C3-kxV" firstAttribute="leading" secondItem="QzC-dk-bqa" secondAttribute="trailing" constant="3" id="dsR-mo-asO"/>
  83. <constraint firstItem="oHM-Ms-xi2" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="eRq-2z-Pai"/>
  84. <constraint firstItem="9xg-C3-kxV" firstAttribute="trailing" secondItem="mse-cv-4Ye" secondAttribute="trailing" id="hUf-hs-gY3"/>
  85. <constraint firstItem="HAn-QD-Jml" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="lBc-3W-wwt"/>
  86. <constraint firstItem="9xg-C3-kxV" firstAttribute="trailing" secondItem="h7W-In-fdG" secondAttribute="trailing" constant="-5" id="mEP-hS-RyU"/>
  87. <constraint firstItem="QzC-dk-bqa" firstAttribute="leading" secondItem="mse-cv-4Ye" secondAttribute="leading" id="nbF-ec-ZTv"/>
  88. <constraint firstAttribute="trailing" secondItem="h7W-In-fdG" secondAttribute="trailing" constant="14" id="oCp-E3-nLV"/>
  89. <constraint firstItem="h7W-In-fdG" firstAttribute="centerY" secondItem="QzC-dk-bqa" secondAttribute="centerY" id="rh5-JG-khK"/>
  90. <constraint firstItem="ObF-3e-j29" firstAttribute="centerY" secondItem="oHM-Ms-xi2" secondAttribute="centerY" id="sXg-oZ-kHA"/>
  91. <constraint firstItem="QzC-dk-bqa" firstAttribute="leading" secondItem="h7W-In-fdG" secondAttribute="leading" constant="6" id="tzY-kL-s1d"/>
  92. <constraint firstItem="mse-cv-4Ye" firstAttribute="centerY" secondItem="ObF-3e-j29" secondAttribute="centerY" id="vsz-4E-M9F"/>
  93. </constraints>
  94. <nil key="simulatedTopBarMetrics"/>
  95. <nil key="simulatedBottomBarMetrics"/>
  96. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  97. <connections>
  98. <outlet property="musicContentView" destination="HAn-QD-Jml" id="OmN-U9-Q3Z"/>
  99. </connections>
  100. <point key="canvasLocation" x="131.8840579710145" y="105.13392857142857"/>
  101. </view>
  102. </objects>
  103. <resources>
  104. <image name="home_left" width="4" height="15"/>
  105. <image name="home_more_green" width="5" height="8"/>
  106. </resources>
  107. </document>