Michael Kuczera
e437b7a23a
Set titleBarSubTitleTextCentered as navigator style for android (#2611 )
* Set titleBarSubTitleTextCentered as navigator style
- Adapt title center
* fixed false declaration
7 anos atrás
Guy Carmeli
dcb4e505ba
drawUnderStatusBar changes
* Resolve default value through appStyle
* breaking - titleBarTopPadding is now dp instead of pixels
7 anos atrás
Chaitanya Bhagvan
5a2bc27ef4
Add paddingTop to android ToolBar. (#2266 )
* Add paddingTop to android ToolBar.
* Update documentation
7 anos atrás
Guy Carmeli
a379f0be3f
Support subtitle FontFamily on size on Android (#2036 )
* Support subtitle FontFamily on size on Android
Font family can be either a .ttf/.otf asset or one of the default font families:
* sans-serif (regular)
* sans-serif-light
* sans-serif-condensed
* sans-serif-thin
* sans-serif-medium
* update docs
7 anos atrás
Luciano Di Pasquale
f249a1ea40
[Android] Add navBarTextFontBold, navBarHeight and topTabsHeight (#1691 )
* testing
* test
* try fix props on topTabs
* Test xml menu
* Add titleBarHeight
* Remove test
* Add to StyleParams
* Add topTabsHeight
* Fix styleParams type
* Add navBarFontBold
* Add typeface package
* Remove unused debugging
7 anos atrás
Guy Carmeli
db69a30a35
Unmount custom TitleBar buttons
7 anos atrás
Guy Carmeli
6db371beac
Cleanup TitleBar class a bit
7 anos atrás
Guy Carmeli
803dccffd4
Implement custom TitleBar buttons on Android
7 anos atrás
Guy Carmeli
40fb03ccac
Center title when setting title dynamically
Fixes #1609
7 anos atrás
Guy Carmeli
16a3d5ccee
Support setting custom react view dynamically
7 anos atrás
Guy Carmeli
e581b2dec6
Support adding react component to TopBar
Usage:
navBarCustomView: 'example.CustomTopBar', // registered component name
navBarComponentAlignment: 'center' // 'center'/'fill'
7 anos atrás
Justin Stanley
0fbb067e09
fixed blank nav bar titles on Android when title font size not set. (#1516 )
7 anos atrás
Jing Tai Piao
cff9e145a6
Add font size support on title bar for android (#1493 )
* Add font family support on bottom tabs
* import missing classes
* import missing class
* update document
* Support customize icon for left nav button in android
* Add navBar navBarTextFontSize support for android
7 anos atrás
Brendon Sled
932c3c63c0
Fixed screen size calculations when in multi-window view (#1432 )
7 anos atrás
Guy Carmeli
6c11aad4ec
Title bar visibility bug (#1346 )
* Fix title bar not displayed if it was initially hidden
Also cleaned up VisibilityAnimator.
* Move visibility animator into topBar
7 anos atrás
Guy Carmeli
8fd1a231ad
Revert "Fix title bar not displayed if it was initially hidden (#1341 )" (#1342 )
This reverts commit 7919e65932 .
7 anos atrás
Guy Carmeli
7919e65932
Fix title bar not displayed if it was initially hidden (#1341 )
Also cleaned up VisibilityAnimator.
7 anos atrás
Guy Carmeli
8165ab9808
Update left button navigatorEventId when changing TopTabs (#1269 )
8 anos atrás
Guy Carmeli
8dcc6d2096
Custom left button fixes (#1205 )
* navBarButtonColor was not applied to custom initial left button
* Dynamic custom button didn’t work
* Setting default icon (like menu or back button) after a custom icon was used didn’t work
8 anos atrás
Guy Carmeli
09fdf9a7e4
closes #1179 (#1199 )
8 anos atrás
Guy Carmeli
30e41e6452
Set leftButton color when calling setStyle (#1187 )
8 anos atrás
Guy Carmeli
9bdec359cd
Implement setStyle on Android (#1168 )
8 anos atrás
Kelt
1d73739dc5
changed centering logic of title on android (#1164 )
8 anos atrás
Rui Araújo
14f468f835
Fix crash if titleView is null (#1025 )
8 anos atrás
Rui Araújo
126f5a3ffa
Fix condition on font check for Title font change. (#1026 )
8 anos atrás
Guy Carmeli
86f397b782
Support centering title and changing its font on Android
This commit adds support for the following style properties:
titleBarTitleFontFamily - string, font name in assets
titleBarTitleTextCentered - boolean, default is false
8 anos atrás
Kelt
d76407745c
GX-4416 (#2 )
* adding support for android centered title and custom font
* PR feedback
8 anos atrás
Jing Tai Piao
5d4757be00
[Android] Support custom icon for left nav button on TitleBar (#1013 )
Support customize icon for left nav button in android
8 anos atrás
Guy Carmeli
475708e644
Fadeout translucent drawable when collapsing (#788 )
* Fadeout translucent drawable when collapsing
* Change default scrim color to none
* Fade out translucent when collapsingToolBarCollapsedColor is not defined
8 anos atrás
Guy Carmeli
eb8eb4be16
Implement collapsedTitleBarBackgroundColor style property (#786 )
Animate between translucent and solid background in collapsed titlebar
8 anos atrás
Guy Carmeli
bd7ab7c8a2
find title TextView by text
8 anos atrás
Guy Carmeli
f8fb437441
Show and hide title with animation on collapse
8 anos atrás
Guy Carmeli
4648a3bdf9
Reset to (#671 )
* Don’t create SideMenu button automatically on Android
* Remove left button and add it dynamically
* Fix resetTo animation on Android
Up until now resetTo would destroy the current stack and create a new
one. This was an easy implementation but resulted in jurky
(none existent) animations.
This commit changes resetTo behavior. Instead of recreating the stack,
the we reset to is pushed to the stack, and the other elements are
removed when show animation ends.
8 anos atrás
Guy Carmeli
20e30717d5
Remove previous ContextualMenu before adding new one
8 anos atrás
Guy Carmeli
c10f41ff0e
Search android (#432 )
* Move event emmiter logic out of Application
* Implement searchView
Usage:
```js
rightButtons: [
{
id: 'searchView',
label: 'Search',
hint: 'Search...'
}
]
```
* Translucent TitleBar
* Collapse TopBar
* Less noticeable translucent effect
* Implement ScrollViewDetector
* Collapse on fling
* Collapse on touch up
Complete collapse on touch up instead of fling
8 anos atrás
Guy Carmeli
37b96449ec
Implement CollapsingTopBar
8 anos atrás
Guy Carmeli
3f6bbd776c
Fix ContextualMenu show animation
Also removes ContextualMenu after it is dismissed
8 anos atrás
Guy Carmeli
3c31e158da
Add support for ContextualMenu in TopBar
8 anos atrás
Guy Carmeli
e610223e1c
Support navBarTextSubtitleColor on Android
8 anos atrás
Guy Carmeli
b58d9c4f67
Implement overrideBackPress
8 anos atrás
Guy Carmeli
72dd351d1f
Open SideMenu on burger button click
8 anos atrás
Guy Carmeli
084ea2ea84
Conor overflow button
8 anos atrás
Guy Carmeli
7abc5f8736
AppStyle
8 anos atrás
Guy Carmeli
7fd240e201
TitleBar text color
8 anos atrás
Guy Carmeli
6cbd51fe30
Initial TitleBar setStyle
8 anos atrás
Guy Carmeli
09b1cad778
Don't set left button if not needed
8 anos atrás
Guy Carmeli
a2740d2a14
Send accept and cancel LeftButton events
8 anos atrás
Guy Carmeli
f17b1f024c
Set left button dynamically
8 anos atrás
Guy Carmeli
07d204ad74
Move initialIconState to parser
8 anos atrás
Guy Carmeli
5dabdc225b
left button
8 anos atrás