NCTrashSectionHeaderMenu.xib 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14868" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14824"/>
  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. <collectionReusableView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" reuseIdentifier="sectionHeaderMenu" id="tys-A2-nDX" customClass="NCTrashSectionHeaderMenu" customModule="Nextcloud" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="50"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LZu-Te-clJ" userLabel="Separator">
  18. <rect key="frame" x="0.0" y="48" width="375" height="1"/>
  19. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  20. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="1" id="VuP-sT-hUI"/>
  23. </constraints>
  24. </view>
  25. <button opaque="NO" contentMode="scaleAspectFit" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1LD-cd-zhc" userLabel="buttonSwitch">
  26. <rect key="frame" x="12" y="12.5" width="25" height="25"/>
  27. <constraints>
  28. <constraint firstAttribute="width" constant="25" id="D76-X9-Tw9"/>
  29. <constraint firstAttribute="height" constant="25" id="izT-Ru-XYG"/>
  30. </constraints>
  31. <state key="normal" image="switchList"/>
  32. <connections>
  33. <action selector="touchUpInsideSwitch:" destination="tys-A2-nDX" eventType="touchUpInside" id="iT8-1j-fib"/>
  34. </connections>
  35. </button>
  36. <button opaque="NO" contentMode="scaleAspectFit" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="D0O-wK-14O" userLabel="buttonMore">
  37. <rect key="frame" x="338" y="12.5" width="25" height="25"/>
  38. <constraints>
  39. <constraint firstAttribute="width" constant="25" id="aEr-j8-JDO"/>
  40. <constraint firstAttribute="height" constant="25" id="bvx-Uh-NWD"/>
  41. </constraints>
  42. <state key="normal" image="moreBig"/>
  43. <connections>
  44. <action selector="touchUpInsideMore:" destination="tys-A2-nDX" eventType="touchUpInside" id="Jyu-Mx-nWq"/>
  45. </connections>
  46. </button>
  47. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0bo-yl-t5k" userLabel="buttonOrder">
  48. <rect key="frame" x="55" y="11" width="230" height="28"/>
  49. <constraints>
  50. <constraint firstAttribute="width" constant="230" id="jvv-Ug-l3I"/>
  51. </constraints>
  52. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  53. <state key="normal" title="Sort by name (from A to Z)">
  54. <color key="titleColor" cocoaTouchSystemColor="darkTextColor"/>
  55. </state>
  56. <connections>
  57. <action selector="touchUpInsideOrder:" destination="tys-A2-nDX" eventType="touchUpInside" id="oiL-3O-hMQ"/>
  58. </connections>
  59. </button>
  60. </subviews>
  61. <constraints>
  62. <constraint firstItem="D0O-wK-14O" firstAttribute="centerY" secondItem="tys-A2-nDX" secondAttribute="centerY" id="6w7-ws-gX3"/>
  63. <constraint firstAttribute="trailing" secondItem="LZu-Te-clJ" secondAttribute="trailing" id="7ww-Zl-sES"/>
  64. <constraint firstAttribute="trailing" secondItem="D0O-wK-14O" secondAttribute="trailing" constant="12" id="AsZ-tP-fP1"/>
  65. <constraint firstItem="LZu-Te-clJ" firstAttribute="leading" secondItem="tys-A2-nDX" secondAttribute="leading" id="ZEl-Ij-nt8"/>
  66. <constraint firstItem="1LD-cd-zhc" firstAttribute="leading" secondItem="tys-A2-nDX" secondAttribute="leading" constant="12" id="dHo-I3-Z1V"/>
  67. <constraint firstItem="1LD-cd-zhc" firstAttribute="centerY" secondItem="tys-A2-nDX" secondAttribute="centerY" id="hbd-cO-eBq"/>
  68. <constraint firstItem="0bo-yl-t5k" firstAttribute="centerY" secondItem="tys-A2-nDX" secondAttribute="centerY" id="kSZ-op-97F"/>
  69. <constraint firstAttribute="bottom" secondItem="LZu-Te-clJ" secondAttribute="bottom" constant="1" id="tJp-qc-NGO"/>
  70. <constraint firstItem="0bo-yl-t5k" firstAttribute="leading" secondItem="1LD-cd-zhc" secondAttribute="trailing" constant="18" id="zlZ-IN-gGx"/>
  71. </constraints>
  72. <viewLayoutGuide key="safeArea" id="pm7-uW-mZE"/>
  73. <connections>
  74. <outlet property="buttonMore" destination="D0O-wK-14O" id="eEx-3R-zCS"/>
  75. <outlet property="buttonOrder" destination="0bo-yl-t5k" id="Kbw-BG-73C"/>
  76. <outlet property="buttonOrderWidthConstraint" destination="jvv-Ug-l3I" id="E6N-z6-2VC"/>
  77. <outlet property="buttonSwitch" destination="1LD-cd-zhc" id="Ec2-cM-CoY"/>
  78. <outlet property="separator" destination="LZu-Te-clJ" id="EwO-za-LxT"/>
  79. </connections>
  80. <point key="canvasLocation" x="140" y="154"/>
  81. </collectionReusableView>
  82. </objects>
  83. <resources>
  84. <image name="moreBig" width="50" height="50"/>
  85. <image name="switchList" width="25" height="25"/>
  86. </resources>
  87. </document>