diff --git a/res/layout/about.xml b/res/layout/about.xml
new file mode 100644
index 00000000..d935c01a
--- /dev/null
+++ b/res/layout/about.xml
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/res/layout/activity_launcher.xml b/res/layout/activity_launcher.xml
index 87fe0905..1da5db5c 100644
--- a/res/layout/activity_launcher.xml
+++ b/res/layout/activity_launcher.xml
@@ -1,5 +1,5 @@
-
-
-
-
-
-
-
+ android:id="@+id/textView_args" />
-
-
-
-
+ android:id="@+id/cmdArgs" />
+
-
-
+ android:id="@+id/textView_path" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/res/values-ru/strings.xml b/res/values-ru/strings.xml
index 63ced60e..583ee8e9 100644
--- a/res/values-ru/strings.xml
+++ b/res/values-ru/strings.xml
@@ -2,7 +2,6 @@
Аргументы командной строки(только для экспертов)
Запустить Xash3D
- Команды
Включить экранное управление
Путь к ресурсам игры
Настройки управления
@@ -10,4 +9,18 @@
Сохранить ярлык
Каталог мода
Название ярлыка
+ Порт на Android осуществлен командой SDLash3D:\n
+• a1batross\n
+• mittorn\n
+• nicknekit\n
+
+Особые благодарности:\n
+• Дяде Мише за Xash3D\n
+• Valve за Half-Life\n
+• Beloko Games за поддержку сенсорного управления\n
+• Разработчикам libSDL2
+ О Xash3D Android
+ SDLash3D не связан с Valve или с любыми из их партнеров. Все авторские права принадлежат их соотвественным обладателям.
+ Настройки
+ Ярлык Xash3D (тест)
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 62a173c7..50402def 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1,9 +1,9 @@
- Xash3D
- Xash3D
- Xash3D test
+ Xash3D
+ Xash3D
+ Xash3D_test
- None
- Shoot
@@ -11,20 +11,31 @@
- Use
- LauncherActivity
- Section 1
- Section 2
- Section 3
Launch Xash3D!
Settings
Command line arguments(experts only)
Enable touch controls
Path to game resources
- Hello world!
Controls settings
Xash3D shortcut
Xash3D_test shortcut
Save shortcut
Mod directory
Shortcut name
+
+
+ Xash3D Android
+ SDLash3D is not affiliated with Valve or any of their partners. All copyrights reserved to their respective owners.
+ v0.15
+ Port to Android by SDLash3D team: \n
+• a1batross\n
+• mittorn \n
+• nicknekit.\n
+
+Special thanks to:\n
+• Uncle Mike for Xash3D engine\n
+• Valve for Half-Life\n
+• Beloko Games for touch controls support\n
+• libSDL2 developers.\n
+ About Xash3D Android
diff --git a/src/in/celest/xash3d/LauncherActivity.java b/src/in/celest/xash3d/LauncherActivity.java
index 2e71eef3..1322c51b 100644
--- a/src/in/celest/xash3d/LauncherActivity.java
+++ b/src/in/celest/xash3d/LauncherActivity.java
@@ -1,6 +1,7 @@
package in.celest.xash3d;
import android.app.Activity;
+import android.app.Dialog;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
@@ -12,6 +13,8 @@ import android.widget.CompoundButton;
import android.content.ComponentName;
import android.content.pm.PackageManager;
import android.content.SharedPreferences;
+import android.content.DialogInterface;
+import android.content.DialogInterface.OnDismissListener;
import in.celest.xash3d.hl.R;
import com.beloko.touchcontrols.TouchControlsSettings;
@@ -58,6 +61,21 @@ public class LauncherActivity extends Activity {
mSettings.showSettings();
}
+ public void aboutXash(View view)
+ {
+ final Activity a = this;
+ this.runOnUiThread(new Runnable() {
+ public void run()
+ {
+ final Dialog dialog = new Dialog(a);
+ dialog.setContentView(R.layout.about);
+ dialog.setCancelable(true);
+
+ dialog.show();
+ }
+ });
+ }
+
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.