File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,29 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
270
270
videoUrl: " https://youtube.com/embed/1DR_9AZrMe4" ,
271
271
videoTitle: " Adjusting hardware device volume with NativeScript" ,
272
272
},
273
+ {
274
+ id: 18 ,
275
+ title: " Top Bar Height" ,
276
+ href: " https://stackblitz.com/edit/nativescript-topbar-height?file=src%2Fapp%2Futils%2Fdevice.ts" ,
277
+ description: " How to check the top bar height with NativeScript on iOS and Android." ,
278
+ categories: [
279
+ {
280
+ title: " iOS statusBarManager" ,
281
+ href: " https://developer.apple.com/documentation/uikit/uiwindowscene/3213943-statusbarmanager?language=objc" ,
282
+ },
283
+ {
284
+ title: " iOS UINavigationBar" ,
285
+ href: " https://developer.apple.com/documentation/uikit/uinavigationbar?language=objc" ,
286
+ },
287
+ {
288
+ title: " Android Resources" ,
289
+ href: " https://developer.android.com/guide/topics/resources/providing-resources" ,
290
+ },
291
+ { title: " Android bar height id" , href: " https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/dimens_material.xml#39" },
292
+ ],
293
+ videoUrl: " https://www.youtube.com/watch?v=bXSyBTGJIlc" ,
294
+ videoTitle: " Top Bar Height with NativeScript" ,
295
+ },
273
296
// Not ready yet but will discuss with Dylan to update
274
297
// {
275
298
// id: 15,
You can’t perform that action at this time.
0 commit comments