NCMediaCommandView.xib 16 KB

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