Commit Graph

538 Commits

Author SHA1 Message Date
Peter Staev
9a985e7efe send null instead of empty string for action sheet message
If the user wants to display only action sheet buttons w/o any text and
he sends null as message, the empty string causes an empty title to be
shown above the buttons. Having null instead, completely eliminates the
empty space.
2015-09-05 11:05:29 +03:00
hshristov
f17910fd98 Fix for cancel backswipe gesture. It was broken with the implementation of navigation to a page without adding it to backstack. 2015-09-04 16:12:02 +03:00
Alexander Vakrilov
4c82981430 Merge pull request #671 from NativeScript/feature/app-compat-toolbar
AppCompat toolbar and tab bar
2015-09-04 14:21:00 +03:00
vakrilov
b082cb1c99 Fix for applying style attribute on Grid 2015-09-04 13:48:46 +03:00
vakrilov
b25698d045 Fix tests 2015-09-04 13:48:45 +03:00
vakrilov
d64b8660bd Ipdate single item in tab view 2015-09-04 13:48:45 +03:00
vakrilov
ff9ee707c0 Themes and styling 2015-09-04 13:48:45 +03:00
vakrilov
254e4a55a1 AppCompat toolbar 2015-09-04 13:48:43 +03:00
Nedyalko Nikolov
a9d8e5a578 Removed animation from scrollToIndex due to problems in iOS. 2015-09-04 12:10:33 +03:00
hshristov
8eda2ea2cf Fix iOS layout in modal pages. 2015-09-04 11:03:48 +03:00
Rossen Hristov
208c21f75d Merge pull request #673 from NativeScript/fix
TabViewItem.title and SegmentedBarItem.title are now empty string by …
2015-09-04 10:59:25 +03:00
Rossen Hristov
72c464bbe8 TabViewItem.title and SegmentedBarItem.title are now empty string by default. 2015-09-04 10:19:24 +03:00
Nedyalko Nikolov
cb92b88641 Merge pull request #663 from NativeScript/PeterStaev-master
replaced the use of fontDescriptorWithSymbolicTraits due to problems in iOS 8+.
2015-09-04 10:18:40 +03:00
Rossen Hristov
1bf136cb0a Added null check for closeCallback 2015-09-03 17:05:24 +03:00
Rossen Hristov
1d7bdd46b0 Merge branch 'atanasovg/navigation-backstack' 2015-09-03 15:09:54 +03:00
Peter Staev
d0f4f36018 replaced the use of fontDescriptorWithSymbolicTraits due to problems in iOS8+ and some fonts 2015-09-03 14:55:38 +03:00
Rossen Hristov
e18e7777a1 Added View.translateX, View.translateY, View.scaleX, View.scaleY, View.rotate properties. 2015-09-03 11:46:12 +03:00
atanasovg
f032389fcd Clear erroneous comment. Improve inline comments. 2015-09-02 16:26:24 +03:00
atanasovg
1fd27182a6 Polish the Android implementation. Rework the iOS approach to use another mechanism. 2015-09-02 16:14:24 +03:00
atanasovg
45d12ce565 Intermediate commit, using the NavBar items push/pop/set. 2015-09-02 16:14:23 +03:00
Vladimir Enchev
490cd88a0f Merge pull request #657 from NativeScript/mulitple-gestures-android
Fixed multiple gestures for Android
2015-09-02 09:49:23 +03:00
Rossen Hristov
9377a3c9bb Fixed a null reference exception. 2015-09-02 09:09:00 +03:00
Vladimir Enchev
bc4ebd569c Fixed multiple gestures for Android 2015-09-01 15:44:38 +03:00
Nathanael Anderson
cdac829c25 Changed createSelectorsFromSyntaxTree to use a loop rather than filter.
1. Changed code to lowercase the declaration property
2. Minimize the data pushed to each rule
2015-09-01 04:01:47 -05:00
Rossen Hristov
b848d2f02d Added TabViewItem change support for Android. Fixed empty titles for SegmentedBar and TabView. 2015-09-01 09:56:51 +03:00
Vladimir Enchev
221fb34102 Merge pull request #646 from NativeScript/gestures-with-on-off
gestures now can be added with on() and removed with off()
2015-09-01 09:37:32 +03:00
Nedyalko Nikolov
8a35098a55 Fix for issue #640. 2015-09-01 08:48:34 +03:00
Vladimir Enchev
17cdbbaf46 gestures now can be added with on() and removed with off() 2015-08-31 16:44:35 +03:00
Nedyalko Nikolov
fc3c52691e Fixed issue with binding when there is no sourceProperty set. 2015-08-31 15:50:12 +03:00
Rossen Hristov
bc2e271e72 Made SegmentedBarItem bindable. 2015-08-31 13:15:41 +03:00
hshristov
3a0cc32ff2 Fix for Button padding in android.
Fix for types - isString and isNumber.
Modified several tests to pass on VS Emulator for Android.
Fix page background to be applied in onLoaded method.
Enhancements for dependency-observable - it is now possible to add defaultValueGetter function to extract default value for a property. It can also be cached or not.
Remove android_constants because they are per theme and we cannot use them safely.
Fix for SearchBar reseColorProperty method.
2015-08-28 16:59:52 +03:00
hshristov
c05cd6acb8 Change .android to ._nativeView.
Change two AffectsLayout options to None for android.
2015-08-28 16:59:50 +03:00
Nedyalko Nikolov
5b9777d054 Fixed issue #360. 2015-08-28 15:43:19 +03:00
Vladimir Enchev
ad3607aee2 Merge pull request #614 from NathanaelA/fix_mispelling_gestures_detach
Fix the 9 misspellings of _detach in the two Gestures files.
2015-08-28 13:51:24 +03:00
Vladimir Enchev
8112a6f0d9 Merge pull request #632 from NativeScript/view-setStyle
setInlineStyle implementation + test
2015-08-28 13:50:16 +03:00
Rossen Hristov
4caaa05a22 Fixed tslint error. 2015-08-28 13:34:24 +03:00
Rossen Hristov
881c378a4e Made TabViewItem bindable. 2015-08-28 12:55:28 +03:00
Vladimir Enchev
0aec988251 setStyle renamed to setInlineStyle 2015-08-28 11:18:25 +03:00
Vladimir Enchev
035e381673 throw error if not string 2015-08-28 11:16:26 +03:00
Vladimir Enchev
3fb4b59b87 setStyle implementation + test 2015-08-28 10:46:35 +03:00
Vladimir Enchev
db8b1172f9 Merge pull request #629 from NativeScript/scrollToIndex-
scrollToIndex added to ListView
2015-08-27 16:54:53 +03:00
Vladimir Enchev
ae45b6089e repeater children now created no matter if isLoaded is true 2015-08-27 16:28:53 +03:00
Vladimir Enchev
d2983d99f8 setSelection used instead smoothScrollToPosition 2015-08-27 14:01:59 +03:00
Nedyalko Nikolov
a6542c0201 Added support for binding to multiple observable objects (properties). 2015-08-27 14:01:58 +03:00
Vladimir Enchev
905c395fea scrollToIndex added to ListView 2015-08-27 13:26:15 +03:00
Nedyalko Nikolov
04a8babc7e Merge pull request #626 from NativeScript/nnikolov/BindingMultipleProperties
Added support for binding to multiple observable objects (properties).
2015-08-26 15:03:37 +03:00
Hristo Hristov
2b204f4dd4 Merge pull request #620 from NathanaelA/createPage_autoload_page_css
frame-common.ts is missing the code to automagically load the page.css
2015-08-26 11:50:16 +03:00
Nedyalko Nikolov
a57d52a304 Added support for binding to multiple observable objects (properties). 2015-08-25 16:18:07 +03:00
Vladimir Enchev
0c883395df base url used when loading local files in web-view
Fix for #613
2015-08-25 15:21:56 +03:00
Nathanael Anderson
a95dafd72e Changed the patch to eliminate duplicate code now it only has the css loaded in one spot. 2015-08-24 12:41:01 -05:00