Skip to content

Commit 1432a09

Browse files
committed
Updated version numbers for 1.2.3 release
Increased touch target area for "new transaction" button in accounts list view
1 parent 0f760ed commit 1432a09

11 files changed

Lines changed: 35 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
Change Log
22
===============================================================================
3-
Version 1.2.3.beta2 *(2013-08-27)*
3+
Version 1.2.3 *(2013-08-28)*
44
----------------------------
5+
* Fixed: crashes when editing/creating transactions
56
* Feature: Added Chinese language translation
67
* Feature: Autocomplete transaction descriptions
7-
* Fixed: crash when creating transactions or updating widget
88
* Improved reliability of importing stock accounts
99
* Improved speed of loading account balance
10+
* Improved incrased touch target area of "new transaction" button in accounts list view
1011

1112
Version 1.2.2 *(2013-06-23)*
1213
----------------------------

app/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
1919
package="org.gnucash.android"
20-
android:versionCode="12"
21-
android:versionName="1.2.3.beta2" >
20+
android:versionCode="13"
21+
android:versionName="1.2.3" >
2222

2323
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="15"/>
2424

app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<description>Gnucash Android companion application</description>
2323

2424
<parent>
25-
<version>1.2.3-SNAPSHOT</version>
25+
<version>1.2.3</version>
2626
<groupId>org.gnucash.android</groupId>
2727
<artifactId>gnucash-android-parent</artifactId>
2828
</parent>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item android:drawable="@drawable/abs__item_background_holo_light"
5+
android:state_pressed="true" />
6+
<item android:drawable="@drawable/abs__item_background_holo_light"
7+
android:state_focused="true" />
8+
</selector>

app/res/layout/list_item_account.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
android:paddingRight="@dimen/edge_padding"
2424
android:orientation="horizontal"
2525
style="@style/ListItem">
26-
2726
<include
2827
layout="@layout/list_item_2_lines"
2928
android:layout_height="wrap_content"
@@ -48,13 +47,15 @@
4847
android:layout_marginRight="10dp"
4948
/>
5049

51-
<ImageView
50+
<ImageButton
5251
android:id="@+id/btn_new_transaction"
5352
android:layout_width="wrap_content"
54-
android:layout_height="wrap_content"
55-
android:background="@drawable/content_new_holo_light"
53+
android:layout_height="match_parent"
54+
android:src="@drawable/content_new_holo_light"
55+
style="@style/ImageButton.Transparent"
5656
android:padding="2dp"
5757
android:clickable="true"
58+
android:focusable="false"
5859
android:contentDescription="@string/description_add_transaction_icon"/>
5960

6061
</LinearLayout>

app/res/values-v14/styles.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<style name="ImageButton.Transparent" parent="@android:style/Widget.ImageButton">
4+
<item name="android:background">?android:attr/selectableItemBackground</item>
5+
</style>
6+
</resources>

app/res/values/styles.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,9 @@
8080
<item name="android:textSize">12sp</item>
8181
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
8282
</style>
83+
84+
<style name="ImageButton.Transparent" parent="@android:style/Widget.ImageButton">
85+
<item name="android:background">@drawable/selected_background</item>
86+
</style>
87+
8388
</resources>

app/src/org/gnucash/android/ui/accounts/AccountsListFragment.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ public void bindView(View v, Context context, Cursor cursor) {
609609
.findViewById(R.id.transactions_summary);
610610
new AccountBalanceTask(summary, getActivity()).execute(accountId);
611611

612-
ImageView newTransactionButton = (ImageView) v.findViewById(R.id.btn_new_transaction);
612+
ImageButton newTransactionButton = (ImageButton) v.findViewById(R.id.btn_new_transaction);
613613
if (inSubAcccount()){
614614
newTransactionButton.setVisibility(View.GONE);
615615
v.findViewById(R.id.vertical_line).setVisibility(View.GONE);
@@ -625,6 +625,7 @@ public void onClick(View v) {
625625
}
626626
});
627627
}
628+
newTransactionButton.setFocusable(false);
628629
}
629630
}
630631

integration-tests/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="org.gnucash.android.test"
44
android:versionCode="3"
5-
android:versionName="1.2.0" >
5+
android:versionName="1.2.3" >
66

77
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="15" />
88

integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1818
<modelVersion>4.0.0</modelVersion>
1919
<parent>
20-
<version>1.2.3-SNAPSHOT</version>
20+
<version>1.2.3</version>
2121
<groupId>org.gnucash.android</groupId>
2222
<artifactId>gnucash-android-parent</artifactId>
2323
</parent>

0 commit comments

Comments
 (0)