HomeHotMusicView.xib 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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="364"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aLQ-YK-tTY">
  17. <rect key="frame" x="356" y="23" width="44" height="18"/>
  18. <color key="backgroundColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="0.10000000000000001" colorSpace="calibratedRGB"/>
  19. <constraints>
  20. <constraint firstAttribute="height" constant="18" id="GeK-bh-mkr"/>
  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="t7j-WY-6gF">
  29. <rect key="frame" x="24" y="20" width="67.5" height="24"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="24" id="5Zd-6z-MkK"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="17"/>
  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="3Up-TV-A6N">
  38. <rect key="frame" x="362" y="17" width="33" height="30"/>
  39. <constraints>
  40. <constraint firstAttribute="height" constant="30" id="ZOa-30-rEf"/>
  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="La7-fL-IFl"/>
  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="2OG-Ff-YNg">
  51. <rect key="frame" x="362" y="25" width="24" height="14.5"/>
  52. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  53. <color key="textColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" 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="RXl-RQ-VTX">
  57. <rect key="frame" x="389" y="28" width="6" height="8"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="8" id="3dv-t9-A1y"/>
  60. <constraint firstAttribute="width" constant="6" id="9Vz-LP-ovZ"/>
  61. </constraints>
  62. </imageView>
  63. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_left" translatesAutoresizingMaskIntoConstraints="NO" id="DQd-nL-Wor">
  64. <rect key="frame" x="14" y="24.5" width="4" height="15"/>
  65. <constraints>
  66. <constraint firstAttribute="width" constant="4" id="ysI-kO-iNt"/>
  67. </constraints>
  68. </imageView>
  69. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5PX-DV-Tle">
  70. <rect key="frame" x="0.0" y="56" width="414" height="320"/>
  71. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  72. <constraints>
  73. <constraint firstAttribute="height" constant="320" id="q68-6v-m4R"/>
  74. </constraints>
  75. </view>
  76. </subviews>
  77. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  78. <constraints>
  79. <constraint firstItem="2OG-Ff-YNg" firstAttribute="leading" secondItem="3Up-TV-A6N" secondAttribute="leading" id="3IU-bV-Bwj"/>
  80. <constraint firstItem="5PX-DV-Tle" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="4lU-fp-zTR"/>
  81. <constraint firstItem="2OG-Ff-YNg" firstAttribute="leading" secondItem="aLQ-YK-tTY" secondAttribute="leading" constant="6" id="4mW-s8-Ipb"/>
  82. <constraint firstAttribute="trailing" secondItem="aLQ-YK-tTY" secondAttribute="trailing" constant="14" id="4xK-PM-d0A"/>
  83. <constraint firstItem="RXl-RQ-VTX" firstAttribute="trailing" secondItem="3Up-TV-A6N" secondAttribute="trailing" id="8dG-Ih-dcP"/>
  84. <constraint firstItem="t7j-WY-6gF" firstAttribute="leading" secondItem="DQd-nL-Wor" secondAttribute="trailing" constant="6" id="987-JH-aK9"/>
  85. <constraint firstItem="5PX-DV-Tle" firstAttribute="top" secondItem="t7j-WY-6gF" secondAttribute="bottom" constant="12" id="9L4-j0-7Ud"/>
  86. <constraint firstItem="RXl-RQ-VTX" firstAttribute="leading" secondItem="2OG-Ff-YNg" secondAttribute="trailing" constant="3" id="F0y-dt-dXp"/>
  87. <constraint firstItem="t7j-WY-6gF" firstAttribute="centerY" secondItem="DQd-nL-Wor" secondAttribute="centerY" id="HJc-jv-RnT"/>
  88. <constraint firstItem="3Up-TV-A6N" firstAttribute="centerY" secondItem="t7j-WY-6gF" secondAttribute="centerY" id="Rcz-ki-VEq"/>
  89. <constraint firstItem="RXl-RQ-VTX" firstAttribute="centerY" secondItem="t7j-WY-6gF" secondAttribute="centerY" id="VZ0-9S-Lac"/>
  90. <constraint firstItem="t7j-WY-6gF" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="20" id="Vsf-3w-ngf"/>
  91. <constraint firstItem="aLQ-YK-tTY" firstAttribute="centerY" secondItem="2OG-Ff-YNg" secondAttribute="centerY" id="WuF-B0-7jc"/>
  92. <constraint firstItem="RXl-RQ-VTX" firstAttribute="trailing" secondItem="aLQ-YK-tTY" secondAttribute="trailing" constant="-5" id="aJ8-A6-XsG"/>
  93. <constraint firstItem="DQd-nL-Wor" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="e2G-Q7-sFN"/>
  94. <constraint firstItem="5PX-DV-Tle" firstAttribute="trailing" secondItem="iN0-l3-epB" secondAttribute="trailing" id="qak-uV-tbh"/>
  95. <constraint firstItem="2OG-Ff-YNg" firstAttribute="centerY" secondItem="t7j-WY-6gF" secondAttribute="centerY" id="x6Q-2j-qka"/>
  96. </constraints>
  97. <nil key="simulatedTopBarMetrics"/>
  98. <nil key="simulatedBottomBarMetrics"/>
  99. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  100. <connections>
  101. <outlet property="musicContentView" destination="5PX-DV-Tle" id="82H-ul-c1D"/>
  102. </connections>
  103. <point key="canvasLocation" x="100.00000000000001" y="-9.375"/>
  104. </view>
  105. </objects>
  106. <resources>
  107. <image name="home_left" width="4" height="15"/>
  108. <image name="home_more_green" width="5" height="8"/>
  109. </resources>
  110. </document>