]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/AboutActivity.java
go
[Dictionary.git] / src / com / hughes / android / dictionary / AboutActivity.java
index 065b0c48739f9cfe76c0424137667e5278d3206e..b23a01a878c6f4e08dd24681fc4fbfbd1b9a908f 100755 (executable)
@@ -1,24 +1,19 @@
 package com.hughes.android.dictionary;\r
 \r
 import android.app.Activity;\r
-import android.content.Intent;\r
 import android.os.Bundle;\r
-import android.widget.TextView;\r
 \r
 public final class AboutActivity extends Activity {\r
-  \r
+\r
   public static final String CURRENT_DICT_INFO = "currentDictInfo";\r
 \r
   /** Called when the activity is first created. */\r
   @Override\r
   public void onCreate(final Bundle savedInstanceState) {\r
-      super.onCreate(savedInstanceState);\r
-      setContentView(R.layout.about);\r
-      \r
-      final Intent intent = getIntent();\r
-      \r
-      final TextView currentDictInfo = (TextView) findViewById(R.id.currentDictInfo);\r
-      currentDictInfo.setText(intent.getStringExtra(CURRENT_DICT_INFO));\r
+    ((DictionaryApplication)getApplication()).applyTheme(this);\r
+\r
+    super.onCreate(savedInstanceState);\r
+    setContentView(R.layout.about_activity);\r
   }\r
 \r
 }\r