|
1 | | -<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 | | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none"> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES"> |
| 3 | + <device id="retina6_12" orientation="portrait" appearance="light"/> |
3 | 4 | <dependencies> |
4 | 5 | <deployment identifier="iOS"/> |
5 | | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/> |
| 6 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/> |
| 7 | + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
6 | 8 | </dependencies> |
7 | 9 | <objects> |
8 | 10 | <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="IJKVideoViewController"> |
|
15 | 17 | <view contentMode="scaleToFill" id="1"> |
16 | 18 | <rect key="frame" x="0.0" y="0.0" width="480" height="320"/> |
17 | 19 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
18 | | - <color key="backgroundColor" red="0.43529411764705883" green="0.44313725490196076" blue="0.47450980392156861" alpha="1" colorSpace="calibratedRGB"/> |
| 20 | + <color key="backgroundColor" red="0.43529411764705883" green="0.44313725490196076" blue="0.47450980392156861" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
19 | 21 | <nil key="simulatedStatusBarMetrics"/> |
20 | | - <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/> |
21 | 22 | <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> |
| 23 | + <point key="canvasLocation" x="139" y="21"/> |
22 | 24 | </view> |
23 | 25 | <view contentMode="scaleToFill" id="6" customClass="IJKMediaControl"> |
24 | 26 | <rect key="frame" x="0.0" y="0.0" width="480" height="320"/> |
25 | 27 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
26 | 28 | <subviews> |
27 | | - <view contentMode="scaleToFill" id="54" userLabel="Overlay" customClass="UIControl"> |
| 29 | + <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="54" userLabel="Overlay" customClass="UIControl"> |
28 | 30 | <rect key="frame" x="0.0" y="0.0" width="480" height="320"/> |
29 | 31 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
30 | 32 | <subviews> |
31 | | - <view contentMode="scaleToFill" id="38" userLabel="Panel: Bottom"> |
| 33 | + <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="38" userLabel="Panel: Bottom"> |
32 | 34 | <rect key="frame" x="40" y="200" width="400" height="100"/> |
33 | 35 | <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/> |
34 | 36 | <subviews> |
35 | | - <imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="player_bottom_control_bg.png" id="39" userLabel="View: Background"> |
| 37 | + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" fixedFrame="YES" image="player_bottom_control_bg.png" translatesAutoresizingMaskIntoConstraints="NO" id="39" userLabel="View: Background"> |
36 | 38 | <rect key="frame" x="0.0" y="0.0" width="400" height="100"/> |
37 | 39 | <autoresizingMask key="autoresizingMask" widthSizable="YES"/> |
38 | 40 | </imageView> |
39 | | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="40" userLabel="Button: Play"> |
| 41 | + <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="40" userLabel="Button: Play"> |
40 | 42 | <rect key="frame" x="170" y="2" width="60" height="50"/> |
41 | 43 | <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/> |
42 | 44 | <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/> |
43 | 45 | <state key="normal" image="btn_player_play.png"> |
44 | | - <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/> |
45 | | - <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> |
| 46 | + <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 47 | + <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
46 | 48 | </state> |
47 | 49 | <state key="highlighted"> |
48 | | - <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
| 50 | + <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
49 | 51 | </state> |
50 | 52 | <connections> |
51 | 53 | <action selector="onClickPlay:" destination="-1" eventType="touchUpInside" id="45"/> |
52 | 54 | </connections> |
53 | 55 | </button> |
54 | | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="41" userLabel="Button: Pause"> |
| 56 | + <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="41" userLabel="Button: Pause"> |
55 | 57 | <rect key="frame" x="170" y="2" width="60" height="50"/> |
56 | 58 | <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/> |
57 | 59 | <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/> |
58 | 60 | <state key="normal" image="btn_player_pause.png"> |
59 | | - <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/> |
60 | | - <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> |
| 61 | + <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 62 | + <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
61 | 63 | </state> |
62 | 64 | <state key="highlighted"> |
63 | | - <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
| 65 | + <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
64 | 66 | </state> |
65 | 67 | <connections> |
66 | 68 | <action selector="onClickPause:" destination="-1" eventType="touchUpInside" id="46"/> |
67 | 69 | </connections> |
68 | 70 | </button> |
69 | | - <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" minValue="0.0" maxValue="100" id="42" userLabel="Slider: Video Progress"> |
| 71 | + <slider opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" minValue="0.0" maxValue="100" translatesAutoresizingMaskIntoConstraints="NO" id="42" userLabel="Slider: Video Progress"> |
70 | 72 | <rect key="frame" x="68" y="55" width="264" height="29"/> |
71 | 73 | <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/> |
72 | 74 | <connections> |
|
77 | 79 | <action selector="didSliderValueChanged" destination="-1" eventType="valueChanged" id="d2y-5f-s9f"/> |
78 | 80 | </connections> |
79 | 81 | </slider> |
80 | | - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="10:00" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="43" userLabel="Label: Current Time"> |
| 82 | + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="10:00" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="43" userLabel="Label: Current Time"> |
81 | 83 | <rect key="frame" x="20" y="61" width="50" height="21"/> |
82 | 84 | <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> |
83 | 85 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
84 | | - <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> |
| 86 | + <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
85 | 87 | <nil key="highlightedColor"/> |
86 | 88 | </label> |
87 | | - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="20:00" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="44" userLabel="Label: Total Duration"> |
| 89 | + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="20:00" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="44" userLabel="Label: Total Duration"> |
88 | 90 | <rect key="frame" x="330" y="61" width="50" height="21"/> |
89 | 91 | <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/> |
90 | 92 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
91 | | - <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> |
| 93 | + <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
92 | 94 | <nil key="highlightedColor"/> |
93 | 95 | </label> |
94 | 96 | </subviews> |
95 | | - <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
| 97 | + <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> |
96 | 98 | </view> |
97 | | - <toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="4ZI-0o-F2w"> |
| 99 | + <toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4ZI-0o-F2w"> |
98 | 100 | <rect key="frame" x="0.0" y="0.0" width="480" height="44"/> |
99 | | - <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/> |
| 101 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> |
100 | 102 | <items> |
101 | 103 | <barButtonItem systemItem="done" id="1XF-Pk-v6Z"> |
102 | 104 | <connections> |
|
112 | 114 | </items> |
113 | 115 | </toolbar> |
114 | 116 | </subviews> |
115 | | - <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
| 117 | + <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> |
116 | 118 | <connections> |
117 | 119 | <action selector="onClickOverlay:" destination="-1" eventType="touchDown" id="58"/> |
118 | 120 | </connections> |
119 | 121 | </view> |
120 | 122 | </subviews> |
121 | | - <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
| 123 | + <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> |
122 | 124 | <nil key="simulatedStatusBarMetrics"/> |
123 | | - <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/> |
124 | 125 | <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> |
125 | 126 | <connections> |
126 | 127 | <action selector="onClickMediaControl:" destination="-1" eventType="touchDown" id="59"/> |
|
133 | 134 | <outlet property="topPanel" destination="4ZI-0o-F2w" id="igp-Gq-Qk0"/> |
134 | 135 | <outlet property="totalDurationLabel" destination="44" id="63"/> |
135 | 136 | </connections> |
136 | | - <point key="canvasLocation" x="386" y="448"/> |
| 137 | + <point key="canvasLocation" x="589.3129770992366" y="315.49295774647891"/> |
137 | 138 | </view> |
138 | 139 | <navigationItem title="Title" id="wNK-Og-f4q"/> |
139 | 140 | </objects> |
|
0 commit comments