This GitLab instance reached the end of its service life. It won't be possible to create new users or projects.

Please read the deprecation notice for more information concerning the deprecation timeline

Visit migration.git.tu-berlin.de (internal network only) to import your old projects to the new GitLab platform 📥

Commit 9b661d22 by Nico Suhl

cleanup, thanks lint ;)

parent 27fa5d88
apply plugin: 'android'
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 14
targetSdkVersion 19
versionCode 1
targetSdkVersion 22
versionCode 2
versionName "1.0"
}
......
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.k4ever.k4android"
android:versionCode="2"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="17" />
package="de.k4ever.k4android" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
......
......@@ -131,7 +131,7 @@ public class LoginFragment extends DialogFragment implements OnEditorActionListe
Toast.makeText(getActivity(), R.string.error_wrongpw, Toast.LENGTH_LONG).show();
} else {
prefs.putBoolean("pref_loginsuccess", true);
prefs.commit();
prefs.apply();
SyncFragment fragment = new SyncFragment();
FragmentTransaction transaction = getFragmentManager().beginTransaction();
transaction.add(fragment, "sync");
......
......@@ -6,7 +6,6 @@
android:orientation="horizontal"
tools:context=".ProdukteActivity" >
<fragment
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/fragment_produkte"
android:layout_width="0px"
android:layout_height="match_parent"
......
......@@ -13,7 +13,6 @@
tools:layout="@layout/simple_list_item_2" >
</fragment>
<fragment
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/fragment_virtuals"
android:layout_width="0px"
android:layout_height="match_parent"
......
......@@ -4,7 +4,6 @@
android:layout_height="fill_parent"
android:orientation="horizontal" >
<fragment
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/fragment_buyscreen"
android:layout_width="match_parent"
android:layout_height="match_parent"
......
......@@ -4,7 +4,6 @@
android:layout_height="fill_parent"
android:orientation="horizontal" >
<fragment
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/fragment_history_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
......
......@@ -4,7 +4,6 @@
android:layout_height="fill_parent"
android:orientation="horizontal" >
<fragment
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/produkte_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
......
......@@ -4,7 +4,6 @@
android:layout_height="fill_parent"
android:orientation="horizontal" >
<fragment
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/fragment_virtuals_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
......
......@@ -14,7 +14,6 @@
</android.support.v4.view.ViewPager>
<!--
<fragment
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/fragment_virtuals"
android:layout_width="match_parent"
android:layout_height="match_parent"
......
......@@ -23,14 +23,12 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/dec"
android:onClick="increase"
android:text=" + " />
<Button
android:id="@+id/dec"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:onClick="decrease"
android:text=" - " />
<Spinner
android:id="@+id/chargetype"
......
......@@ -52,4 +52,21 @@
<string name="favorite">Favorit</string>
<string name="buy_sucess">Produkt erfolgreich gekauft.</string>
<string name="buy_fail">Fehler: Produkt konnte nicht gekauft werden.</string>
<string name="sign_in">Sign In - unused</string>
<string name="login">Login</string>
<string name="please_supply_credentials">Bitte Logindaten angeben</string>
<string name="sync_balance">Synchronisiere Kontostand</string>
<string name="sync_history">Synchronisiere Einkäufe</string>
<string name="sync_transactions">Synchronisiere Ein-/Auszahlungen</string>
<string name="sync_products">Synchronisiere Produkte</string>
<string name="sync_virtuals">Synchronisiere Überweisungen</string>
<string name="balance">Kontostand</string>
<string name="manage_balance">Kontostand</string>
<string name="balance_payment">Kontostand</string>
<string name="balance_value">%s Euro</string>
<string name="charge_prompt">change of balance</string>
<string name="id">ID</string>
<string name="name">Name</string>
<string name="sortby">Produkte sortieren nach</string>
<string name="scanitem">Scanne barcode</string>
</resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment