NCPlayerToolBar.xib 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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="15" translatesAutoresizingMaskIntoConstraints="NO" id="XfW-XC-eMf" userLabel="Player Top Tool Bar">
  19. <rect key="frame" x="329" y="58" width="75" height="35"/>
  20. <subviews>
  21. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qqZ-QN-TsW">
  22. <rect key="frame" x="5" y="5" width="25" height="25"/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="25" id="S3q-Dj-i67"/>
  25. <constraint firstAttribute="width" constant="25" id="rg2-EW-KJX"/>
  26. </constraints>
  27. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  28. <state key="normal" image="captions.bubble" catalog="system"/>
  29. <connections>
  30. <action selector="tapSubTitle:" destination="iN0-l3-epB" eventType="touchUpInside" id="ooC-tL-TBX"/>
  31. </connections>
  32. </button>
  33. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sMY-qo-4CE">
  34. <rect key="frame" x="45" y="5" width="25" height="25"/>
  35. <constraints>
  36. <constraint firstAttribute="height" constant="25" id="kui-Ih-KqM"/>
  37. <constraint firstAttribute="width" constant="25" id="zUF-5q-I6f"/>
  38. </constraints>
  39. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  40. <state key="normal" image="speaker.zzz" catalog="system"/>
  41. <connections>
  42. <action selector="tapAudio:" destination="iN0-l3-epB" eventType="touchUpInside" id="EVU-fE-n5T"/>
  43. </connections>
  44. </button>
  45. </subviews>
  46. <directionalEdgeInsets key="directionalLayoutMargins" top="5" leading="5" bottom="5" trailing="5"/>
  47. </stackView>
  48. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UlI-V1-Wz3">
  49. <rect key="frame" x="331" y="103" width="83" height="681"/>
  50. <subviews>
  51. <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" minValue="0.0" maxValue="1" translatesAutoresizingMaskIntoConstraints="NO" id="Jec-GX-2dX">
  52. <rect key="frame" x="31" y="325.5" width="54" height="31"/>
  53. <constraints>
  54. <constraint firstAttribute="width" constant="50" id="tyN-ZD-51M"/>
  55. </constraints>
  56. <userDefinedRuntimeAttributes>
  57. <userDefinedRuntimeAttribute type="string" keyPath="layer.transform.rotation.z" value="-1.570795"/>
  58. </userDefinedRuntimeAttributes>
  59. </slider>
  60. </subviews>
  61. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  62. <constraints>
  63. <constraint firstAttribute="trailing" secondItem="Jec-GX-2dX" secondAttribute="trailing" id="pwZ-O5-ybP"/>
  64. <constraint firstItem="Jec-GX-2dX" firstAttribute="centerY" secondItem="UlI-V1-Wz3" secondAttribute="centerY" id="qND-ic-m70"/>
  65. </constraints>
  66. </view>
  67. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="85m-50-8yp">
  68. <rect key="frame" x="10" y="794" width="394" height="58"/>
  69. <subviews>
  70. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ixi-yR-HDH" userLabel="Container play">
  71. <rect key="frame" x="0.0" y="0.0" width="118" height="58"/>
  72. <subviews>
  73. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uP7-aY-x4n">
  74. <rect key="frame" x="3.5" y="9" width="40" height="40"/>
  75. <constraints>
  76. <constraint firstAttribute="width" constant="40" id="0jv-Tl-Nch"/>
  77. <constraint firstAttribute="height" constant="40" id="jnZ-cX-iJY"/>
  78. </constraints>
  79. <state key="normal" image="gobackward.10" catalog="system"/>
  80. <connections>
  81. <action selector="tapBack:" destination="iN0-l3-epB" eventType="touchUpInside" id="q3g-BH-iUc"/>
  82. </connections>
  83. </button>
  84. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hx9-d5-yiD">
  85. <rect key="frame" x="39" y="9" width="40" height="40"/>
  86. <constraints>
  87. <constraint firstAttribute="width" constant="40" id="Ime-ag-2Hm"/>
  88. <constraint firstAttribute="height" constant="40" id="snM-fJ-0LV"/>
  89. </constraints>
  90. <state key="normal">
  91. <imageReference key="image" image="play.fill" catalog="system" symbolScale="default"/>
  92. <preferredSymbolConfiguration key="preferredSymbolConfiguration" scale="default"/>
  93. </state>
  94. <connections>
  95. <action selector="tapPlayerPause:" destination="iN0-l3-epB" eventType="touchUpInside" id="XHf-om-3g9"/>
  96. </connections>
  97. </button>
  98. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bGn-IC-3V1">
  99. <rect key="frame" x="74.5" y="9" width="40" height="40"/>
  100. <constraints>
  101. <constraint firstAttribute="height" constant="40" id="VDT-no-B6f"/>
  102. <constraint firstAttribute="width" constant="40" id="eA5-wy-Sqb"/>
  103. </constraints>
  104. <state key="normal" image="goforward.10" catalog="system"/>
  105. <connections>
  106. <action selector="tapForward:" destination="iN0-l3-epB" eventType="touchUpInside" id="45z-IH-Fyr"/>
  107. </connections>
  108. </button>
  109. </subviews>
  110. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  111. <constraints>
  112. <constraint firstItem="hx9-d5-yiD" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="Brn-9w-mrJ"/>
  113. <constraint firstItem="bGn-IC-3V1" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="JBD-51-iYm"/>
  114. <constraint firstItem="uP7-aY-x4n" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="MPU-Hg-zQa"/>
  115. <constraint firstItem="hx9-d5-yiD" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" id="Vyv-jg-Cwu"/>
  116. <constraint firstItem="uP7-aY-x4n" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" multiplier="0.4" id="bwk-Bx-qVb"/>
  117. <constraint firstItem="bGn-IC-3V1" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" multiplier="1.6" id="wJP-ph-5c5"/>
  118. </constraints>
  119. </view>
  120. <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" minValue="0.0" maxValue="1" translatesAutoresizingMaskIntoConstraints="NO" id="MY0-FC-j88">
  121. <rect key="frame" x="121" y="14" width="265" height="31"/>
  122. </slider>
  123. <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">
  124. <rect key="frame" x="361.5" y="44" width="22.5" height="12"/>
  125. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  126. <nil key="textColor"/>
  127. <nil key="highlightedColor"/>
  128. </label>
  129. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--:--" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OHB-2J-Gqb">
  130. <rect key="frame" x="123" y="44" width="22.5" height="12"/>
  131. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  132. <nil key="textColor"/>
  133. <nil key="highlightedColor"/>
  134. </label>
  135. </subviews>
  136. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  137. <constraints>
  138. <constraint firstItem="ixi-yR-HDH" firstAttribute="centerY" secondItem="85m-50-8yp" secondAttribute="centerY" id="5sz-fh-GbG"/>
  139. <constraint firstItem="OHB-2J-Gqb" firstAttribute="leading" secondItem="MY0-FC-j88" secondAttribute="leading" id="6n7-If-xdS"/>
  140. <constraint firstItem="ixi-yR-HDH" firstAttribute="height" secondItem="85m-50-8yp" secondAttribute="height" id="8xM-7l-FXN"/>
  141. <constraint firstAttribute="height" constant="58" id="9Uv-dV-to4"/>
  142. <constraint firstItem="svM-TQ-AyQ" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="Aan-ac-nr9"/>
  143. <constraint firstItem="MY0-FC-j88" firstAttribute="leading" secondItem="ixi-yR-HDH" secondAttribute="trailing" constant="5" id="BAz-4C-w3A"/>
  144. <constraint firstAttribute="trailing" secondItem="svM-TQ-AyQ" secondAttribute="trailing" constant="10" id="JXl-DO-x6b"/>
  145. <constraint firstItem="ixi-yR-HDH" firstAttribute="leading" secondItem="85m-50-8yp" secondAttribute="leading" id="Kh2-nU-bMU"/>
  146. <constraint firstItem="ixi-yR-HDH" firstAttribute="width" secondItem="85m-50-8yp" secondAttribute="width" multiplier="0.3" id="gXG-4n-Ee3"/>
  147. <constraint firstAttribute="trailing" secondItem="MY0-FC-j88" secondAttribute="trailing" constant="10" id="hBO-J2-Kdo"/>
  148. <constraint firstItem="OHB-2J-Gqb" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="jdb-Vq-WoF"/>
  149. <constraint firstItem="MY0-FC-j88" firstAttribute="centerY" secondItem="85m-50-8yp" secondAttribute="centerY" id="lG8-DN-rTE"/>
  150. </constraints>
  151. </view>
  152. </subviews>
  153. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  154. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  155. <constraints>
  156. <constraint firstItem="85m-50-8yp" firstAttribute="top" secondItem="UlI-V1-Wz3" secondAttribute="bottom" constant="10" id="2mJ-aK-dch"/>
  157. <constraint firstItem="85m-50-8yp" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="10" id="5H2-Gg-PEb"/>
  158. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="85m-50-8yp" secondAttribute="trailing" constant="10" id="BXT-Qo-qFl"/>
  159. <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="85m-50-8yp" secondAttribute="bottom" constant="10" id="N7Q-PF-7lb"/>
  160. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="UlI-V1-Wz3" secondAttribute="trailing" id="dmY-RB-YLe"/>
  161. <constraint firstItem="XfW-XC-eMf" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="10" id="fq3-6h-kkx"/>
  162. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="XfW-XC-eMf" secondAttribute="trailing" constant="10" id="uYG-Ai-CGv"/>
  163. <constraint firstItem="UlI-V1-Wz3" firstAttribute="top" secondItem="XfW-XC-eMf" secondAttribute="bottom" constant="10" id="zFs-be-FCU"/>
  164. <constraint firstItem="UlI-V1-Wz3" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="0.2" id="zVc-qr-lZr"/>
  165. </constraints>
  166. <connections>
  167. <outlet property="audioButton" destination="sMY-qo-4CE" id="R7Q-de-Dsv"/>
  168. <outlet property="backButton" destination="uP7-aY-x4n" id="SyC-qV-IMq"/>
  169. <outlet property="forwardButton" destination="bGn-IC-3V1" id="0OZ-f2-eWU"/>
  170. <outlet property="labelCurrentTime" destination="OHB-2J-Gqb" id="pFy-CJ-x2A"/>
  171. <outlet property="labelLeftTime" destination="svM-TQ-AyQ" id="UDV-Lh-12z"/>
  172. <outlet property="playButton" destination="hx9-d5-yiD" id="Enk-Ge-2Yx"/>
  173. <outlet property="playbackSlider" destination="MY0-FC-j88" id="bVe-Kc-80k"/>
  174. <outlet property="playerToolBarView" destination="85m-50-8yp" id="eZK-p1-v65"/>
  175. <outlet property="playerTopToolBarView" destination="XfW-XC-eMf" id="Qdp-IW-YhT"/>
  176. <outlet property="subtitleButton" destination="qqZ-QN-TsW" id="XCP-hb-eZB"/>
  177. <outlet property="volumeSlider" destination="Jec-GX-2dX" id="p6t-7N-Cfr"/>
  178. <outlet property="volumeSliderConstraintTrailing" destination="pwZ-O5-ybP" id="ry2-tb-qrt"/>
  179. <outlet property="volumeSliderConstraintWidth" destination="tyN-ZD-51M" id="Jgs-Kj-QQ7"/>
  180. <outlet property="volumeView" destination="UlI-V1-Wz3" id="x2N-4V-o1N"/>
  181. </connections>
  182. <point key="canvasLocation" x="137.68115942028987" y="152.67857142857142"/>
  183. </view>
  184. </objects>
  185. <resources>
  186. <image name="captions.bubble" catalog="system" width="128" height="110"/>
  187. <image name="gobackward.10" catalog="system" width="119" height="128"/>
  188. <image name="goforward.10" catalog="system" width="119" height="128"/>
  189. <image name="play.fill" catalog="system" width="117" height="128"/>
  190. <image name="speaker.zzz" catalog="system" width="128" height="83"/>
  191. </resources>
  192. </document>