- added version name to About text
This commit is contained in:
@ -14,7 +14,8 @@ class AboutActivity : AppCompatActivity() {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_about)
|
||||
val aboutText = findViewById(R.id.aboutText) as TextView
|
||||
aboutText.text = getText(R.string.aboutText)
|
||||
aboutText.text = String.format(getText(R.string.aboutText).toString(),
|
||||
BuildConfig.VERSION_NAME)
|
||||
aboutText.setTextColor(Color.BLACK)
|
||||
}
|
||||
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
<string name="aboutText">
|
||||
<b>Baresip based Android application</b>\n\n
|
||||
Juha Heinanen jh@tutpro.com\n\n
|
||||
Version %1$s\n\n
|
||||
<b>Usage Hints</b>\n\n
|
||||
- check that config default values meet your needs (click item titles for help)\n
|
||||
- then create one or more accounts (again click item titles for help)\n
|
||||
|
||||
Reference in New Issue
Block a user