Skip to content

Commit 960a4ba

Browse files
committed
Demo update
1 parent 74b5d1c commit 960a4ba

File tree

10 files changed

+12
-4
lines changed

10 files changed

+12
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ demo/node_modules
1111
demo/.vscode
1212
node_modules
1313
.vscode/
14+
.idea/
1415
*.DS_Store

demo/app/App_Resources/Android/app.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
android {
99
defaultConfig {
1010
generatedDensities = []
11-
applicationId = "__PACKAGE__"
11+
applicationId = "org.nativescript.demo"
1212

1313
//override supported platforms
1414
// ndk {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item android:state_enabled="false" android:state_checked="true" android:drawable="@drawable/ic_checkbox_checked_incomplete" />
5+
<item android:state_enabled="false" android:state_checked="false" android:drawable="@drawable/ic_checkbox_grey_incomplete" />
6+
<item android:state_checked="true" android:drawable="@drawable/ic_checkbox_checked_grey"/>
7+
<item android:state_checked="false" android:drawable="@drawable/ic_checkbox_grey" />
8+
</selector>
1.42 KB
Loading
1.39 KB
Loading
1.03 KB
Loading
1.02 KB
Loading

demo/app/main-page.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Label text="Functions" class="title" />
1313
<StackLayout class="listitem">
1414
<GridLayout columns="*, auto" class="demosection">
15-
<CheckBox:CheckBox id="toggleTest" col="0" text="toggle()" checked="false" style="margin-right: 10" />
15+
<CheckBox:CheckBox checkPadding="36" checkStyle="checkbox_grey" id="toggleTest" col="0" text="toggle()" checked="false" style="margin-right: 10" />
1616
<Button col="1" text="GO" tap="onToggleTest" class="button" />
1717
</GridLayout>
1818
</StackLayout>

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"nativescript": {
33
"id": "org.nativescript.demo",
44
"tns-android": {
5-
"version": "2.4.0"
5+
"version": "2.4.1"
66
},
77
"tns-ios": {
88
"version": "2.4.0"

demo/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"module": "commonjs",
44
"target": "es5",
5-
"sourceMap": true,
65
"experimentalDecorators": true,
76
"noEmitHelpers": true,
87
"noEmitOnError": false

0 commit comments

Comments
 (0)