Added version to dashboard in actionbar
This commit is contained in:
parent
64b8c6e0a4
commit
93b89d6a81
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<resources>
|
||||
<string name="app_name_ver">OsmAnd 1.9</string>
|
||||
<string name="app_name">OsmAnd~</string>
|
||||
|
||||
<!--
|
||||
|
|
|
@ -37,7 +37,7 @@ public class DashboardActivity extends SherlockFragmentActivity {
|
|||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.dashboard);
|
||||
getSupportActionBar().setTitle(R.string.app_name);
|
||||
getSupportActionBar().setTitle(R.string.app_name_ver);
|
||||
ColorDrawable color = new ColorDrawable(Color.parseColor("#ff8f00"));
|
||||
getSupportActionBar().setBackgroundDrawable(color);
|
||||
getSupportActionBar().setIcon(android.R.color.transparent);
|
||||
|
|
Loading…
Reference in a new issue