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