|
|
|
@ -26,9 +26,9 @@ class About : AppCompatActivity() {
|
|
|
|
.setIconDrawable(R.drawable.about_icon_github))
|
|
|
|
.setIconDrawable(R.drawable.about_icon_github))
|
|
|
|
.addGroup("Credits")
|
|
|
|
.addGroup("Credits")
|
|
|
|
.addItem(Element().setTitle("Benutzte Libraries").setIconDrawable(R.drawable._icon_libraries).setOnClickListener(showLibraries()))
|
|
|
|
.addItem(Element().setTitle("Benutzte Libraries").setIconDrawable(R.drawable._icon_libraries).setOnClickListener(showLibraries()))
|
|
|
|
.addItem(Element().setTitle("Benutzte Icons").setIconDrawable(R.drawable._icon_question).setOnClickListener {
|
|
|
|
// .addItem(Element().setTitle("Benutzte Icons").setIconDrawable(R.drawable._icon_question).setOnClickListener {
|
|
|
|
startActivity(Intent(applicationContext, IconCredits::class.java))
|
|
|
|
// startActivity(Intent(applicationContext, IconCredits::class.java))
|
|
|
|
})
|
|
|
|
// })
|
|
|
|
.create()
|
|
|
|
.create()
|
|
|
|
|
|
|
|
|
|
|
|
setContentView(aboutPage)
|
|
|
|
setContentView(aboutPage)
|
|
|
|
@ -53,12 +53,6 @@ class About : AppCompatActivity() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// private fun showIcons() : View.OnClickListener {
|
|
|
|
|
|
|
|
// return View.OnClickListener {
|
|
|
|
|
|
|
|
// startActivity(Intent(applicationContext, IconCredits::class.java))
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
|
|
|
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
|
|
|
// Handle action bar item clicks here. The action bar will
|
|
|
|
// Handle action bar item clicks here. The action bar will
|
|
|
|
// automatically handle clicks on the Home/Up button, so long
|
|
|
|
// automatically handle clicks on the Home/Up button, so long
|
|
|
|
|