Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 1dbf232

Browse files
committed
Merge branch 'master' into feat/is-enabled-prop
2 parents cea6df8 + d777e82 commit 1dbf232

File tree

99 files changed

+489
-430
lines changed

Some content is hidden

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

99 files changed

+489
-430
lines changed

demo/app/App_Resources/Android-Pre-v4/AndroidManifest.xml

Lines changed: 0 additions & 44 deletions
This file was deleted.

demo/app/App_Resources/Android-Pre-v4/app.gradle

Lines changed: 0 additions & 16 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

demo/app/App_Resources/Android-Pre-v4/drawable-nodpi/splash_screen.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

demo/app/App_Resources/Android-Pre-v4/values-v21/colors.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

demo/app/App_Resources/Android-Pre-v4/values-v21/styles.xml

Lines changed: 0 additions & 23 deletions
This file was deleted.

demo/app/App_Resources/Android-Pre-v4/values/colors.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

demo/app/App_Resources/Android-Pre-v4/values/strings.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

demo/app/App_Resources/Android-Pre-v4/values/styles.xml

Lines changed: 0 additions & 45 deletions
This file was deleted.

demo/app/App_Resources/Android/app.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22

33
// Uncomment to add recyclerview-v7 dependency
44
//dependencies {
5-
// compile 'com.android.support:recyclerview-v7:+'
5+
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8+
// If you want to add something to be applied before applying plugins' include.gradle files
9+
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
10+
// create a file named before-plugins.gradle in the current directory and place it there
11+
812
android {
913
defaultConfig {
10-
minSdkVersion 19
14+
minSdkVersion 17
1115
generatedDensities = []
1216
}
1317
aaptOptions {

demo/app/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="19"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>
@@ -29,7 +25,7 @@
2925
<activity
3026
android:name="com.tns.NativeScriptActivity"
3127
android:label="@string/title_activity_kimera"
32-
android:configChanges="keyboardHidden|orientation|screenSize"
28+
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode"
3329
android:theme="@style/LaunchScreenTheme">
3430

3531
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />

demo/app/App_Resources/Android/src/main/res/values-v21/styles.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<resources>
2+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
33

44
<!-- Application theme -->
5-
<style name="AppTheme" parent="AppThemeBase">
5+
<style name="AppThemeBase21" parent="AppThemeBase">
6+
<item name="android:windowTranslucentStatus">true</item>
67
<item name="android:datePickerStyle">@style/SpinnerDatePicker</item>
78
<item name="android:timePickerStyle">@style/SpinnerTimePicker</item>
89
</style>
910

11+
<style name="AppTheme" parent="AppThemeBase21">
12+
</style>
13+
1014
<!-- Default style for DatePicker - in spinner mode -->
1115
<style name="SpinnerDatePicker" parent="android:Widget.Material.Light.DatePicker">
1216
<item name="android:datePickerMode">spinner</item>
@@ -19,5 +23,6 @@
1923

2024
<style name="NativeScriptToolbarStyle" parent="NativeScriptToolbarStyleBase">
2125
<item name="android:elevation">4dp</item>
22-
</style>
26+
<item name="android:paddingTop">24dp</item>
27+
</style>
2328
</resources>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
3+
4+
<!-- Application theme -->
5+
<style name="AppThemeBase29" parent="AppThemeBase21">
6+
<item name="android:forceDarkAllowed">true</item>
7+
</style>
8+
9+
<style name="AppTheme" parent="AppThemeBase29">
10+
</style>
11+
12+
</resources>

demo/app/App_Resources/Android/src/main/res/values/styles.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<item name="colorAccent">@color/ns_accent</item>
1111

1212
<item name="android:windowBackground">@drawable/splash_screen</item>
13-
14-
<item name="android:windowActionBarOverlay">true</item>
13+
14+
<item name="android:windowActionBarOverlay">true</item>
1515
<item name="android:windowTranslucentStatus">true</item>
1616

1717
</style>
@@ -32,7 +32,7 @@
3232
<style name="AppTheme" parent="AppThemeBase">
3333
</style>
3434

35-
<!-- theme for actioon-bar -->
35+
<!-- theme for action-bar -->
3636
<style name="NativeScriptToolbarStyleBase" parent="Widget.AppCompat.Toolbar">
3737
<item name="android:background">@color/ns_primary</item>
3838
<item name="theme">@style/ThemeOverlay.AppCompat.ActionBar</item>
@@ -42,4 +42,4 @@
4242

4343
<style name="NativeScriptToolbarStyle" parent="NativeScriptToolbarStyleBase">
4444
</style>
45-
</resources>
45+
</resources>

demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 30 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
22
"images" : [
3+
{
4+
"size" : "20x20",
5+
"idiom" : "iphone",
6+
"filename" : "[email protected]",
7+
"scale" : "2x"
8+
},
9+
{
10+
"size" : "20x20",
11+
"idiom" : "iphone",
12+
"filename" : "[email protected]",
13+
"scale" : "3x"
14+
},
315
{
416
"size" : "29x29",
517
"idiom" : "iphone",
@@ -30,18 +42,6 @@
3042
"filename" : "[email protected]",
3143
"scale" : "3x"
3244
},
33-
{
34-
"size" : "57x57",
35-
"idiom" : "iphone",
36-
"filename" : "icon-57.png",
37-
"scale" : "1x"
38-
},
39-
{
40-
"size" : "57x57",
41-
"idiom" : "iphone",
42-
"filename" : "[email protected]",
43-
"scale" : "2x"
44-
},
4545
{
4646
"size" : "60x60",
4747
"idiom" : "iphone",
@@ -55,51 +55,39 @@
5555
"scale" : "3x"
5656
},
5757
{
58-
"size" : "29x29",
58+
"size" : "20x20",
5959
"idiom" : "ipad",
60-
"filename" : "icon-29.png",
60+
"filename" : "icon-20.png",
6161
"scale" : "1x"
6262
},
6363
{
64-
"size" : "29x29",
64+
"size" : "20x20",
6565
"idiom" : "ipad",
66-
"filename" : "icon-29@2x.png",
66+
"filename" : "icon-20@2x.png",
6767
"scale" : "2x"
6868
},
6969
{
70-
"size" : "40x40",
71-
"idiom" : "ipad",
72-
"filename" : "icon-40.png",
73-
"scale" : "1x"
74-
},
75-
{
76-
"size" : "40x40",
77-
"idiom" : "ipad",
78-
"filename" : "[email protected]",
79-
"scale" : "2x"
80-
},
81-
{
82-
"size" : "50x50",
70+
"size" : "29x29",
8371
"idiom" : "ipad",
84-
"filename" : "icon-50.png",
72+
"filename" : "icon-29.png",
8573
"scale" : "1x"
8674
},
8775
{
88-
"size" : "50x50",
76+
"size" : "29x29",
8977
"idiom" : "ipad",
90-
"filename" : "icon-50@2x.png",
78+
"filename" : "icon-29@2x.png",
9179
"scale" : "2x"
9280
},
9381
{
94-
"size" : "72x72",
82+
"size" : "40x40",
9583
"idiom" : "ipad",
96-
"filename" : "icon-72.png",
84+
"filename" : "icon-40.png",
9785
"scale" : "1x"
9886
},
9987
{
100-
"size" : "72x72",
88+
"size" : "40x40",
10189
"idiom" : "ipad",
102-
"filename" : "icon-72@2x.png",
90+
"filename" : "icon-40@2x.png",
10391
"scale" : "2x"
10492
},
10593
{
@@ -119,6 +107,12 @@
119107
"idiom" : "ipad",
120108
"filename" : "[email protected]",
121109
"scale" : "2x"
110+
},
111+
{
112+
"size" : "1024x1024",
113+
"idiom" : "ios-marketing",
114+
"filename" : "icon-1024.png",
115+
"scale" : "1x"
122116
}
123117
],
124118
"info" : {
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)