NCPlayerToolBar.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23094" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina5_9" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23084"/>
  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="NCPlayerToolBar" customModule="Nextcloud" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="orv-9i-XUs">
  18. <rect key="frame" x="20" y="0.0" width="335" height="50"/>
  19. <subviews>
  20. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qqZ-QN-TsW">
  21. <rect key="frame" x="217" y="10" width="22.333333333333343" height="22"/>
  22. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  23. <state key="normal" image="captions.bubble" catalog="system"/>
  24. <connections>
  25. <action selector="tapSubTitle:" destination="iN0-l3-epB" eventType="touchUpInside" id="ooC-tL-TBX"/>
  26. </connections>
  27. </button>
  28. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sMY-qo-4CE">
  29. <rect key="frame" x="264.33333333333331" y="10" width="25.666666666666686" height="22"/>
  30. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  31. <state key="normal" image="speaker.zzz" catalog="system"/>
  32. <connections>
  33. <action selector="tapAudio:" destination="iN0-l3-epB" eventType="touchUpInside" id="EVU-fE-n5T"/>
  34. </connections>
  35. </button>
  36. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oOw-fT-A3E">
  37. <rect key="frame" x="315" y="10" width="20" height="22"/>
  38. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  39. <state key="normal" image="arrow.up.left.and.arrow.down.right" catalog="system"/>
  40. <connections>
  41. <action selector="tapFullscreen:" destination="iN0-l3-epB" eventType="touchUpInside" id="HC5-4P-VQi"/>
  42. </connections>
  43. </button>
  44. </subviews>
  45. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  46. <constraints>
  47. <constraint firstItem="sMY-qo-4CE" firstAttribute="top" secondItem="orv-9i-XUs" secondAttribute="top" constant="10" id="JN8-3O-was"/>
  48. <constraint firstAttribute="height" constant="50" id="OaO-1q-P0D"/>
  49. <constraint firstItem="sMY-qo-4CE" firstAttribute="leading" secondItem="qqZ-QN-TsW" secondAttribute="trailing" constant="25" id="Rwi-4K-cTW"/>
  50. <constraint firstItem="qqZ-QN-TsW" firstAttribute="top" secondItem="orv-9i-XUs" secondAttribute="top" constant="10" id="fZd-j6-JA8"/>
  51. <constraint firstItem="oOw-fT-A3E" firstAttribute="leading" secondItem="sMY-qo-4CE" secondAttribute="trailing" constant="25" id="gqw-nr-jbR"/>
  52. <constraint firstAttribute="trailing" secondItem="oOw-fT-A3E" secondAttribute="trailing" id="ttU-3o-teH"/>
  53. <constraint firstItem="oOw-fT-A3E" firstAttribute="top" secondItem="orv-9i-XUs" secondAttribute="top" constant="10" id="wIn-Zg-sHa"/>
  54. </constraints>
  55. </view>
  56. <stackView opaque="NO" contentMode="scaleToFill" distribution="equalSpacing" alignment="center" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="ncM-9U-phl" userLabel="Player Top Tool Bar">
  57. <rect key="frame" x="125.33333333333334" y="389.66666666666669" width="124.33333333333334" height="32.666666666666686"/>
  58. <subviews>
  59. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xja-nq-uD3">
  60. <rect key="frame" x="5.0000000000000142" y="5.0000000000000018" width="19.666666666666668" height="22.666666666666671"/>
  61. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  62. <state key="normal" image="10.arrow.trianglehead.counterclockwise" catalog="system"/>
  63. <connections>
  64. <action selector="tapBack:" destination="iN0-l3-epB" eventType="touchUpInside" id="dam-FU-7fD"/>
  65. </connections>
  66. </button>
  67. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qo0-x8-OfL">
  68. <rect key="frame" x="54.666666666666671" y="5.3333333333333144" width="15" height="22"/>
  69. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  70. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  71. <state key="normal" image="play.fill" catalog="system"/>
  72. <connections>
  73. <action selector="tapPlayerPause:" destination="iN0-l3-epB" eventType="touchUpInside" id="XcN-Tk-ad8"/>
  74. </connections>
  75. </button>
  76. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5Zd-By-Fko">
  77. <rect key="frame" x="99.666666666666671" y="5.0000000000000018" width="19.666666666666671" height="22.666666666666671"/>
  78. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  79. <state key="normal" image="10.arrow.trianglehead.clockwise" catalog="system"/>
  80. <connections>
  81. <action selector="tapForward:" destination="iN0-l3-epB" eventType="touchUpInside" id="MAM-Kd-NXu"/>
  82. </connections>
  83. </button>
  84. </subviews>
  85. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  86. <directionalEdgeInsets key="directionalLayoutMargins" top="5" leading="5" bottom="5" trailing="5"/>
  87. </stackView>
  88. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="85m-50-8yp">
  89. <rect key="frame" x="0.0" y="662" width="375" height="150"/>
  90. <subviews>
  91. <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" minValue="0.0" maxValue="1" translatesAutoresizingMaskIntoConstraints="NO" id="MY0-FC-j88" customClass="NCPlayerToolBarSlider" customModule="Nextcloud" customModuleProvider="target">
  92. <rect key="frame" x="48" y="70" width="277" height="31"/>
  93. </slider>
  94. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--:--" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="svM-TQ-AyQ">
  95. <rect key="frame" x="300.33333333333331" y="100" width="22.666666666666686" height="12"/>
  96. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  97. <nil key="textColor"/>
  98. <nil key="highlightedColor"/>
  99. </label>
  100. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--:--" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OHB-2J-Gqb">
  101. <rect key="frame" x="50" y="100" width="22.666666666666671" height="12"/>
  102. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  103. <nil key="textColor"/>
  104. <nil key="highlightedColor"/>
  105. </label>
  106. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VLW-it-fXU">
  107. <rect key="frame" x="333" y="74" width="22" height="22"/>
  108. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  109. <state key="normal" image="repeat" catalog="system"/>
  110. <connections>
  111. <action selector="tapRepeat:" destination="iN0-l3-epB" eventType="touchUpInside" id="Tas-6N-aTq"/>
  112. </connections>
  113. </button>
  114. </subviews>
  115. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  116. <constraints>
  117. <constraint firstItem="OHB-2J-Gqb" firstAttribute="leading" secondItem="MY0-FC-j88" secondAttribute="leading" id="6n7-If-xdS"/>
  118. <constraint firstAttribute="height" constant="150" id="9Uv-dV-to4"/>
  119. <constraint firstItem="svM-TQ-AyQ" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="Aan-ac-nr9"/>
  120. <constraint firstItem="MY0-FC-j88" firstAttribute="leading" secondItem="85m-50-8yp" secondAttribute="leading" constant="50" id="Hjo-k0-bpn"/>
  121. <constraint firstItem="VLW-it-fXU" firstAttribute="centerY" secondItem="MY0-FC-j88" secondAttribute="centerY" id="OYO-ej-jdC"/>
  122. <constraint firstItem="svM-TQ-AyQ" firstAttribute="trailing" secondItem="MY0-FC-j88" secondAttribute="trailing" id="gso-SX-bYq"/>
  123. <constraint firstItem="OHB-2J-Gqb" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="jdb-Vq-WoF"/>
  124. <constraint firstAttribute="trailing" secondItem="VLW-it-fXU" secondAttribute="trailing" constant="20" id="mZX-EK-qnC"/>
  125. <constraint firstItem="VLW-it-fXU" firstAttribute="leading" secondItem="MY0-FC-j88" secondAttribute="trailing" constant="10" id="vSb-In-qqx"/>
  126. <constraint firstItem="MY0-FC-j88" firstAttribute="top" secondItem="85m-50-8yp" secondAttribute="top" constant="70" id="xFW-iH-iIj"/>
  127. </constraints>
  128. </view>
  129. </subviews>
  130. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  131. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  132. <constraints>
  133. <constraint firstItem="85m-50-8yp" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="5H2-Gg-PEb"/>
  134. <constraint firstAttribute="trailing" secondItem="85m-50-8yp" secondAttribute="trailing" id="BXT-Qo-qFl"/>
  135. <constraint firstItem="ncM-9U-phl" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="DAA-xj-35k"/>
  136. <constraint firstAttribute="bottom" secondItem="85m-50-8yp" secondAttribute="bottom" id="N7Q-PF-7lb"/>
  137. <constraint firstAttribute="trailing" secondItem="orv-9i-XUs" secondAttribute="trailing" constant="20" id="Nnr-hx-a2V"/>
  138. <constraint firstItem="ncM-9U-phl" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="dPB-Kf-Ad7"/>
  139. <constraint firstItem="orv-9i-XUs" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="xBn-BF-JVz"/>
  140. <constraint firstItem="orv-9i-XUs" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="yFO-0l-kuQ"/>
  141. </constraints>
  142. <connections>
  143. <outlet property="audioButton" destination="sMY-qo-4CE" id="R7Q-de-Dsv"/>
  144. <outlet property="backButton" destination="xja-nq-uD3" id="l3U-Mo-DEL"/>
  145. <outlet property="forwardButton" destination="5Zd-By-Fko" id="ocQ-YT-Rwm"/>
  146. <outlet property="fullscreenButton" destination="oOw-fT-A3E" id="D9a-Tf-vzm"/>
  147. <outlet property="labelCurrentTime" destination="OHB-2J-Gqb" id="pFy-CJ-x2A"/>
  148. <outlet property="labelLeftTime" destination="svM-TQ-AyQ" id="UDV-Lh-12z"/>
  149. <outlet property="playButton" destination="qo0-x8-OfL" id="m4a-gb-D0J"/>
  150. <outlet property="playbackSlider" destination="MY0-FC-j88" id="bVe-Kc-80k"/>
  151. <outlet property="playbackSliderView" destination="85m-50-8yp" id="SOs-XA-Mgh"/>
  152. <outlet property="playerButtonView" destination="ncM-9U-phl" id="aTD-g1-xGg"/>
  153. <outlet property="repeatButton" destination="VLW-it-fXU" id="WER-bj-rHK"/>
  154. <outlet property="subtitleButton" destination="qqZ-QN-TsW" id="XCP-hb-eZB"/>
  155. <outlet property="utilityView" destination="orv-9i-XUs" id="AGX-4E-dOr"/>
  156. </connections>
  157. <point key="canvasLocation" x="136.80000000000001" y="152.21674876847291"/>
  158. </view>
  159. </objects>
  160. <resources>
  161. <image name="10.arrow.trianglehead.clockwise" catalog="system" width="119" height="128"/>
  162. <image name="10.arrow.trianglehead.counterclockwise" catalog="system" width="119" height="128"/>
  163. <image name="arrow.up.left.and.arrow.down.right" catalog="system" width="128" height="115"/>
  164. <image name="captions.bubble" catalog="system" width="128" height="110"/>
  165. <image name="play.fill" catalog="system" width="120" height="128"/>
  166. <image name="repeat" catalog="system" width="128" height="98"/>
  167. <image name="speaker.zzz" catalog="system" width="128" height="83"/>
  168. </resources>
  169. </document>