diff --git a/android/app/src/main/java/com/github/stenzek/duckstation/MainActivity.java b/android/app/src/main/java/com/github/stenzek/duckstation/MainActivity.java index cdf32d254..fc2d53d29 100644 --- a/android/app/src/main/java/com/github/stenzek/duckstation/MainActivity.java +++ b/android/app/src/main/java/com/github/stenzek/duckstation/MainActivity.java @@ -49,15 +49,6 @@ public class MainActivity extends AppCompatActivity { private boolean mHasExternalStoragePermissions = false; private boolean mIsShowingGameGrid = false; - private static String getTitleString() { - String scmVersion = AndroidHostInterface.getScmVersion(); - final int gitHashPos = scmVersion.indexOf("-g"); - if (gitHashPos > 0) - scmVersion = scmVersion.substring(0, gitHashPos); - - return String.format("DuckStation %s", scmVersion); - } - public GameList getGameList() { return mGameList; } @@ -142,7 +133,6 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Toolbar toolbar = findViewById(R.id.toolbar); setSupportActionBar(toolbar); - getSupportActionBar().setTitle(getTitleString()); findViewById(R.id.fab_add_game_directory).setOnClickListener(new View.OnClickListener() { @Override diff --git a/android/app/src/main/res/drawable/duck.png b/android/app/src/main/res/drawable/duck.png new file mode 100644 index 000000000..f039412f2 Binary files /dev/null and b/android/app/src/main/res/drawable/duck.png differ diff --git a/android/app/src/main/res/layout/activity_main.xml b/android/app/src/main/res/layout/activity_main.xml index 1ab518e99..54e0fcc95 100644 --- a/android/app/src/main/res/layout/activity_main.xml +++ b/android/app/src/main/res/layout/activity_main.xml @@ -18,9 +18,10 @@ + android:layout_marginStart="16dp" + app:srcCompat="@drawable/duck" />