Skip to content

Commit

Permalink
fix openMF#228:Reduction in Toolbar Text size on orientation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshGautam committed Apr 3, 2018
1 parent c2a3743 commit c269cb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/layout/toolbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<android.support.v7.widget.Toolbar
android:background="?attr/colorPrimary"
android:id="@+id/toolbar"
app:titleTextAppearance="@style/ToolbarTitle"
android:layout_height="?attr/actionBarSize"
android:layout_width="match_parent"
app:layout_scrollFlags="scroll|enterAlways|snap"
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values/styles_toolbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@
<item name="android:background">@android:color/white</item>
</style>

<style name="ToolbarTitle" parent="@style/TextAppearance.AppCompat.Title">
<item name="android:textSize">20sp</item>
</style>

</resources>

0 comments on commit c269cb3

Please sign in to comment.