NCPlayerToolBar.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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="19519"/>
  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. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aU7-QX-ePS" userLabel="Player Top Tool Bar">
  19. <rect key="frame" x="304" y="54" width="100" height="45"/>
  20. <subviews>
  21. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="AKs-cS-3AJ" userLabel="Button Player Top Tool Bar">
  22. <rect key="frame" x="0.0" y="0.0" width="100" height="45"/>
  23. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  24. <connections>
  25. <action selector="buttonPlayerTopToolBarTouchInside:" destination="iN0-l3-epB" eventType="touchUpInside" id="wGC-Hl-fMh"/>
  26. </connections>
  27. </button>
  28. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Fml-c2-FMY">
  29. <rect key="frame" x="60" y="10" width="25" height="25"/>
  30. <constraints>
  31. <constraint firstAttribute="width" constant="25" id="S8g-UR-4zh"/>
  32. <constraint firstAttribute="height" constant="25" id="zjo-O1-SI2"/>
  33. </constraints>
  34. <state key="normal" image="audioOn"/>
  35. <connections>
  36. <action selector="setMute:" destination="iN0-l3-epB" eventType="touchUpInside" id="5uy-bw-aar"/>
  37. </connections>
  38. </button>
  39. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="a3d-ja-utA">
  40. <rect key="frame" x="15" y="10" width="25" height="25"/>
  41. <constraints>
  42. <constraint firstAttribute="height" constant="25" id="TIW-zu-jSX"/>
  43. <constraint firstAttribute="width" constant="25" id="jR3-bv-VnZ"/>
  44. </constraints>
  45. <state key="normal" image="pip.enter" catalog="system"/>
  46. <connections>
  47. <action selector="setPip:" destination="iN0-l3-epB" eventType="touchUpInside" id="uhg-Zu-HZ8"/>
  48. </connections>
  49. </button>
  50. </subviews>
  51. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  52. <constraints>
  53. <constraint firstAttribute="trailing" secondItem="Fml-c2-FMY" secondAttribute="trailing" constant="15" id="8ve-6A-eUd"/>
  54. <constraint firstItem="AKs-cS-3AJ" firstAttribute="leading" secondItem="aU7-QX-ePS" secondAttribute="leading" id="9Ze-H6-xI9"/>
  55. <constraint firstAttribute="bottom" secondItem="AKs-cS-3AJ" secondAttribute="bottom" id="FGR-I6-3Wg"/>
  56. <constraint firstAttribute="width" constant="100" id="U30-Kk-nJE"/>
  57. <constraint firstAttribute="height" constant="45" id="YE9-O3-5pU"/>
  58. <constraint firstItem="AKs-cS-3AJ" firstAttribute="top" secondItem="aU7-QX-ePS" secondAttribute="top" id="ZUd-v8-hfs"/>
  59. <constraint firstItem="a3d-ja-utA" firstAttribute="centerY" secondItem="aU7-QX-ePS" secondAttribute="centerY" id="eAW-c1-q9V"/>
  60. <constraint firstItem="a3d-ja-utA" firstAttribute="leading" secondItem="aU7-QX-ePS" secondAttribute="leading" constant="15" id="o3n-I3-S2i"/>
  61. <constraint firstItem="Fml-c2-FMY" firstAttribute="centerY" secondItem="aU7-QX-ePS" secondAttribute="centerY" id="uvf-Tj-ke3"/>
  62. <constraint firstAttribute="trailing" secondItem="AKs-cS-3AJ" secondAttribute="trailing" id="yUJ-b3-to1"/>
  63. </constraints>
  64. </view>
  65. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="85m-50-8yp">
  66. <rect key="frame" x="10" y="787" width="394" height="65"/>
  67. <subviews>
  68. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1z7-mx-EOF" userLabel="Button Player Tool Bar">
  69. <rect key="frame" x="0.0" y="0.0" width="394" height="65"/>
  70. <connections>
  71. <action selector="buttonPlayerToolBarTouchInside:" destination="iN0-l3-epB" eventType="touchUpInside" id="xCb-8m-kx2"/>
  72. </connections>
  73. </button>
  74. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ixi-yR-HDH" userLabel="Container play">
  75. <rect key="frame" x="0.0" y="0.0" width="118" height="65"/>
  76. <subviews>
  77. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uP7-aY-x4n">
  78. <rect key="frame" x="3.5" y="12.5" width="40" height="40"/>
  79. <constraints>
  80. <constraint firstAttribute="width" constant="40" id="0jv-Tl-Nch"/>
  81. <constraint firstAttribute="height" constant="40" id="jnZ-cX-iJY"/>
  82. </constraints>
  83. <state key="normal" image="gobackward.10" catalog="system"/>
  84. <connections>
  85. <action selector="backButtonSec:" destination="iN0-l3-epB" eventType="touchUpInside" id="pPF-Ca-M2w"/>
  86. </connections>
  87. </button>
  88. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hx9-d5-yiD">
  89. <rect key="frame" x="39" y="12.5" width="40" height="40"/>
  90. <constraints>
  91. <constraint firstAttribute="width" constant="40" id="Ime-ag-2Hm"/>
  92. <constraint firstAttribute="height" constant="40" id="snM-fJ-0LV"/>
  93. </constraints>
  94. <state key="normal">
  95. <imageReference key="image" image="play.fill" catalog="system" symbolScale="default"/>
  96. <preferredSymbolConfiguration key="preferredSymbolConfiguration" scale="default"/>
  97. </state>
  98. <connections>
  99. <action selector="playerPause:" destination="iN0-l3-epB" eventType="touchUpInside" id="enk-eL-NtN"/>
  100. </connections>
  101. </button>
  102. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bGn-IC-3V1">
  103. <rect key="frame" x="74.5" y="12.5" width="40" height="40"/>
  104. <constraints>
  105. <constraint firstAttribute="height" constant="40" id="VDT-no-B6f"/>
  106. <constraint firstAttribute="width" constant="40" id="eA5-wy-Sqb"/>
  107. </constraints>
  108. <state key="normal" image="goforward.10" catalog="system"/>
  109. <connections>
  110. <action selector="forwardButtonSec:" destination="iN0-l3-epB" eventType="touchUpInside" id="1MY-Wl-aCi"/>
  111. </connections>
  112. </button>
  113. </subviews>
  114. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  115. <constraints>
  116. <constraint firstItem="hx9-d5-yiD" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="Brn-9w-mrJ"/>
  117. <constraint firstItem="bGn-IC-3V1" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="JBD-51-iYm"/>
  118. <constraint firstItem="uP7-aY-x4n" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="MPU-Hg-zQa"/>
  119. <constraint firstItem="hx9-d5-yiD" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" id="Vyv-jg-Cwu"/>
  120. <constraint firstItem="uP7-aY-x4n" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" multiplier="0.4" id="bwk-Bx-qVb"/>
  121. <constraint firstItem="bGn-IC-3V1" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" multiplier="1.6" id="wJP-ph-5c5"/>
  122. </constraints>
  123. </view>
  124. <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">
  125. <rect key="frame" x="121" y="17.5" width="265" height="31"/>
  126. </slider>
  127. <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">
  128. <rect key="frame" x="338.5" y="47.5" width="45.5" height="12"/>
  129. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  130. <nil key="textColor"/>
  131. <nil key="highlightedColor"/>
  132. </label>
  133. <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">
  134. <rect key="frame" x="123" y="47.5" width="45" height="12"/>
  135. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  136. <nil key="textColor"/>
  137. <nil key="highlightedColor"/>
  138. </label>
  139. </subviews>
  140. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  141. <constraints>
  142. <constraint firstItem="ixi-yR-HDH" firstAttribute="centerY" secondItem="85m-50-8yp" secondAttribute="centerY" id="5sz-fh-GbG"/>
  143. <constraint firstItem="OHB-2J-Gqb" firstAttribute="leading" secondItem="MY0-FC-j88" secondAttribute="leading" id="6n7-If-xdS"/>
  144. <constraint firstItem="ixi-yR-HDH" firstAttribute="height" secondItem="85m-50-8yp" secondAttribute="height" id="8xM-7l-FXN"/>
  145. <constraint firstAttribute="height" constant="65" id="9Uv-dV-to4"/>
  146. <constraint firstItem="svM-TQ-AyQ" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="Aan-ac-nr9"/>
  147. <constraint firstItem="MY0-FC-j88" firstAttribute="leading" secondItem="ixi-yR-HDH" secondAttribute="trailing" constant="5" id="BAz-4C-w3A"/>
  148. <constraint firstAttribute="trailing" secondItem="svM-TQ-AyQ" secondAttribute="trailing" constant="10" id="JXl-DO-x6b"/>
  149. <constraint firstItem="ixi-yR-HDH" firstAttribute="leading" secondItem="85m-50-8yp" secondAttribute="leading" id="Kh2-nU-bMU"/>
  150. <constraint firstAttribute="bottom" secondItem="1z7-mx-EOF" secondAttribute="bottom" id="Ta0-kB-BQ2"/>
  151. <constraint firstAttribute="trailing" secondItem="1z7-mx-EOF" secondAttribute="trailing" id="V93-UI-XDO"/>
  152. <constraint firstItem="1z7-mx-EOF" firstAttribute="leading" secondItem="85m-50-8yp" secondAttribute="leading" id="ZSd-hQ-3I2"/>
  153. <constraint firstItem="ixi-yR-HDH" firstAttribute="width" secondItem="85m-50-8yp" secondAttribute="width" multiplier="0.3" id="gXG-4n-Ee3"/>
  154. <constraint firstAttribute="trailing" secondItem="MY0-FC-j88" secondAttribute="trailing" constant="10" id="hBO-J2-Kdo"/>
  155. <constraint firstItem="OHB-2J-Gqb" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="jdb-Vq-WoF"/>
  156. <constraint firstItem="MY0-FC-j88" firstAttribute="centerY" secondItem="85m-50-8yp" secondAttribute="centerY" id="lG8-DN-rTE"/>
  157. <constraint firstItem="1z7-mx-EOF" firstAttribute="top" secondItem="85m-50-8yp" secondAttribute="top" id="xra-pJ-UgW"/>
  158. </constraints>
  159. </view>
  160. </subviews>
  161. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  162. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  163. <constraints>
  164. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="aU7-QX-ePS" secondAttribute="trailing" constant="10" id="2h2-gm-Gog"/>
  165. <constraint firstItem="85m-50-8yp" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="10" id="5H2-Gg-PEb"/>
  166. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="85m-50-8yp" secondAttribute="trailing" constant="10" id="BXT-Qo-qFl"/>
  167. <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="85m-50-8yp" secondAttribute="bottom" constant="10" id="N7Q-PF-7lb"/>
  168. <constraint firstItem="aU7-QX-ePS" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="10" id="srY-5w-tyj"/>
  169. </constraints>
  170. <connections>
  171. <outlet property="backButton" destination="uP7-aY-x4n" id="SyC-qV-IMq"/>
  172. <outlet property="forwardButton" destination="bGn-IC-3V1" id="0OZ-f2-eWU"/>
  173. <outlet property="labelCurrentTime" destination="OHB-2J-Gqb" id="pFy-CJ-x2A"/>
  174. <outlet property="labelLeftTime" destination="svM-TQ-AyQ" id="UDV-Lh-12z"/>
  175. <outlet property="muteButton" destination="Fml-c2-FMY" id="Fo1-Ep-ZPz"/>
  176. <outlet property="pipButton" destination="a3d-ja-utA" id="9nt-RD-IXd"/>
  177. <outlet property="playButton" destination="hx9-d5-yiD" id="Enk-Ge-2Yx"/>
  178. <outlet property="playbackSlider" destination="MY0-FC-j88" id="bVe-Kc-80k"/>
  179. <outlet property="playerToolBarView" destination="85m-50-8yp" id="eZK-p1-v65"/>
  180. <outlet property="playerTopToolBarView" destination="aU7-QX-ePS" id="kEC-Og-bfW"/>
  181. </connections>
  182. <point key="canvasLocation" x="139" y="153"/>
  183. </view>
  184. </objects>
  185. <resources>
  186. <image name="audioOn" width="28" height="28"/>
  187. <image name="gobackward.10" catalog="system" width="121" height="128"/>
  188. <image name="goforward.10" catalog="system" width="121" height="128"/>
  189. <image name="pip.enter" catalog="system" width="128" height="96"/>
  190. <image name="play.fill" catalog="system" width="116" height="128"/>
  191. </resources>
  192. </document>