NCMediaCommandView.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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_12" 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="NCMediaCommandView" customModule="Nextcloud" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <visualEffectView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="i1s-Qa-dG1">
  19. <rect key="frame" x="297" y="69" width="40" height="40"/>
  20. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="e3Q-e0-SQa">
  21. <rect key="frame" x="0.0" y="0.0" width="40" height="40"/>
  22. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23. <subviews>
  24. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jSO-Vb-jcU">
  25. <rect key="frame" x="0.0" y="0.0" width="40" height="40"/>
  26. <constraints>
  27. <constraint firstAttribute="width" constant="40" id="5zz-h5-hx9"/>
  28. <constraint firstAttribute="height" constant="40" id="lzK-bd-NlR"/>
  29. </constraints>
  30. <color key="tintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  31. <inset key="imageEdgeInsets" minX="12" minY="12" maxX="12" maxY="12"/>
  32. <state key="normal" image="plus.slash.minus" catalog="system">
  33. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  34. </state>
  35. <state key="disabled">
  36. <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  37. </state>
  38. <connections>
  39. <action selector="gridSwitchButtonPressed:" destination="iN0-l3-epB" eventType="touchUpInside" id="0jB-EV-iMe"/>
  40. </connections>
  41. </button>
  42. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZkU-dK-sp1">
  43. <rect key="frame" x="0.0" y="0.0" width="19.666666666666668" height="40"/>
  44. <color key="tintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  45. <inset key="imageEdgeInsets" minX="12" minY="12" maxX="12" maxY="12"/>
  46. <state key="normal" image="plus" catalog="system">
  47. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  48. </state>
  49. <state key="disabled">
  50. <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  51. </state>
  52. <connections>
  53. <action selector="zoomInPressed:" destination="iN0-l3-epB" eventType="touchUpInside" id="YPO-oL-Gf5"/>
  54. </connections>
  55. </button>
  56. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NwM-bk-QAK">
  57. <rect key="frame" x="19.666666666666686" y="8" width="1" height="24"/>
  58. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  59. <constraints>
  60. <constraint firstAttribute="width" constant="1" id="1cE-rd-mYI"/>
  61. </constraints>
  62. </view>
  63. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="swp-Cd-CbD">
  64. <rect key="frame" x="20.666666666666686" y="0.0" width="19.333333333333329" height="40"/>
  65. <color key="tintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  66. <inset key="imageEdgeInsets" minX="12" minY="12" maxX="12" maxY="12"/>
  67. <state key="normal">
  68. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  69. <imageReference key="image" image="minus" catalog="system" symbolScale="default"/>
  70. </state>
  71. <state key="disabled">
  72. <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  73. </state>
  74. <connections>
  75. <action selector="zoomOutPressed:" destination="iN0-l3-epB" eventType="touchUpInside" id="xIo-6p-l7h"/>
  76. </connections>
  77. </button>
  78. </subviews>
  79. <constraints>
  80. <constraint firstItem="NwM-bk-QAK" firstAttribute="top" secondItem="e3Q-e0-SQa" secondAttribute="top" constant="8" id="3V7-Bl-HeS"/>
  81. <constraint firstItem="jSO-Vb-jcU" firstAttribute="centerY" secondItem="e3Q-e0-SQa" secondAttribute="centerY" id="5ap-Yp-VlG"/>
  82. <constraint firstItem="NwM-bk-QAK" firstAttribute="centerX" secondItem="e3Q-e0-SQa" secondAttribute="centerX" id="70K-vU-VR6"/>
  83. <constraint firstItem="NwM-bk-QAK" firstAttribute="leading" secondItem="ZkU-dK-sp1" secondAttribute="trailing" id="Lcu-89-Iys"/>
  84. <constraint firstAttribute="bottom" secondItem="NwM-bk-QAK" secondAttribute="bottom" constant="8" id="O8t-uT-Dhh"/>
  85. <constraint firstItem="jSO-Vb-jcU" firstAttribute="centerX" secondItem="e3Q-e0-SQa" secondAttribute="centerX" id="YFf-Kh-lAp"/>
  86. <constraint firstAttribute="bottom" secondItem="swp-Cd-CbD" secondAttribute="bottom" id="dgT-Np-dTd"/>
  87. <constraint firstItem="ZkU-dK-sp1" firstAttribute="leading" secondItem="e3Q-e0-SQa" secondAttribute="leading" id="fyg-tQ-tfR"/>
  88. <constraint firstItem="ZkU-dK-sp1" firstAttribute="top" secondItem="e3Q-e0-SQa" secondAttribute="top" id="o2e-4h-ylb"/>
  89. <constraint firstAttribute="trailing" secondItem="swp-Cd-CbD" secondAttribute="trailing" id="oaa-Rc-bYC"/>
  90. <constraint firstItem="swp-Cd-CbD" firstAttribute="leading" secondItem="NwM-bk-QAK" secondAttribute="trailing" id="omu-Hf-g4C"/>
  91. <constraint firstAttribute="bottom" secondItem="ZkU-dK-sp1" secondAttribute="bottom" id="pfE-6t-fCg"/>
  92. <constraint firstItem="swp-Cd-CbD" firstAttribute="top" secondItem="e3Q-e0-SQa" secondAttribute="top" id="yoe-G6-vaw"/>
  93. </constraints>
  94. </view>
  95. <constraints>
  96. <constraint firstAttribute="height" constant="40" id="mEu-PL-xc2"/>
  97. <constraint firstAttribute="width" constant="40" id="wkm-j1-5v4"/>
  98. </constraints>
  99. <blurEffect style="regular"/>
  100. </visualEffectView>
  101. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IxY-xH-yZQ">
  102. <rect key="frame" x="8" y="69" width="281" height="40"/>
  103. <constraints>
  104. <constraint firstAttribute="height" constant="40" id="S6o-Pa-sxy"/>
  105. </constraints>
  106. <fontDescription key="fontDescription" type="boldSystem" pointSize="24"/>
  107. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  108. <nil key="highlightedColor"/>
  109. </label>
  110. <visualEffectView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="enp-xt-Y5y">
  111. <rect key="frame" x="345" y="69" width="40" height="40"/>
  112. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="KKR-Hr-av8">
  113. <rect key="frame" x="0.0" y="0.0" width="40" height="40"/>
  114. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  115. <subviews>
  116. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3qs-Hm-qLL">
  117. <rect key="frame" x="0.0" y="0.0" width="40" height="40"/>
  118. <color key="tintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  119. <inset key="imageEdgeInsets" minX="4" minY="4" maxX="4" maxY="4"/>
  120. <state key="normal" image="ellipsis" catalog="system"/>
  121. <connections>
  122. <action selector="moreButtonPressed:" destination="iN0-l3-epB" eventType="touchUpInside" id="EeF-Eg-Pqi"/>
  123. </connections>
  124. </button>
  125. </subviews>
  126. <constraints>
  127. <constraint firstAttribute="bottom" secondItem="3qs-Hm-qLL" secondAttribute="bottom" id="B32-ni-kC4"/>
  128. <constraint firstItem="3qs-Hm-qLL" firstAttribute="leading" secondItem="KKR-Hr-av8" secondAttribute="leading" id="NSe-Qy-mmd"/>
  129. <constraint firstItem="3qs-Hm-qLL" firstAttribute="top" secondItem="KKR-Hr-av8" secondAttribute="top" id="URa-a2-sfx"/>
  130. <constraint firstAttribute="trailing" secondItem="3qs-Hm-qLL" secondAttribute="trailing" id="fjn-eP-8DS"/>
  131. </constraints>
  132. </view>
  133. <constraints>
  134. <constraint firstAttribute="height" constant="40" id="Ftv-5S-RKc"/>
  135. <constraint firstAttribute="width" constant="40" id="JJ2-fQ-ew9"/>
  136. </constraints>
  137. <blurEffect style="regular"/>
  138. </visualEffectView>
  139. <activityIndicatorView hidden="YES" opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" hidesWhenStopped="YES" style="white" translatesAutoresizingMaskIntoConstraints="NO" id="XVj-jD-9KA">
  140. <rect key="frame" x="186.66666666666666" y="50" width="20" height="20"/>
  141. <color key="color" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  142. </activityIndicatorView>
  143. </subviews>
  144. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  145. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  146. <constraints>
  147. <constraint firstItem="XVj-jD-9KA" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="-9" id="Cpb-Vg-sov"/>
  148. <constraint firstItem="i1s-Qa-dG1" firstAttribute="leading" secondItem="IxY-xH-yZQ" secondAttribute="trailing" constant="8" id="Owq-aa-Sr6"/>
  149. <constraint firstItem="enp-xt-Y5y" firstAttribute="leading" secondItem="i1s-Qa-dG1" secondAttribute="trailing" constant="8" id="XcU-G8-k0a"/>
  150. <constraint firstItem="IxY-xH-yZQ" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="8" id="ZhO-pY-Qwi"/>
  151. <constraint firstItem="i1s-Qa-dG1" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="10" id="cWc-xe-8un"/>
  152. <constraint firstItem="XVj-jD-9KA" firstAttribute="centerX" secondItem="vUN-kp-3ea" secondAttribute="centerX" id="lqb-pC-WUR"/>
  153. <constraint firstItem="IxY-xH-yZQ" firstAttribute="centerY" secondItem="i1s-Qa-dG1" secondAttribute="centerY" id="mJJ-pT-yA3"/>
  154. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="enp-xt-Y5y" secondAttribute="trailing" constant="8" id="rSU-Dz-YXW"/>
  155. <constraint firstItem="enp-xt-Y5y" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="10" id="z6I-sd-mmD"/>
  156. </constraints>
  157. <connections>
  158. <outlet property="activityIndicator" destination="XVj-jD-9KA" id="cSB-RJ-RCZ"/>
  159. <outlet property="buttonControlWidthConstraint" destination="wkm-j1-5v4" id="SHm-F2-NjB"/>
  160. <outlet property="controlButtonView" destination="i1s-Qa-dG1" id="5q4-uE-oC5"/>
  161. <outlet property="gridSwitchButton" destination="jSO-Vb-jcU" id="geS-eg-obV"/>
  162. <outlet property="moreButton" destination="3qs-Hm-qLL" id="OPi-J6-wkl"/>
  163. <outlet property="moreView" destination="enp-xt-Y5y" id="Fqg-Wl-V7h"/>
  164. <outlet property="separatorView" destination="NwM-bk-QAK" id="wRe-37-oxD"/>
  165. <outlet property="title" destination="IxY-xH-yZQ" id="ZNZ-Jy-JbH"/>
  166. <outlet property="zoomInButton" destination="ZkU-dK-sp1" id="bC0-Wo-2as"/>
  167. <outlet property="zoomOutButton" destination="swp-Cd-CbD" id="wvm-jt-8nI"/>
  168. </connections>
  169. <point key="canvasLocation" x="138.75" y="152.5"/>
  170. </view>
  171. </objects>
  172. <resources>
  173. <image name="ellipsis" catalog="system" width="128" height="37"/>
  174. <image name="minus" catalog="system" width="128" height="26"/>
  175. <image name="plus" catalog="system" width="128" height="113"/>
  176. <image name="plus.slash.minus" catalog="system" width="128" height="115"/>
  177. </resources>
  178. </document>