Browse Source

Fix Xirvik seedbox settings.

pull/90/head
Eric Kok 11 years ago
parent
commit
de64d2a9e8
  1. 2
      core/res/values-land/dimens.xml
  2. 2
      core/res/values-sw600dp/dimens.xml
  3. 2
      core/res/values/dimens.xml
  4. 8
      core/res/xml/pref_seedbox_xirvikshared.xml
  5. 2
      core/src/org/transdroid/core/gui/settings/ServerSettingsActivity.java
  6. 2
      full/AndroidManifest.xml
  7. 2
      lite/AndroidManifest.xml

2
core/res/values-land/dimens.xml

@ -24,6 +24,6 @@
<dimen name="ui_serverstatus_bignumber">19sp</dimen> <dimen name="ui_serverstatus_bignumber">19sp</dimen>
<dimen name="ui_serverstatus_sign">12dp</dimen> <dimen name="ui_serverstatus_sign">12dp</dimen>
<dimen name="ui_serverstatus_smallnumber">12dp</dimen> <dimen name="ui_serverstatus_smallnumber">12dp</dimen>
<dimen name="ui_serverstatus_width">53dp</dimen> <dimen name="ui_serverstatus_width">56dp</dimen>
</resources> </resources>

2
core/res/values-sw600dp/dimens.xml

@ -33,7 +33,7 @@
<dimen name="ui_serverstatus_bignumber">25sp</dimen> <dimen name="ui_serverstatus_bignumber">25sp</dimen>
<dimen name="ui_serverstatus_sign">17dp</dimen> <dimen name="ui_serverstatus_sign">17dp</dimen>
<dimen name="ui_serverstatus_smallnumber">14dp</dimen> <dimen name="ui_serverstatus_smallnumber">14dp</dimen>
<dimen name="ui_serverstatus_width">63dp</dimen> <dimen name="ui_serverstatus_width">67dp</dimen>
<!-- Widget configuration --> <!-- Widget configuration -->
<integer name="widget_config_orientation">0</integer> <integer name="widget_config_orientation">0</integer>

2
core/res/values/dimens.xml

@ -39,7 +39,7 @@
<dimen name="ui_serverstatus_bignumber">21sp</dimen> <dimen name="ui_serverstatus_bignumber">21sp</dimen>
<dimen name="ui_serverstatus_sign">15dp</dimen> <dimen name="ui_serverstatus_sign">15dp</dimen>
<dimen name="ui_serverstatus_smallnumber">13dp</dimen> <dimen name="ui_serverstatus_smallnumber">13dp</dimen>
<dimen name="ui_serverstatus_width">53dp</dimen> <dimen name="ui_serverstatus_width">56dp</dimen>
<!-- Widget configuration --> <!-- Widget configuration -->
<integer name="widget_config_orientation">1</integer> <integer name="widget_config_orientation">1</integer>

8
core/res/xml/pref_seedbox_xirvikshared.xml

@ -18,21 +18,21 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<EditTextPreference <EditTextPreference
android:key="seedbox_xirviksemi_name" android:key="seedbox_xirvikshared_name"
android:title="@string/pref_name" android:title="@string/pref_name"
android:summary="@string/pref_name_optional" android:summary="@string/pref_name_optional"
android:inputType="textNoSuggestions" /> android:inputType="textNoSuggestions" />
<EditTextPreference <EditTextPreference
android:key="seedbox_xirviksemi_server" android:key="seedbox_xirvikshared_server"
android:title="@string/pref_seedbox_server" android:title="@string/pref_seedbox_server"
android:summary="@string/pref_seedbox_xirvikhint2" android:summary="@string/pref_seedbox_xirvikhint2"
android:inputType="textUri" /> android:inputType="textUri" />
<EditTextPreference <EditTextPreference
android:key="seedbox_xirviksemi_user" android:key="seedbox_xirvikshared_user"
android:title="@string/pref_user" android:title="@string/pref_user"
android:inputType="textNoSuggestions" /> android:inputType="textNoSuggestions" />
<EditTextPreference <EditTextPreference
android:key="seedbox_xirviksemi_pass" android:key="seedbox_xirvikshared_pass"
android:title="@string/pref_pass" android:title="@string/pref_pass"
android:inputType="textPassword" /> android:inputType="textPassword" />

2
core/src/org/transdroid/core/gui/settings/ServerSettingsActivity.java

@ -49,7 +49,7 @@ public class ServerSettingsActivity extends KeyBoundPreferencesActivity {
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);
// Load the raw preferences to show in this screen // Load the raw preferences to show in this screen
init(R.xml.pref_server, ApplicationSettings_.getInstance_(this).getMaxOfAllServers()); init(R.xml.pref_server, ApplicationSettings_.getInstance_(this).getMaxNormalServer());
initTextPreference("server_name"); initTextPreference("server_name");
initListPreference("server_type"); initListPreference("server_type");
initTextPreference("server_address"); initTextPreference("server_address");

2
full/AndroidManifest.xml

@ -195,7 +195,7 @@
<!-- Seedbox settings --> <!-- Seedbox settings -->
<activity android:name="org.transdroid.core.seedbox.SeedstuffSettingsActivity_" /> <activity android:name="org.transdroid.core.seedbox.SeedstuffSettingsActivity_" />
<activity android:name="org.transdroid.core.seedbox.XirvikSharedSettingsActivity_" /> <activity android:name="org.transdroid.core.seedbox.XirvikSharedSettingsActivity_" />
<activity android:name="org.transdroid.core.seedbox.XirvikSemiDediSettingsActivity_" /> <activity android:name="org.transdroid.core.seedbox.XirvikSemiSettingsActivity_" />
<activity android:name="org.transdroid.core.seedbox.XirvikDediSettingsActivity_" /> <activity android:name="org.transdroid.core.seedbox.XirvikDediSettingsActivity_" />
<!-- Search --> <!-- Search -->

2
lite/AndroidManifest.xml

@ -186,7 +186,7 @@
<!-- Seedbox settings --> <!-- Seedbox settings -->
<activity android:name="org.transdroid.core.seedbox.SeedstuffSettingsActivity_" /> <activity android:name="org.transdroid.core.seedbox.SeedstuffSettingsActivity_" />
<activity android:name="org.transdroid.core.seedbox.XirvikSharedSettingsActivity_" /> <activity android:name="org.transdroid.core.seedbox.XirvikSharedSettingsActivity_" />
<activity android:name="org.transdroid.core.seedbox.XirvikSemiDediSettingsActivity_" /> <activity android:name="org.transdroid.core.seedbox.XirvikSemiSettingsActivity_" />
<activity android:name="org.transdroid.core.seedbox.XirvikDediSettingsActivity_" /> <activity android:name="org.transdroid.core.seedbox.XirvikDediSettingsActivity_" />
<!-- Background service --> <!-- Background service -->

Loading…
Cancel
Save