Skip to content

Commit

Permalink
fix: project-travel-mate#570 app bar label issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivangiSingh17 committed Mar 8, 2019
1 parent b1b7f81 commit 8cd93d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Android/app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">



<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
android:background="?android:attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />
app:popupTheme="@style/AppTheme.PopupOverlay"
app:titleTextAppearance="@style/ToolbarText"/>

</android.support.design.widget.AppBarLayout>

Expand Down
4 changes: 4 additions & 0 deletions Android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@

<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />

<style name="ToolbarText" parent="@style/TextAppearance.Widget.AppCompat.Toolbar.Title">
<item name="android:textSize">17sp</item>
</style>


<style name="TextView">
<item name="android:layout_height">wrap_content</item>
Expand Down

0 comments on commit 8cd93d1

Please sign in to comment.