element-ios/Vector/Views/MediaAlbum/MediaAlbumTableCell.xib
giomfo 7f2d7cd14e Media Picker: fix layout issues
- Enlarge the touch area of the 'Close' and 'Camera switch' button.
- Crop album thumbnail to fit the display box.
- Remove the thumbnail of 'Recently Deleted' album.
- Fix simultaneous asset selection. Only the first selected asset is considered.
- Fix multiple selfies capture. Only one selfie is captured at once.
2016-02-26 10:10:32 +01:00

61 lines
5.3 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9532" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" id="ChX-Tl-3Zt" customClass="MediaAlbumTableCell">
<rect key="frame" x="0.0" y="0.0" width="600" height="74"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="ChX-Tl-3Zt" id="SeD-4h-8Bk">
<rect key="frame" x="0.0" y="0.0" width="567" height="73"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="6Kl-sK-vhs">
<rect key="frame" x="0.0" y="0.0" width="73" height="73"/>
<constraints>
<constraint firstAttribute="height" constant="73" id="HEG-jX-hiD"/>
<constraint firstAttribute="width" constant="73" id="UqB-6d-nQ8"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Single line" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AqS-OH-Gcq">
<rect key="frame" x="84" y="13" width="453" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="LCo-2q-raT"/>
</constraints>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Line 2" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Dqg-OY-Nhb">
<rect key="frame" x="84" y="37" width="453" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="ZsK-dI-sTg"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="Dqg-OY-Nhb" secondAttribute="trailing" constant="30" id="0XL-Xv-m8p"/>
<constraint firstItem="6Kl-sK-vhs" firstAttribute="leading" secondItem="SeD-4h-8Bk" secondAttribute="leading" id="F70-wM-q3J"/>
<constraint firstItem="AqS-OH-Gcq" firstAttribute="top" secondItem="SeD-4h-8Bk" secondAttribute="top" constant="13" id="Hcm-hC-RFv"/>
<constraint firstItem="AqS-OH-Gcq" firstAttribute="leading" secondItem="6Kl-sK-vhs" secondAttribute="trailing" constant="11" id="XC0-Sc-FNf"/>
<constraint firstAttribute="trailing" secondItem="AqS-OH-Gcq" secondAttribute="trailing" constant="30" id="cn1-lM-KIz"/>
<constraint firstItem="Dqg-OY-Nhb" firstAttribute="leading" secondItem="6Kl-sK-vhs" secondAttribute="trailing" constant="11" id="npv-ky-n66"/>
<constraint firstItem="Dqg-OY-Nhb" firstAttribute="top" secondItem="AqS-OH-Gcq" secondAttribute="bottom" constant="4" id="o6L-cm-hdS"/>
<constraint firstItem="6Kl-sK-vhs" firstAttribute="top" secondItem="SeD-4h-8Bk" secondAttribute="top" id="t7k-nk-c4U"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="albumCountLabel" destination="Dqg-OY-Nhb" id="OZP-i6-IkD"/>
<outlet property="albumDisplayNameLabel" destination="AqS-OH-Gcq" id="61d-r8-xYF"/>
<outlet property="albumThumbnail" destination="6Kl-sK-vhs" id="yjp-b9-jSN"/>
</connections>
</tableViewCell>
</objects>
</document>