Skip to content

Commit

Permalink
Add comma when entering numbers and bump version code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitesh Patel committed Nov 12, 2017
1 parent 89592ad commit cc797e1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="nitezh.ministock"
android:versionCode="72"
android:versionName="72">
android:versionCode="73"
android:versionName="73">

<uses-sdk android:minSdkVersion="10" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class PreferencesActivity extends PreferenceActivity implements OnSharedP
// + "New features:<br/><br/>"
// + "• TODO.<br/><br/>"
+ "Multiple bug fixes:<br/><br/>"
+ "• Switch to new API to support non-US stocks";
+ "• Allow comma when entering numbers";

// Fields for time pickers
private TimePickerDialog.OnTimeSetListener mTimeSetListener;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/nitezh/ministock/utils/VersionTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ of this software and associated documentation files (the "Software"), to deal

public class VersionTools {

public static final String BUILD = "72";
public static final String BUILD = "73";

private VersionTools() {
}
Expand Down
4 changes: 4 additions & 0 deletions src/main/res/layout/portfolio_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<EditText
android:id="@+id/portfolio_item_price"
android:inputType="numberDecimal"
android:digits="0123456789,."
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
Expand Down Expand Up @@ -99,6 +100,7 @@
<EditText
android:id="@+id/portfolio_item_quantity"
android:inputType="numberDecimal|numberSigned"
android:digits="0123456789,."
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
Expand Down Expand Up @@ -141,6 +143,7 @@
<EditText
android:id="@+id/portfolio_item_limit_high"
android:inputType="numberDecimal"
android:digits="0123456789,."
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
Expand All @@ -166,6 +169,7 @@
<EditText
android:id="@+id/portfolio_item_limit_low"
android:inputType="numberDecimal"
android:digits="0123456789,."
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
Expand Down

0 comments on commit cc797e1

Please sign in to comment.