mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-11 15:53:27 +08:00
Use circle logo everywhere
Looks more modern Also aligned ios splash logo with loginscreen logo so it doesnt jump
This commit is contained in:
@@ -19,7 +19,7 @@ import * as actions from '../redux/actions'
|
||||
import * as selectors from '../redux/selectors'
|
||||
import { contentPadding } from '../styles/variables'
|
||||
|
||||
const logo = require('@devhub/components/assets/logo_rounded.png') // tslint:disable-line
|
||||
const logo = require('@devhub/components/assets/logo_circle.png') // tslint:disable-line
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
|
||||
@@ -16,6 +16,6 @@
|
||||
android:adjustViewBounds="false"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:src="@drawable/logo_rounded"
|
||||
android:src="@drawable/logo_circle"
|
||||
tools:ignore="ContentDescription" />
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="logo_rounded" translatesAutoresizingMaskIntoConstraints="NO" id="zch-fU-eGV">
|
||||
<rect key="frame" x="190" y="190" width="100" height="100"/>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="logo_circle" translatesAutoresizingMaskIntoConstraints="NO" id="zch-fU-eGV">
|
||||
<rect key="frame" x="190" y="110" width="100" height="100"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="100" id="Ahl-Y6-BrY"/>
|
||||
<constraint firstAttribute="height" constant="100" id="a4p-ld-IIl"/>
|
||||
@@ -26,7 +26,7 @@
|
||||
<color key="backgroundColor" red="0.16078431372549018" green="0.17254901960784313" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstItem="zch-fU-eGV" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="Do9-BS-cLl"/>
|
||||
<constraint firstItem="zch-fU-eGV" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="HV4-1R-3p3"/>
|
||||
<constraint firstItem="zch-fU-eGV" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" constant="-80" id="HV4-1R-3p3"/>
|
||||
</constraints>
|
||||
<nil key="simulatedStatusBarMetrics"/>
|
||||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
||||
@@ -34,6 +34,6 @@
|
||||
</view>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="logo_rounded" width="300" height="300"/>
|
||||
<image name="logo_circle" width="170.0787353515625" height="170.0787353515625"/>
|
||||
</resources>
|
||||
</document>
|
||||
|
||||
Reference in New Issue
Block a user