From 899bb4d9b39fc415c49474c722ec6d1a0441a3f8 Mon Sep 17 00:00:00 2001 From: domjos1994 Date: Mon, 16 Sep 2019 18:03:15 +0200 Subject: [PATCH] update version and add extended --- app/build.gradle | 4 ++-- .../unitrackermobile/activities/AccountActivity.java | 7 +++++-- app/src/main/res/layout/account_activity.xml | 12 ++++++++++++ app/src/main/res/values-de/strings.xml | 1 + app/src/main/res/values/strings.xml | 1 + 5 files changed, 21 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index eeadb05e..d214c4e3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,8 +25,8 @@ android { applicationId "de.domjos.unibuggermobile" minSdkVersion 15 targetSdkVersion 28 - versionCode 5 - versionName "0.1.beta.2" + versionCode 6 + versionName "0.1.beta.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true } diff --git a/app/src/main/java/de/domjos/unitrackermobile/activities/AccountActivity.java b/app/src/main/java/de/domjos/unitrackermobile/activities/AccountActivity.java index f67d32d1..7f9ad036 100644 --- a/app/src/main/java/de/domjos/unitrackermobile/activities/AccountActivity.java +++ b/app/src/main/java/de/domjos/unitrackermobile/activities/AccountActivity.java @@ -57,7 +57,7 @@ public final class AccountActivity extends AbstractActivity { private Spinner cmbAccountTracker; private ArrayAdapter trackerAdapter; private EditText txtAccountServer, txtAccountUserName, txtAccountPassword, - txtAccountAPI, txtAccountImageURL, txtAccountDescription; + txtAccountAPI, txtAccountImageURL, txtAccountDescription, txtAccountExtended; private AutoCompleteTextView txtAccountTitle; private CheckBox chkAccountGuest; private ImageButton cmdAccountImageGallery; @@ -110,6 +110,8 @@ public void onItemSelected(AdapterView parent, View view, int position, long } txtAccountAPI.setVisibility(View.VISIBLE); txtAccountUserName.setHint(R.string.accounts_user); + txtAccountExtended.setVisibility(View.GONE); + txtAccountExtended.setHint(R.string.accounts); Authentication.Tracker item = trackerAdapter.getItem(position); if (item != null) { @@ -122,8 +124,8 @@ public void onItemSelected(AdapterView parent, View view, int position, long case Github: txtAccountServer.setText(getString(R.string.accounts_github_server)); break; - case YouTrack: case Bugzilla: + case YouTrack: //case Tuleap: if (chkAccountGuest.isChecked()) { accountValidator.removeValidator(txtAccountAPI); @@ -306,6 +308,7 @@ protected void initControls() { this.txtAccountPassword = this.findViewById(R.id.txtAccountPassword); this.txtAccountAPI = this.findViewById(R.id.txtAccountAPI); this.txtAccountImageURL = this.findViewById(R.id.txtAccountImageURL); + this.txtAccountExtended = this.findViewById(R.id.txtAccountExtended); this.txtAccountDescription = this.findViewById(R.id.txtAccountDescription); this.cmdAccountImageGallery = this.findViewById(R.id.cmdAccountImageGallery); diff --git a/app/src/main/res/layout/account_activity.xml b/app/src/main/res/layout/account_activity.xml index 49c66456..da385cf7 100644 --- a/app/src/main/res/layout/account_activity.xml +++ b/app/src/main/res/layout/account_activity.xml @@ -144,6 +144,18 @@ android:layout_weight="1" /> + + + + + Galerie Verbindung erfolgreich! Verbindung nicht erfolgreich! + Pfad zu hub Projekte Alias diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ee01068f..c9e63086 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -42,6 +42,7 @@ https://www.pivotaltracker.com Connection successfully! Connection not successfully! + Path to hub Projects Alias