-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#64: added custom hamburger in toolbar and changed font-family for title #68
Conversation
ad592aa
to
7e2b231
Compare
2394b49
to
744a1d5
Compare
Так как drawer выезжает поверх toolbar, предлагаю отказаться от анимации аналогичной ActionBarDrawerToggle, так как указанная view использует DrawerArrowDrawable, которая вручную отрисовывает всю анимацию, то есть для реализации аналогичного поведения нам необходимо написать свой drawable, что считаю нецелесообразным. |
Понял, цвет заголовка изменю |
app/src/main/res/values/styles.xml
Outdated
@@ -21,6 +21,10 @@ | |||
<style name="MainToolbar"> | |||
<item name="android:background">@color/defaultBackgroundDarker</item> | |||
<item name="colorControlNormal">@color/colorWhite</item> | |||
<item name="titleTextColor">@color/colorWhite</item> | |||
<item name="titleTextColor">@color/colorAppText</item> | |||
<item name="android:fontFamily">@font/roboto_bold</item> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
это можно было вынести в MainToolbar.TitileText, если не ошибаюсь, должно работать, тоже самое можно отнести к цвету.
android:theme="@style/MainToolbar" | ||
app:titleTextAppearance="@style/MainToolbar.TitleText" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
можем пока оставить это тут, но может это было бы лучше в стилях сразу определить для всех активити
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
вдруг нам где нибудь надо будет такой же туллбар использовать
b33bace
to
78e5cff
Compare
No description provided.