Removed website and FAQ links from nav drawer, added website link to about

This commit is contained in:
str4d
2014-01-27 02:31:10 +00:00
parent 228d0204fc
commit e9fbe8c2ef
4 changed files with 18 additions and 19 deletions

View File

@ -19,6 +19,18 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/about_project"
android:textStyle="bold" />
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/url_project"
android:autoLink="web" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -10,8 +10,6 @@
<item>NetDB</item> <item>NetDB</item>
<item>@string/label_welcome_page</item> <item>@string/label_welcome_page</item>
<item>@string/label_news</item> <item>@string/label_news</item>
<item>@string/label_website_nonanon</item>
<item>@string/label_faq_nonanon</item>
</string-array> </string-array>
<string-array name="log_level_list"> <string-array name="log_level_list">
<item>ERROR</item> <item>ERROR</item>

View File

@ -22,8 +22,6 @@
<string name="label_release_notes">Release Notes</string> <string name="label_release_notes">Release Notes</string>
<string name="label_licenses">Licenses</string> <string name="label_licenses">Licenses</string>
<string name="label_nonanon_info">Non Anonymous Information</string> <string name="label_nonanon_info">Non Anonymous Information</string>
<string name="label_website_nonanon">Web Site (non-anon)</string>
<string name="label_faq_nonanon">FAQ (non-anon)</string>
<string name="label_browse">Browse</string> <string name="label_browse">Browse</string>
<string name="label_graphs">Graphs</string> <string name="label_graphs">Graphs</string>
@ -104,13 +102,15 @@
<string name="settings_desc_expl_backupQuantity">How many tunnel backups</string> <string name="settings_desc_expl_backupQuantity">How many tunnel backups</string>
<string name="menu_about">About</string> <string name="menu_about">About</string>
<string name="about_version">Version</string> <string name="about_version">Version:</string>
<string name="about_bugs">Bugs and Support</string> <string name="about_project">Project Home:</string>
<string name="url_android_forum">http://zzz.i2p/</string> <string name="url_project" translatable="false">https://geti2p.net/</string>
<string name="about_bugs">Bugs and Support:</string>
<string name="url_android_forum" translatable="false">http://zzz.i2p/</string>
<string name="about_helpwanted">Help Wanted!</string> <string name="about_helpwanted">Help Wanted!</string>
<string name="about_volunteer">Want to help make the app better? Volunteer on the Android forum:</string> <string name="about_volunteer">Want to help make the app better? Volunteer on the Android forum:</string>
<string name="about_donate">Want to donate money or bitcoins to buy more Android devices for development and testing? Go to:</string> <string name="about_donate">Want to donate money or bitcoins to buy more Android devices for development and testing? Go to:</string>
<string name="url_donate">https://geti2p.net/en/donate</string> <string name="url_donate" translatable="false">https://geti2p.net/en/donate</string>
<string name="menu_help">Help</string> <string name="menu_help">Help</string>

View File

@ -5,7 +5,6 @@ import android.content.Intent;
import android.content.ServiceConnection; import android.content.ServiceConnection;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.content.res.Configuration; import android.content.res.Configuration;
import android.net.Uri;
import android.os.Bundle; import android.os.Bundle;
import android.os.IBinder; import android.os.IBinder;
import android.support.v4.app.ActionBarDrawerToggle; import android.support.v4.app.ActionBarDrawerToggle;
@ -197,16 +196,6 @@ public abstract class I2PActivityBase extends ActionBarActivity implements
.addToBackStack(null) .addToBackStack(null)
.commit(); .commit();
break; break;
case 9:
Intent website = new Intent(Intent.ACTION_VIEW);
website.setData(Uri.parse("http://www.i2p2.de/"));
startActivity(website);
break;
case 10:
Intent faq = new Intent(Intent.ACTION_VIEW);
faq.setData(Uri.parse("http://www.i2p2.de/faq"));
startActivity(faq);
break;
default: default:
Intent main = new Intent(I2PActivityBase.this, MainActivity.class); Intent main = new Intent(I2PActivityBase.this, MainActivity.class);
startActivity(main); startActivity(main);