Skip to content

Commit

Permalink
update version and add extended
Browse files Browse the repository at this point in the history
  • Loading branch information
domjos1994 committed Sep 16, 2019
1 parent 222753c commit 899bb4d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public final class AccountActivity extends AbstractActivity {
private Spinner cmbAccountTracker;
private ArrayAdapter<Authentication.Tracker> trackerAdapter;
private EditText txtAccountServer, txtAccountUserName, txtAccountPassword,
txtAccountAPI, txtAccountImageURL, txtAccountDescription;
txtAccountAPI, txtAccountImageURL, txtAccountDescription, txtAccountExtended;
private AutoCompleteTextView txtAccountTitle;
private CheckBox chkAccountGuest;
private ImageButton cmdAccountImageGallery;
Expand Down Expand Up @@ -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) {
Expand All @@ -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);
Expand Down Expand Up @@ -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);

Expand Down
12 changes: 12 additions & 0 deletions app/src/main/res/layout/account_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,18 @@
android:layout_weight="1" />
</TableRow>

<TableRow>

<EditText
android:id="@+id/txtAccountExtended"
android:inputType="text"
android:hint="@string/accounts"
android:layout_weight="10"
android:layout_width="0dp"
android:layout_height="match_parent"
tools:ignore="Autofill" />
</TableRow>

<TableRow>

<EditText
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<string name="accounts_image_gallery">Galerie</string>
<string name="accounts_connection_successfully">Verbindung erfolgreich!</string>
<string name="accounts_connection_not_successfully">Verbindung nicht erfolgreich!</string>
<string name="accounts_youtrack_hub">Pfad zu hub</string>

<string name="projects">Projekte</string>
<string name="projects_alias">Alias</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<string name="accounts_pivotal_server" translatable="false">https://www.pivotaltracker.com</string>
<string name="accounts_connection_successfully">Connection successfully!</string>
<string name="accounts_connection_not_successfully">Connection not successfully!</string>
<string name="accounts_youtrack_hub">Path to hub</string>

<string name="projects">Projects</string>
<string name="projects_alias">Alias</string>
Expand Down

0 comments on commit 899bb4d

Please sign in to comment.