Android UI customizations
This commit is contained in:
parent
c7fd930219
commit
9610c51c30
18 changed files with 260 additions and 48 deletions
|
@ -28,7 +28,7 @@ Rectangle {
|
|||
id: toolbar
|
||||
property bool showing: true
|
||||
|
||||
color: Constants.colors.toolbar
|
||||
color: platform.invertedToolbar ? Constants.colors.inverted.toolbar : Constants.colors.toolbar
|
||||
|
||||
height: 80 * pgst.scalef
|
||||
|
||||
|
@ -40,9 +40,10 @@ Rectangle {
|
|||
anchors {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
bottom: parent.bottom
|
||||
bottomMargin: toolbar.showing ? 0 : -height
|
||||
topMargin: toolbar.showing ? 0 : -toolbar.height
|
||||
bottomMargin: toolbar.showing ? 0 : -toolbar.height
|
||||
}
|
||||
|
||||
Behavior on anchors.bottomMargin { PropertyAnimation { duration: 100 } }
|
||||
Behavior on anchors.topMargin { PropertyAnimation { duration: 100 } }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue