NCPlayerToolBar.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. <stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="XfW-XC-eMf" userLabel="Player Top Tool Bar">
  19. <rect key="frame" x="299" y="54" width="105" height="35"/>
  20. <subviews>
  21. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="a3d-ja-utA">
  22. <rect key="frame" x="5" y="5" width="25" height="25"/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="25" id="TIW-zu-jSX"/>
  25. <constraint firstAttribute="width" constant="25" id="jR3-bv-VnZ"/>
  26. </constraints>
  27. <state key="normal" image="pip.enter" catalog="system"/>
  28. <connections>
  29. <action selector="tapPip:" destination="iN0-l3-epB" eventType="touchUpInside" id="fB5-g1-OnB"/>
  30. </connections>
  31. </button>
  32. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Mqe-Hd-USv">
  33. <rect key="frame" x="40" y="5" width="25" height="25"/>
  34. <constraints>
  35. <constraint firstAttribute="width" constant="25" id="HQs-6R-hb9"/>
  36. <constraint firstAttribute="height" constant="25" id="s43-Qc-Shn"/>
  37. </constraints>
  38. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  39. <state key="normal" image="captions.bubble" catalog="system"/>
  40. <connections>
  41. <action selector="tapSubtitle:" destination="iN0-l3-epB" eventType="touchUpInside" id="Cxi-6E-bKD"/>
  42. </connections>
  43. </button>
  44. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Fml-c2-FMY">
  45. <rect key="frame" x="75" y="5" width="25" height="25"/>
  46. <constraints>
  47. <constraint firstAttribute="width" constant="25" id="S8g-UR-4zh"/>
  48. <constraint firstAttribute="height" constant="25" id="zjo-O1-SI2"/>
  49. </constraints>
  50. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  51. <state key="normal" image="audioOn"/>
  52. <connections>
  53. <action selector="tapMute:" destination="iN0-l3-epB" eventType="touchUpInside" id="FWr-cn-Pgw"/>
  54. </connections>
  55. </button>
  56. </subviews>
  57. <directionalEdgeInsets key="directionalLayoutMargins" top="5" leading="5" bottom="5" trailing="5"/>
  58. </stackView>
  59. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="85m-50-8yp">
  60. <rect key="frame" x="10" y="794" width="394" height="58"/>
  61. <subviews>
  62. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ixi-yR-HDH" userLabel="Container play">
  63. <rect key="frame" x="0.0" y="0.0" width="118" height="58"/>
  64. <subviews>
  65. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uP7-aY-x4n">
  66. <rect key="frame" x="3.5" y="9" width="40" height="40"/>
  67. <constraints>
  68. <constraint firstAttribute="width" constant="40" id="0jv-Tl-Nch"/>
  69. <constraint firstAttribute="height" constant="40" id="jnZ-cX-iJY"/>
  70. </constraints>
  71. <state key="normal" image="gobackward.10" catalog="system"/>
  72. <connections>
  73. <action selector="tapBack:" destination="iN0-l3-epB" eventType="touchUpInside" id="q3g-BH-iUc"/>
  74. </connections>
  75. </button>
  76. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hx9-d5-yiD">
  77. <rect key="frame" x="39" y="9" width="40" height="40"/>
  78. <constraints>
  79. <constraint firstAttribute="width" constant="40" id="Ime-ag-2Hm"/>
  80. <constraint firstAttribute="height" constant="40" id="snM-fJ-0LV"/>
  81. </constraints>
  82. <state key="normal">
  83. <imageReference key="image" image="play.fill" catalog="system" symbolScale="default"/>
  84. <preferredSymbolConfiguration key="preferredSymbolConfiguration" scale="default"/>
  85. </state>
  86. <connections>
  87. <action selector="tapPlayerPause:" destination="iN0-l3-epB" eventType="touchUpInside" id="XHf-om-3g9"/>
  88. </connections>
  89. </button>
  90. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bGn-IC-3V1">
  91. <rect key="frame" x="74.5" y="9" width="40" height="40"/>
  92. <constraints>
  93. <constraint firstAttribute="height" constant="40" id="VDT-no-B6f"/>
  94. <constraint firstAttribute="width" constant="40" id="eA5-wy-Sqb"/>
  95. </constraints>
  96. <state key="normal" image="goforward.10" catalog="system"/>
  97. <connections>
  98. <action selector="tapForward:" destination="iN0-l3-epB" eventType="touchUpInside" id="45z-IH-Fyr"/>
  99. </connections>
  100. </button>
  101. </subviews>
  102. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  103. <constraints>
  104. <constraint firstItem="hx9-d5-yiD" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="Brn-9w-mrJ"/>
  105. <constraint firstItem="bGn-IC-3V1" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="JBD-51-iYm"/>
  106. <constraint firstItem="uP7-aY-x4n" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="MPU-Hg-zQa"/>
  107. <constraint firstItem="hx9-d5-yiD" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" id="Vyv-jg-Cwu"/>
  108. <constraint firstItem="uP7-aY-x4n" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" multiplier="0.4" id="bwk-Bx-qVb"/>
  109. <constraint firstItem="bGn-IC-3V1" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" multiplier="1.6" id="wJP-ph-5c5"/>
  110. </constraints>
  111. </view>
  112. <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">
  113. <rect key="frame" x="121" y="14" width="265" height="31"/>
  114. </slider>
  115. <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">
  116. <rect key="frame" x="338.5" y="44" width="45.5" height="12"/>
  117. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  118. <nil key="textColor"/>
  119. <nil key="highlightedColor"/>
  120. </label>
  121. <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">
  122. <rect key="frame" x="123" y="44" width="45" height="12"/>
  123. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  124. <nil key="textColor"/>
  125. <nil key="highlightedColor"/>
  126. </label>
  127. </subviews>
  128. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  129. <constraints>
  130. <constraint firstItem="ixi-yR-HDH" firstAttribute="centerY" secondItem="85m-50-8yp" secondAttribute="centerY" id="5sz-fh-GbG"/>
  131. <constraint firstItem="OHB-2J-Gqb" firstAttribute="leading" secondItem="MY0-FC-j88" secondAttribute="leading" id="6n7-If-xdS"/>
  132. <constraint firstItem="ixi-yR-HDH" firstAttribute="height" secondItem="85m-50-8yp" secondAttribute="height" id="8xM-7l-FXN"/>
  133. <constraint firstAttribute="height" constant="58" id="9Uv-dV-to4"/>
  134. <constraint firstItem="svM-TQ-AyQ" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="Aan-ac-nr9"/>
  135. <constraint firstItem="MY0-FC-j88" firstAttribute="leading" secondItem="ixi-yR-HDH" secondAttribute="trailing" constant="5" id="BAz-4C-w3A"/>
  136. <constraint firstAttribute="trailing" secondItem="svM-TQ-AyQ" secondAttribute="trailing" constant="10" id="JXl-DO-x6b"/>
  137. <constraint firstItem="ixi-yR-HDH" firstAttribute="leading" secondItem="85m-50-8yp" secondAttribute="leading" id="Kh2-nU-bMU"/>
  138. <constraint firstItem="ixi-yR-HDH" firstAttribute="width" secondItem="85m-50-8yp" secondAttribute="width" multiplier="0.3" id="gXG-4n-Ee3"/>
  139. <constraint firstAttribute="trailing" secondItem="MY0-FC-j88" secondAttribute="trailing" constant="10" id="hBO-J2-Kdo"/>
  140. <constraint firstItem="OHB-2J-Gqb" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="jdb-Vq-WoF"/>
  141. <constraint firstItem="MY0-FC-j88" firstAttribute="centerY" secondItem="85m-50-8yp" secondAttribute="centerY" id="lG8-DN-rTE"/>
  142. </constraints>
  143. </view>
  144. </subviews>
  145. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  146. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  147. <constraints>
  148. <constraint firstItem="85m-50-8yp" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="10" id="5H2-Gg-PEb"/>
  149. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="85m-50-8yp" secondAttribute="trailing" constant="10" id="BXT-Qo-qFl"/>
  150. <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="85m-50-8yp" secondAttribute="bottom" constant="10" id="N7Q-PF-7lb"/>
  151. <constraint firstItem="XfW-XC-eMf" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="10" id="fq3-6h-kkx"/>
  152. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="XfW-XC-eMf" secondAttribute="trailing" constant="10" id="uYG-Ai-CGv"/>
  153. </constraints>
  154. <connections>
  155. <outlet property="backButton" destination="uP7-aY-x4n" id="SyC-qV-IMq"/>
  156. <outlet property="forwardButton" destination="bGn-IC-3V1" id="0OZ-f2-eWU"/>
  157. <outlet property="labelCurrentTime" destination="OHB-2J-Gqb" id="pFy-CJ-x2A"/>
  158. <outlet property="labelLeftTime" destination="svM-TQ-AyQ" id="UDV-Lh-12z"/>
  159. <outlet property="muteButton" destination="Fml-c2-FMY" id="Fo1-Ep-ZPz"/>
  160. <outlet property="pipButton" destination="a3d-ja-utA" id="9nt-RD-IXd"/>
  161. <outlet property="playButton" destination="hx9-d5-yiD" id="Enk-Ge-2Yx"/>
  162. <outlet property="playbackSlider" destination="MY0-FC-j88" id="bVe-Kc-80k"/>
  163. <outlet property="playerToolBarView" destination="85m-50-8yp" id="eZK-p1-v65"/>
  164. <outlet property="playerTopToolBarView" destination="XfW-XC-eMf" id="Qdp-IW-YhT"/>
  165. <outlet property="subtitleButton" destination="Mqe-Hd-USv" id="ZHN-bf-WT5"/>
  166. </connections>
  167. <point key="canvasLocation" x="137.68115942028987" y="152.67857142857142"/>
  168. </view>
  169. </objects>
  170. <resources>
  171. <image name="audioOn" width="28" height="28"/>
  172. <image name="captions.bubble" catalog="system" width="128" height="110"/>
  173. <image name="gobackward.10" catalog="system" width="121" height="128"/>
  174. <image name="goforward.10" catalog="system" width="121" height="128"/>
  175. <image name="pip.enter" catalog="system" width="128" height="96"/>
  176. <image name="play.fill" catalog="system" width="116" height="128"/>
  177. </resources>
  178. </document>