Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Stefan Schueller 2019-03-03 15:45:13 +01:00
commit 94deb4d5c3
3 changed files with 21 additions and 12 deletions

View File

@ -228,6 +228,15 @@ public class SettingsActivity extends AppCompatPreferenceActivity {
} }
return false; return false;
} }
@Override
public void onResume() {
setPreferenceScreen(null);
addPreferencesFromResource(R.xml.pref_general);
bindPreferenceSummaryToValue(findPreference("pref_api_base"));
super.onResume();
}
} }
} }

View File

@ -128,8 +128,8 @@ public class VideoListActivity extends CommonActivity {
menu.findItem(R.id.action_account).setIcon( menu.findItem(R.id.action_account).setIcon(
new IconicsDrawable(this, FontAwesome.Icon.faw_user_circle).actionBar()); new IconicsDrawable(this, FontAwesome.Icon.faw_user_circle).actionBar());
menu.findItem(R.id.action_server_selection).setIcon( // menu.findItem(R.id.action_server_selection).setIcon(
new IconicsDrawable(this, FontAwesome.Icon.faw_server).actionBar()); // new IconicsDrawable(this, FontAwesome.Icon.faw_server).actionBar());
MenuItem searchMenuItem = menu.findItem(R.id.action_search); MenuItem searchMenuItem = menu.findItem(R.id.action_search);
@ -203,10 +203,10 @@ public class VideoListActivity extends CommonActivity {
this.startActivity(intentMe); this.startActivity(intentMe);
} }
return false; return false;
case R.id.action_server_selection: // case R.id.action_server_selection:
Intent intentServer = new Intent(this, SelectServerActivity.class); // Intent intentServer = new Intent(this, SelectServerActivity.class);
this.startActivity(intentServer); // this.startActivity(intentServer);
return false; // return false;
default: default:
break; break;
} }

View File

@ -26,11 +26,11 @@
android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption" android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption"
app:showAsAction="ifRoom" /> app:showAsAction="ifRoom" />
<item <!--<item-->
android:id="@+id/action_server_selection" <!--android:id="@+id/action_server_selection"-->
android:orderInCategory="300" <!--android:orderInCategory="300"-->
android:title="@string/action_bar_title_server_selection" <!--android:title="@string/action_bar_title_server_selection"-->
android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption" <!--android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption"-->
app:showAsAction="ifRoom" /> <!--app:showAsAction="ifRoom" />-->
</menu> </menu>