mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Fix cuteness images
This commit is contained in:
@ -20,7 +20,7 @@
|
|||||||
<TabViewItem title="About">
|
<TabViewItem title="About">
|
||||||
<TabViewItem.view>
|
<TabViewItem.view>
|
||||||
<StackLayout>
|
<StackLayout>
|
||||||
<Image margin="10" src="~/app/res/telerik-logo.png" />
|
<Image margin="10" src="~/res/telerik-logo.png" />
|
||||||
<Label margin="10" textWrap="true" text="{{ aboutText }}" />
|
<Label margin="10" textWrap="true" text="{{ aboutText }}" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</TabViewItem.view>
|
</TabViewItem.view>
|
||||||
|
@ -8,8 +8,8 @@ import redditModel = require("./reddit-model");
|
|||||||
import redditViewModel = require("./reddit-item-view-model");
|
import redditViewModel = require("./reddit-item-view-model");
|
||||||
|
|
||||||
var aboutText = "Cuteness is a proof of concept app demonstrating the Telerik's NativeScript for writing native mobile applications using JavaScript.";
|
var aboutText = "Cuteness is a proof of concept app demonstrating the Telerik's NativeScript for writing native mobile applications using JavaScript.";
|
||||||
export var defaultThumbnailImageSource = imageSource.fromFile("~/app/res/reddit-logo.png");
|
export var defaultThumbnailImageSource = imageSource.fromFile("~/res/reddit-logo.png");
|
||||||
export var defaultNoThumbnailImageSource = imageSource.fromFile("~/app/res/no-image.png");
|
export var defaultNoThumbnailImageSource = imageSource.fromFile("~/res/no-image.png");
|
||||||
|
|
||||||
var redditUrl = "http://www.reddit.com/r/aww.json?limit=";
|
var redditUrl = "http://www.reddit.com/r/aww.json?limit=";
|
||||||
var after: string;
|
var after: string;
|
||||||
|
@ -4,8 +4,8 @@ import imageSource = require("image-source");
|
|||||||
import redditModel = require("./reddit-model");
|
import redditModel = require("./reddit-model");
|
||||||
import redditAppViewModel = require("./reddit-app-view-model");
|
import redditAppViewModel = require("./reddit-app-view-model");
|
||||||
|
|
||||||
var firstThumbnailImageSource = imageSource.fromFile("~/app/res/first-image.png");
|
var firstThumbnailImageSource = imageSource.fromFile("~/res/first-image.png");
|
||||||
var defaultImageSource = imageSource.fromFile("~/app/res/reddit-logo-transparent.png");
|
var defaultImageSource = imageSource.fromFile("~/res/reddit-logo-transparent.png");
|
||||||
|
|
||||||
var ISLOADING = "isLoading";
|
var ISLOADING = "isLoading";
|
||||||
var THUMBNAIL_IMAGE_SOURCE = "thumbnailImageSource";
|
var THUMBNAIL_IMAGE_SOURCE = "thumbnailImageSource";
|
||||||
|
Reference in New Issue
Block a user