Commit 75a49be8 authored by laurent l's avatar laurent l

icons & about: ios/android consistency

parent 1e459a58
......@@ -312,6 +312,18 @@ Page {
}
.header Label {
text-align: center;
margin-top: 10dip;
}
.header Image {
margin-bottom: 5dip;
margin-left: 5dip;
}
.about .link {
text-decoration: underline;
text-align: left;
......
<Page loaded="{{ onListViewLoaded }}" xmlns:lv="nativescript-ui-listview" xmlns:nsDrawer="nativescript-ui-sidedrawer">
<Page.actionBar>
<ActionBar title="{{ L('accounts') }}" icon="">
<NavigationButton icon="res://icon" tap="{{ showAboutAction }}"/>
<ActionBar title="{{ L('accounts') }}" android.icon="res://icon" android.iconVisibility="always">
<ActionItem text="{{ L('menu') }}" tap="{{ toggleDrawerAction }}" ios.position="right">
<ActionItem.actionView>
......@@ -12,7 +11,7 @@
</Page.actionBar>
<nsDrawer:RadSideDrawer id="sideDrawer" drawerLocation="Right" drawerTransition="PushTransition">
<nsDrawer:RadSideDrawer.drawerContent xmlns:nsDrawer="nativescript-pro-ui/sidedrawer">
<nsDrawer:RadSideDrawer.drawerContent xmlns:nsDrawer="nativescript-pro-ui/sidedrawer">
<StackLayout id="sideDrawerContent" >
<ScrollView>
<StackLayout>
......
......@@ -9,7 +9,10 @@
<ScrollView>
<StackLayout class="about">
<Label class="header" text="{{ L('app_name') + ' ' + L('version') + ' ' + version_name}}" />
<GridLayout cols="*" rows="auto" class="header">
<Image stretch="none" src="res://icon" col="0" row="0" />
<Label text="{{ L('app_name') + ' ' + L('version') + ' ' + version_name}}" col="0" row="0"/>
</GridLayout>
<Label class="content" text="{{ L('copyright') }}" textWrap="true" />
<Label class="link" text="{{ L('open_website') }}" url="http://www.mybibapp.fr" onTap="{{ browserOpenUrl }}"/>
<Label class="link" text="{{ L('open_forum') }}" url="https://groups.google.com/forum/#!forum/my-bib-app" onTap="{{ browserOpenUrl }}"/>
......@@ -28,6 +31,6 @@
<Label class="link" text="Cheerio" url="https://cheerio.js.org" onTap="{{ browserOpenUrl }}"/>
<Label class="link" text="Mocha" url="https://mochajs.org" onTap="{{ browserOpenUrl }}"/>
<Label class="link" text="Couchbase Mobile" url="https://www.couchbase.com/products/mobile" onTap="{{ browserOpenUrl }}"/>
</StackLayout>
</StackLayout>
</ScrollView>
</Page>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment