Skip to content

Commit

Permalink
Merge pull request EventFahrplan#682 from EventFahrplan/random-housek…
Browse files Browse the repository at this point in the history
…eeping

Random housekeeping (Copyright logo text, search icon)
  • Loading branch information
johnjohndoe authored Nov 4, 2024
2 parents eadc1e7 + c65bbcd commit 32ba487
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ fun ClickableText(
gravity = if (textAlign == TextAlign.Center) CENTER else START
textSize = fontSize.value
text = textResource.html.toSpanned()
setLineSpacing(0f, 1.5f)
}
},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import nerd.tuxmobil.fahrplan.congress.contract.BundleKeys
import nerd.tuxmobil.fahrplan.congress.details.SessionDetailsActivity
import nerd.tuxmobil.fahrplan.congress.details.SessionDetailsFragment
import nerd.tuxmobil.fahrplan.congress.engagements.initUserEngagement
import nerd.tuxmobil.fahrplan.congress.extensions.isLandscape
import nerd.tuxmobil.fahrplan.congress.extensions.withExtras
import nerd.tuxmobil.fahrplan.congress.favorites.StarredListActivity
import nerd.tuxmobil.fahrplan.congress.favorites.StarredListFragment
Expand Down Expand Up @@ -133,7 +134,7 @@ class MainActivity : BaseActivity(),
progressBar = requireViewByIdCompat(R.id.progress)

setSupportActionBar(toolbar)
supportActionBar!!.setTitle(R.string.fahrplan)
supportActionBar!!.title = if (isLandscape()) getString(R.string.app_name) else ""
supportActionBar!!.setDisplayShowHomeEnabled(true)
supportActionBar!!.setDefaultDisplayHomeAsUpEnabled(true)
val actionBarColor = ContextCompat.getColor(this, R.color.colorActionBar)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/menu/mainmenu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
android:id="@+id/menu_item_search"
android:icon="@drawable/ic_search"
android:orderInCategory="60"
app:showAsAction="ifRoom"
app:showAsAction="always"
android:title="@string/menu_item_title_search"
android:titleCondensed="@string/menu_item_title_search">
</item>
Expand Down

0 comments on commit 32ba487

Please sign in to comment.