NCPlayerToolBar.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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="85m-50-8yp">
  49. <rect key="frame" x="10" y="794" width="394" height="58"/>
  50. <subviews>
  51. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ixi-yR-HDH" userLabel="Container play">
  52. <rect key="frame" x="0.0" y="0.0" width="118" height="58"/>
  53. <subviews>
  54. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uP7-aY-x4n">
  55. <rect key="frame" x="3.5" y="9" width="40" height="40"/>
  56. <constraints>
  57. <constraint firstAttribute="width" constant="40" id="0jv-Tl-Nch"/>
  58. <constraint firstAttribute="height" constant="40" id="jnZ-cX-iJY"/>
  59. </constraints>
  60. <state key="normal" image="gobackward.10" catalog="system"/>
  61. <connections>
  62. <action selector="tapBack:" destination="iN0-l3-epB" eventType="touchUpInside" id="q3g-BH-iUc"/>
  63. </connections>
  64. </button>
  65. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hx9-d5-yiD">
  66. <rect key="frame" x="39" y="9" width="40" height="40"/>
  67. <constraints>
  68. <constraint firstAttribute="width" constant="40" id="Ime-ag-2Hm"/>
  69. <constraint firstAttribute="height" constant="40" id="snM-fJ-0LV"/>
  70. </constraints>
  71. <state key="normal">
  72. <imageReference key="image" image="play.fill" catalog="system" symbolScale="default"/>
  73. <preferredSymbolConfiguration key="preferredSymbolConfiguration" scale="default"/>
  74. </state>
  75. <connections>
  76. <action selector="tapPlayerPause:" destination="iN0-l3-epB" eventType="touchUpInside" id="XHf-om-3g9"/>
  77. </connections>
  78. </button>
  79. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bGn-IC-3V1">
  80. <rect key="frame" x="74.5" y="9" width="40" height="40"/>
  81. <constraints>
  82. <constraint firstAttribute="height" constant="40" id="VDT-no-B6f"/>
  83. <constraint firstAttribute="width" constant="40" id="eA5-wy-Sqb"/>
  84. </constraints>
  85. <state key="normal" image="goforward.10" catalog="system"/>
  86. <connections>
  87. <action selector="tapForward:" destination="iN0-l3-epB" eventType="touchUpInside" id="45z-IH-Fyr"/>
  88. </connections>
  89. </button>
  90. </subviews>
  91. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  92. <constraints>
  93. <constraint firstItem="hx9-d5-yiD" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="Brn-9w-mrJ"/>
  94. <constraint firstItem="bGn-IC-3V1" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="JBD-51-iYm"/>
  95. <constraint firstItem="uP7-aY-x4n" firstAttribute="centerY" secondItem="ixi-yR-HDH" secondAttribute="centerY" id="MPU-Hg-zQa"/>
  96. <constraint firstItem="hx9-d5-yiD" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" id="Vyv-jg-Cwu"/>
  97. <constraint firstItem="uP7-aY-x4n" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" multiplier="0.4" id="bwk-Bx-qVb"/>
  98. <constraint firstItem="bGn-IC-3V1" firstAttribute="centerX" secondItem="ixi-yR-HDH" secondAttribute="centerX" multiplier="1.6" id="wJP-ph-5c5"/>
  99. </constraints>
  100. </view>
  101. <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" minValue="0.0" maxValue="1" translatesAutoresizingMaskIntoConstraints="NO" id="MY0-FC-j88">
  102. <rect key="frame" x="121" y="14" width="265" height="31"/>
  103. </slider>
  104. <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">
  105. <rect key="frame" x="361.5" y="44" width="22.5" height="12"/>
  106. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  107. <nil key="textColor"/>
  108. <nil key="highlightedColor"/>
  109. </label>
  110. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--:--" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OHB-2J-Gqb">
  111. <rect key="frame" x="123" y="44" width="22.5" height="12"/>
  112. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  113. <nil key="textColor"/>
  114. <nil key="highlightedColor"/>
  115. </label>
  116. </subviews>
  117. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  118. <constraints>
  119. <constraint firstItem="ixi-yR-HDH" firstAttribute="centerY" secondItem="85m-50-8yp" secondAttribute="centerY" id="5sz-fh-GbG"/>
  120. <constraint firstItem="OHB-2J-Gqb" firstAttribute="leading" secondItem="MY0-FC-j88" secondAttribute="leading" id="6n7-If-xdS"/>
  121. <constraint firstItem="ixi-yR-HDH" firstAttribute="height" secondItem="85m-50-8yp" secondAttribute="height" id="8xM-7l-FXN"/>
  122. <constraint firstAttribute="height" constant="58" id="9Uv-dV-to4"/>
  123. <constraint firstItem="svM-TQ-AyQ" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="Aan-ac-nr9"/>
  124. <constraint firstItem="MY0-FC-j88" firstAttribute="leading" secondItem="ixi-yR-HDH" secondAttribute="trailing" constant="5" id="BAz-4C-w3A"/>
  125. <constraint firstAttribute="trailing" secondItem="svM-TQ-AyQ" secondAttribute="trailing" constant="10" id="JXl-DO-x6b"/>
  126. <constraint firstItem="ixi-yR-HDH" firstAttribute="leading" secondItem="85m-50-8yp" secondAttribute="leading" id="Kh2-nU-bMU"/>
  127. <constraint firstItem="ixi-yR-HDH" firstAttribute="width" secondItem="85m-50-8yp" secondAttribute="width" multiplier="0.3" id="gXG-4n-Ee3"/>
  128. <constraint firstAttribute="trailing" secondItem="MY0-FC-j88" secondAttribute="trailing" constant="10" id="hBO-J2-Kdo"/>
  129. <constraint firstItem="OHB-2J-Gqb" firstAttribute="top" secondItem="MY0-FC-j88" secondAttribute="bottom" id="jdb-Vq-WoF"/>
  130. <constraint firstItem="MY0-FC-j88" firstAttribute="centerY" secondItem="85m-50-8yp" secondAttribute="centerY" id="lG8-DN-rTE"/>
  131. </constraints>
  132. </view>
  133. </subviews>
  134. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  135. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  136. <constraints>
  137. <constraint firstItem="85m-50-8yp" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="10" id="5H2-Gg-PEb"/>
  138. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="85m-50-8yp" secondAttribute="trailing" constant="10" id="BXT-Qo-qFl"/>
  139. <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="85m-50-8yp" secondAttribute="bottom" constant="10" id="N7Q-PF-7lb"/>
  140. <constraint firstItem="XfW-XC-eMf" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="10" id="fq3-6h-kkx"/>
  141. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="XfW-XC-eMf" secondAttribute="trailing" constant="10" id="uYG-Ai-CGv"/>
  142. </constraints>
  143. <connections>
  144. <outlet property="audioButton" destination="sMY-qo-4CE" id="R7Q-de-Dsv"/>
  145. <outlet property="backButton" destination="uP7-aY-x4n" id="SyC-qV-IMq"/>
  146. <outlet property="forwardButton" destination="bGn-IC-3V1" id="0OZ-f2-eWU"/>
  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="hx9-d5-yiD" id="Enk-Ge-2Yx"/>
  150. <outlet property="playbackSlider" destination="MY0-FC-j88" id="bVe-Kc-80k"/>
  151. <outlet property="playerToolBarView" destination="85m-50-8yp" id="eZK-p1-v65"/>
  152. <outlet property="playerTopToolBarView" destination="XfW-XC-eMf" id="Qdp-IW-YhT"/>
  153. <outlet property="subtitleButton" destination="qqZ-QN-TsW" id="XCP-hb-eZB"/>
  154. </connections>
  155. <point key="canvasLocation" x="137.68115942028987" y="152.67857142857142"/>
  156. </view>
  157. </objects>
  158. <resources>
  159. <image name="captions.bubble" catalog="system" width="128" height="110"/>
  160. <image name="gobackward.10" catalog="system" width="119" height="128"/>
  161. <image name="goforward.10" catalog="system" width="119" height="128"/>
  162. <image name="play.fill" catalog="system" width="117" height="128"/>
  163. <image name="speaker.zzz" catalog="system" width="128" height="83"/>
  164. </resources>
  165. </document>