Skip to content

Commit 60169d6

Browse files
alduzyja1ns
authored andcommitted
fix: added missing icon and launch screen to fabric example (software-mansion#2268)
## Description This PR adds missing icon and launch screen to `FabricExample` app. After copying the icons from paper example i noticed there are icons for iPad and the example itself supports iPad platform. Thus I decided to add the iPad support to fabric example as well. ## Changes - added iOS icons and launch screen - added iPad support - added android icons and launch screen ## Screenshots / GIFs ### Before ![Screenshot 2024-07-30 at 11 13 17](https://github.com/user-attachments/assets/791dd46d-7e4a-4e54-bcfa-20893255dfe3) ![Screenshot 2024-07-30 at 11 15 08](https://github.com/user-attachments/assets/98c9d114-270c-4ccf-b876-b7215ee70a43) ### After ![Screenshot 2024-07-30 at 13 20 29](https://github.com/user-attachments/assets/c1c29c73-fd5b-4f33-820d-424fea6fdf15) ![Screenshot 2024-07-30 at 12 54 53](https://github.com/user-attachments/assets/1d033532-4d5b-465d-9289-19da50674013) ## Checklist - [x] Ensured that CI passes
1 parent 35125ab commit 60169d6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+187
-72
lines changed
46.4 KB
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- Copyright (C) 2014 The Android Open Source Project
3-
43
Licensed under the Apache License, Version 2.0 (the "License");
54
you may not use this file except in compliance with the License.
65
You may obtain a copy of the License at
7-
86
http://www.apache.org/licenses/LICENSE-2.0
9-
107
Unless required by applicable law or agreed to in writing, software
118
distributed under the License is distributed on an "AS IS" BASIS,
129
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -19,19 +16,15 @@
1916
android:insetTop="@dimen/abc_edit_text_inset_top_material"
2017
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
2118
>
22-
2319
<selector>
2420
<!--
2521
This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).
2622
The item below with state_pressed="false" and state_focused="false" causes a NullPointerException.
2723
NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
28-
2924
<item android:state_pressed="false" android:state_focused="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
30-
3125
For more info, see https://bit.ly/3CdLStv (react-native/pull/29452) and https://bit.ly/3nxOMoR.
3226
-->
3327
<item android:state_enabled="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
3428
<item android:drawable="@drawable/abc_textfield_activated_mtrl_alpha"/>
3529
</selector>
36-
3730
</inset>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@mipmap/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@mipmap/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
2.58 KB
1.86 KB
3.86 KB
2.53 KB
758 Bytes
1.08 KB

0 commit comments

Comments
 (0)