Skip to content

Commit

Permalink
Disable Android built-in about dialog
Browse files Browse the repository at this point in the history
Web client now has about dialog.
  • Loading branch information
AntumDeluge committed Mar 18, 2024
1 parent 68f21d5 commit e56d868
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ public void onClick(final View v) {
}
});

/*
final Button btn_about = (Button) activity.findViewById(R.id.btn_about);
btn_about.setOnClickListener(new ClickListener() {
@Override
Expand Down Expand Up @@ -244,6 +245,7 @@ public void onClick(final DialogInterface dialog, final int id) {
builder.create().show();
}
});
*/

final Button btn_quit = (Button) activity.findViewById(R.id.btn_quit);
btn_quit.setOnClickListener(new ClickListener() {
Expand Down
2 changes: 2 additions & 0 deletions app/android/client/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,15 @@
android:background="#00000000"
/>

<!--
<Button
android:id="@+id/btn_about"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="About"
android:background="#00000000"
/>
-->

<Button
android:id="@+id/btn_quit"
Expand Down
8 changes: 8 additions & 0 deletions doc/sources/audio-music.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@

app/android/client/src/main/res/raw/

title_01.ogg (Treasure Hunter) Tad Miller (TAD); CC0; https://opengameart.org/node/127124
title_02.ogg (Woodland Fantasy) Matthew Pablo; CC BY 3.0; https://opengameart.org/node/31929, https://matthewpablo.com/
title_03.ogg (Land of Fearless) Alexandr Zhelanov; CC BY 4.0; https://opengameart.org/node/79931, https://soundcloud.com/alexandr-zhelanov
title_04.ogg (Rejoicing) RandomMind; CC0; https://opengameart.org/node/100213
title_05.ogg (The Old Tower Inn) RandomMind; CC0; https://opengameart.org/node/87510

data/music/

a_weird_place.ogg Storyteller; GPL
Expand Down

0 comments on commit e56d868

Please sign in to comment.