NCPlayerToolBar.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" 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="21678"/>
  7. <capability name="Image references" minToolsVersion="12.0"/>
  8. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="NCPlayerToolBar" customModule="Nextcloud" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="XfW-XC-eMf" userLabel="Player Top Tool Bar">
  19. <rect key="frame" x="369" y="58" width="35" height="35"/>
  20. <subviews>
  21. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Fml-c2-FMY">
  22. <rect key="frame" x="5" y="5" width="25" height="25"/>
  23. <constraints>
  24. <constraint firstAttribute="width" constant="25" id="S8g-UR-4zh"/>
  25. <constraint firstAttribute="height" constant="25" id="zjo-O1-SI2"/>
  26. </constraints>
  27. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  28. <state key="normal" image="audioOn"/>
  29. <connections>
  30. <action selector="tapMute:" destination="iN0-l3-epB" eventType="touchUpInside" id="FWr-cn-Pgw"/>
  31. </connections>
  32. </button>
  33. </subviews>
  34. <directionalEdgeInsets key="directionalLayoutMargins" top="5" leading="5" bottom="5" trailing="5"/>
  35. </stackView>
  36. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="85m-50-8yp">
  37. <rect key="frame" x="10" y="794" width="394" height="58"/>
  38. <subviews>
  39. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ixi-yR-HDH" userLabel="Container play">
  40. <rect key="frame" x="0.0" y="0.0" width="118" height="58"/>
  41. <subviews>
  42. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uP7-aY-x4n">
  43. <rect key="frame" x="3.5" y="9" width="40" height="40"/>
  44. <constraints>
  45. <constraint firstAttribute="width" constant="40" id="0jv-Tl-Nch"/>
  46. <constraint firstAttribute="height" constant="40" id="jnZ-cX-iJY"/>
  47. </constraints>
  48. <state key="normal" image="gobackward.10" catalog="system"/>
  49. <connections>
  50. <action selector="tapBack:" destination="iN0-l3-epB" eventType="touchUpInside" id="q3g-BH-iUc"/>
  51. </connections>
  52. </button>
  53. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hx9-d5-yiD">
  54. <rect key="frame" x="39" y="9" width="40" height="40"/>
  55. <constraints>
  56. <constraint firstAttribute="width" constant="40" id="Ime-ag-2Hm"/>
  57. <constraint firstAttribute="height" constant="40" id="snM-fJ-0LV"/>
  58. </constraints>
  59. <state key="normal">
  60. <imageReference key="image" image="play.fill" catalog="system" symbolScale="default"/>
  61. <preferredSymbolConfiguration key="preferredSymbolConfiguration" scale="default"/>
  62. </state>
  63. <connections>
  64. <action selector="tapPlayerPause:" destination="iN0-l3-epB" eventType="touchUpInside" id="XHf-om-3g9"/>
  65. </connections>
  66. </button>
  67. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bGn-IC-3V1">
  68. <rect key="frame" x="74.5" y="9" width="40" height="40"/>
  69. <constraints>
  70. <constraint firstAttribute="height" constant="40" id="VDT-no-B6f"/>
  71. <constraint firstAttribute="width" constant="40" id="eA5-wy-Sqb"/>
  72. </constraints>
  73. <state key="normal" image="goforward.10" catalog="system"/>
  74. <connections>
  75. <action selector="tapForward:" destination="iN0-l3-epB" eventType="touchUpInside" id="45z-IH-Fyr"/>
  76. </connections>
  77. </button>
  78. </subviews>
  79. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  80. <constraints>
  81. <constraint firstItem="hx9-d5-yiD" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="Brn-9w-mrJ"/>
  82. <constraint firstItem="bGn-IC-3V1" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="JBD-51-iYm"/>
  83. <constraint firstItem="uP7-aY-x4n" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="MPU-Hg-zQa"/>
  84. <constraint firstItem="hx9-d5-yiD" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" id="Vyv-jg-Cwu"/>
  85. <constraint firstItem="uP7-aY-x4n" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" multiplier="0.4" id="bwk-Bx-qVb"/>
  86. <constraint firstItem="bGn-IC-3V1" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" multiplier="1.6" id="wJP-ph-5c5"/>
  87. </constraints>
  88. </view>
  89. <slider opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" translatesAutoresizingMaskIntoConstraints="NO" id="MY0-FC-j88">
  90. <rect key="frame" x="121" y="14" width="265" height="31"/>
  91. </slider>
  92. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="99:99:99" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="svM-TQ-AyQ">
  93. <rect key="frame" x="338.5" y="44" width="45.5" height="12"/>
  94. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  95. <nil key="textColor"/>
  96. <nil key="highlightedColor"/>
  97. </label>
  98. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="00:00:00" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OHB-2J-Gqb">
  99. <rect key="frame" x="123" y="44" width="45" height="12"/>
  100. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  101. <nil key="textColor"/>
  102. <nil key="highlightedColor"/>
  103. </label>
  104. </subviews>
  105. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  106. <constraints>
  107. <constraint firstItem="ixi-yR-HDH" firstAttribute="centerY" secondItem="85m-50-8yp" secondAttribute="centerY" id="5sz-fh-GbG"/>
  108. <constraint firstItem="OHB-2J-Gqb" firstAttribute="leading" secondItem="MY0-FC-j88" secondAttribute="leading" id="6n7-If-xdS"/>
  109. <constraint firstItem="ixi-yR-HDH" firstAttribute="height" secondItem="85m-50-8yp" secondAttribute="height" id="8xM-7l-FXN"/>
  110. <constraint firstAttribute="height" constant="58" id="9Uv-dV-to4"/>
  111. <constraint firstItem="svM-TQ-AyQ" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="Aan-ac-nr9"/>
  112. <constraint firstItem="MY0-FC-j88" firstAttribute="leading" secondItem="ixi-yR-HDH" secondAttribute="trailing" constant="5" id="BAz-4C-w3A"/>
  113. <constraint firstAttribute="trailing" secondItem="svM-TQ-AyQ" secondAttribute="trailing" constant="10" id="JXl-DO-x6b"/>
  114. <constraint firstItem="ixi-yR-HDH" firstAttribute="leading" secondItem="85m-50-8yp" secondAttribute="leading" id="Kh2-nU-bMU"/>
  115. <constraint firstItem="ixi-yR-HDH" firstAttribute="width" secondItem="85m-50-8yp" secondAttribute="width" multiplier="0.3" id="gXG-4n-Ee3"/>
  116. <constraint firstAttribute="trailing" secondItem="MY0-FC-j88" secondAttribute="trailing" constant="10" id="hBO-J2-Kdo"/>
  117. <constraint firstItem="OHB-2J-Gqb" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="jdb-Vq-WoF"/>
  118. <constraint firstItem="MY0-FC-j88" firstAttribute="centerY" secondItem="85m-50-8yp" secondAttribute="centerY" id="lG8-DN-rTE"/>
  119. </constraints>
  120. </view>
  121. </subviews>
  122. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  123. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  124. <constraints>
  125. <constraint firstItem="85m-50-8yp" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="10" id="5H2-Gg-PEb"/>
  126. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="85m-50-8yp" secondAttribute="trailing" constant="10" id="BXT-Qo-qFl"/>
  127. <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="85m-50-8yp" secondAttribute="bottom" constant="10" id="N7Q-PF-7lb"/>
  128. <constraint firstItem="XfW-XC-eMf" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="10" id="fq3-6h-kkx"/>
  129. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="XfW-XC-eMf" secondAttribute="trailing" constant="10" id="uYG-Ai-CGv"/>
  130. </constraints>
  131. <connections>
  132. <outlet property="backButton" destination="uP7-aY-x4n" id="SyC-qV-IMq"/>
  133. <outlet property="forwardButton" destination="bGn-IC-3V1" id="0OZ-f2-eWU"/>
  134. <outlet property="labelCurrentTime" destination="OHB-2J-Gqb" id="pFy-CJ-x2A"/>
  135. <outlet property="labelLeftTime" destination="svM-TQ-AyQ" id="UDV-Lh-12z"/>
  136. <outlet property="muteButton" destination="Fml-c2-FMY" id="Fo1-Ep-ZPz"/>
  137. <outlet property="playButton" destination="hx9-d5-yiD" id="Enk-Ge-2Yx"/>
  138. <outlet property="playbackSlider" destination="MY0-FC-j88" id="bVe-Kc-80k"/>
  139. <outlet property="playerToolBarView" destination="85m-50-8yp" id="eZK-p1-v65"/>
  140. <outlet property="playerTopToolBarView" destination="XfW-XC-eMf" id="Qdp-IW-YhT"/>
  141. </connections>
  142. <point key="canvasLocation" x="137.68115942028987" y="152.67857142857142"/>
  143. </view>
  144. </objects>
  145. <resources>
  146. <image name="audioOn" width="28" height="28"/>
  147. <image name="gobackward.10" catalog="system" width="119" height="128"/>
  148. <image name="goforward.10" catalog="system" width="119" height="128"/>
  149. <image name="play.fill" catalog="system" width="117" height="128"/>
  150. </resources>
  151. </document>