|
@@ -108,6 +108,8 @@ public class TitleBar extends Toolbar {
|
108
|
108
|
view.post(() -> {
|
109
|
109
|
if (alignment == Alignment.Center) {
|
110
|
110
|
view.setX((getWidth() - view.getWidth()) / 2);
|
|
111
|
+ } else if (leftButtonController != null) {
|
|
112
|
+ view.setX(getContentInsetStartWithNavigation());
|
111
|
113
|
} else {
|
112
|
114
|
view.setX(UiUtils.dpToPx(getContext(), 16));
|
113
|
115
|
}
|