chore: cleanup background handling

This commit is contained in:
Igor Randjelovic
2021-03-16 17:37:57 +01:00
committed by Nathan Walker
parent 21da31562c
commit 7c60735d14
21 changed files with 174 additions and 51 deletions

View File

@@ -0,0 +1,19 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
<Page.actionBar>
<ActionBar title="CSS Playground" class="action-bar">
</ActionBar>
</Page.actionBar>
<GridLayout rows="*, *">
<ContentView>
<Label id="play" text="I'm a test label." verticalAlignment="center"/>
</ContentView>
<GridLayout row="1" rows="*, auto, auto" borderTopWidth="1">
<TextView text="{{ currentCSS }}" textChange="{{ onTextChange }}"/>
<Button class="btn btn-primary" text="Apply" row="1" tap="{{ applyCSS }}"/>
<Button class="btn btn-primary btn-orange" text="Reset" row="2" tap="{{ resetCSS }}"/>
</GridLayout>
</GridLayout>
</Page>