QML UI: use action button and Android back button to save / go back

This is more consistent with the rest of our UI

To make this work you once again need changes to the mobile components
that aren't upstream, yet.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-02-13 21:09:33 -08:00
parent ae116c5bc8
commit 5952b09b51
3 changed files with 34 additions and 29 deletions

View file

@ -13,6 +13,8 @@ ColumnLayout {
property int buttonWidth: width * 0.9
function saveCredentials() { cloudCredentials.saveCredentials() }
MobileComponents.Heading {
Layout.bottomMargin: MobileComponents.Units.largeSpacing
text: "Subsurface-mobile"
@ -32,6 +34,7 @@ ColumnLayout {
wrapMode: Text.WordWrap
}
CloudCredentials {
id: cloudCredentials
Layout.fillWidth: true
Layout.margins: MobileComponents.Units.gridUnit
Layout.topMargin: MobileComponents.Units.gridUnit * 2