forked from codinguser/gnucash-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
78 changed files
with
578 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+856 Bytes
GnucashMobile/res/drawable-hdpi-v14/appwidget_dark_bg_focused.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+158 Bytes
GnucashMobile/res/drawable-hdpi-v14/appwidget_inner_focused_c.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+216 Bytes
GnucashMobile/res/drawable-hdpi-v14/appwidget_inner_focused_l.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+219 Bytes
GnucashMobile/res/drawable-hdpi-v14/appwidget_inner_focused_r.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+157 Bytes
GnucashMobile/res/drawable-hdpi-v14/appwidget_inner_pressed_c.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+224 Bytes
GnucashMobile/res/drawable-hdpi-v14/appwidget_inner_pressed_l.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+226 Bytes
GnucashMobile/res/drawable-hdpi-v14/appwidget_inner_pressed_r.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+523 Bytes
GnucashMobile/res/drawable-mdpi-v14/appwidget_dark_bg_focused.9.png
Oops, something went wrong.
Binary file added
BIN
+152 Bytes
GnucashMobile/res/drawable-mdpi-v14/appwidget_inner_focused_c.9.png
Oops, something went wrong.
Binary file added
BIN
+189 Bytes
GnucashMobile/res/drawable-mdpi-v14/appwidget_inner_focused_l.9.png
Oops, something went wrong.
Binary file added
BIN
+184 Bytes
GnucashMobile/res/drawable-mdpi-v14/appwidget_inner_focused_r.9.png
Oops, something went wrong.
Binary file added
BIN
+151 Bytes
GnucashMobile/res/drawable-mdpi-v14/appwidget_inner_pressed_c.9.png
Oops, something went wrong.
Binary file added
BIN
+198 Bytes
GnucashMobile/res/drawable-mdpi-v14/appwidget_inner_pressed_l.9.png
Oops, something went wrong.
Binary file added
BIN
+189 Bytes
GnucashMobile/res/drawable-mdpi-v14/appwidget_inner_pressed_r.9.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+158 Bytes
GnucashMobile/res/drawable-xhdpi-v14/appwidget_inner_focused_c.9.png
Oops, something went wrong.
Binary file added
BIN
+242 Bytes
GnucashMobile/res/drawable-xhdpi-v14/appwidget_inner_focused_l.9.png
Oops, something went wrong.
Binary file added
BIN
+236 Bytes
GnucashMobile/res/drawable-xhdpi-v14/appwidget_inner_focused_r.9.png
Oops, something went wrong.
Binary file added
BIN
+157 Bytes
GnucashMobile/res/drawable-xhdpi-v14/appwidget_inner_pressed_c.9.png
Oops, something went wrong.
Binary file added
BIN
+258 Bytes
GnucashMobile/res/drawable-xhdpi-v14/appwidget_inner_pressed_l.9.png
Oops, something went wrong.
Binary file added
BIN
+247 Bytes
GnucashMobile/res/drawable-xhdpi-v14/appwidget_inner_pressed_r.9.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- | ||
Copyright 2011 Google Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@drawable/appwidget_bg_pressed" android:state_pressed="true" /> | ||
<item android:drawable="@drawable/appwidget_bg_focused" | ||
android:state_focused="true" | ||
android:state_enabled="true" | ||
android:state_window_focused="true" /> | ||
<item android:drawable="@drawable/appwidget_bg" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- | ||
Copyright 2011 Google Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@drawable/appwidget_inner_pressed_c" | ||
android:state_pressed="true" /> | ||
<item android:drawable="@drawable/appwidget_inner_focused_c" | ||
android:state_focused="true" | ||
android:state_enabled="true" | ||
android:state_window_focused="true" /> | ||
<item android:drawable="@android:color/transparent" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- | ||
Copyright 2011 Google Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@drawable/appwidget_inner_pressed_l" | ||
android:state_pressed="true" /> | ||
<item android:drawable="@drawable/appwidget_inner_focused_l" | ||
android:state_focused="true" | ||
android:state_enabled="true" | ||
android:state_window_focused="true" /> | ||
<item android:drawable="@android:color/transparent" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- | ||
Copyright 2011 Google Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@drawable/appwidget_inner_pressed_r" | ||
android:state_pressed="true" /> | ||
<item android:drawable="@drawable/appwidget_inner_focused_r" | ||
android:state_focused="true" | ||
android:state_enabled="true" | ||
android:state_window_focused="true" /> | ||
<item android:drawable="@android:color/transparent" /> | ||
</selector> |
24 changes: 24 additions & 0 deletions
24
GnucashMobile/res/drawable/appwidget_dark_bg_clickable.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- | ||
Copyright 2011 Google Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@drawable/appwidget_bg_pressed" android:state_pressed="true" /> | ||
<item android:drawable="@drawable/appwidget_dark_bg_focused" | ||
android:state_focused="true" | ||
android:state_enabled="true" | ||
android:state_window_focused="true" /> | ||
<item android:drawable="@drawable/appwidget_dark_bg" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:padding="10dp" | ||
android:orientation="horizontal" > | ||
|
||
<Button | ||
android:id="@+id/btn_cancel" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:padding="14dp" | ||
android:layout_weight="1" | ||
android:drawableLeft="@drawable/navigation_cancel" | ||
android:text="@string/btn_cancel" /> | ||
|
||
<Button | ||
android:id="@+id/btn_save" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:padding="14dp" | ||
android:layout_weight="1" | ||
android:drawableLeft="@drawable/navigation_accept" | ||
android:text="@string/btn_save" /> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Written By: Ngewi Fet <ngewif@gmail.com> | ||
Copyright (c) 2012 Ngewi Fet | ||
This file is part of Gnucash for Android | ||
Gnucash for Android is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License as | ||
published by the Free Software Foundation; either version 2 of | ||
the License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, contact: | ||
Free Software Foundation Voice: +1-617-542-5942 | ||
51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 | ||
Boston, MA 02110-1301, USA gnu@gnu.org | ||
--> | ||
|
||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:padding="@dimen/widget_margin"> | ||
|
||
<LinearLayout android:id="@+id/widget_layout" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:gravity="center_vertical" | ||
android:background="@drawable/appwidget_dark_bg_clickable" | ||
android:orientation="horizontal"> | ||
|
||
<TextView android:id="@+id/account_name" | ||
android:layout_width="0dp" | ||
android:layout_height="match_parent" | ||
android:layout_weight="1" | ||
android:gravity="center_vertical" | ||
android:singleLine="true" | ||
android:ellipsize="end" | ||
android:layout_marginLeft="@dimen/edge_padding" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:text="@string/label_account_name" /> | ||
|
||
<TextView android:id="@+id/transactions_summary" | ||
android:layout_width="wrap_content" | ||
android:layout_height="match_parent" | ||
android:singleLine="true" | ||
style="@style/ListItemText" | ||
android:layout_marginLeft="@dimen/widget_margin" | ||
android:layout_marginRight="@dimen/widget_margin" /> | ||
|
||
<ImageButton android:id="@+id/btn_new_transaction" | ||
android:layout_width="48dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginRight="@dimen/edge_padding" | ||
android:layout_marginLeft="@dimen/edge_padding" | ||
android:src="@drawable/content_new" | ||
android:background="@drawable/appwidget_bg_clickable" | ||
android:contentDescription="@string/add_transaction_icon_description"/> | ||
</LinearLayout> | ||
</FrameLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" > | ||
|
||
<TextView | ||
android:id="@+id/label_account" | ||
android:text="@string/label_display_account" | ||
android:layout_height="wrap_content" | ||
android:layout_width="wrap_content" | ||
android:layout_marginBottom="-8dp" | ||
android:layout_marginTop="8dp" | ||
style="@style/TextAppearance.EditTransaction_LabelSmall" /> | ||
<Spinner | ||
android:id="@+id/input_accounts_spinner" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:minHeight="?android:attr/listPreferredItemHeight" /> | ||
|
||
<include layout="@layout/default_buttons"/> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Written By: Ngewi Fet <ngewif@gmail.com> | ||
Copyright (c) 2012 Ngewi Fet | ||
This file is part of Gnucash for Android | ||
Gnucash for Android is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License as | ||
published by the Free Software Foundation; either version 2 of | ||
the License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, contact: | ||
Free Software Foundation Voice: +1-617-542-5942 | ||
51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 | ||
Boston, MA 02110-1301, USA gnu@gnu.org | ||
--> | ||
|
||
<resources> | ||
<dimen name="widget_margin">0dp</dimen> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Written By: Ngewi Fet <ngewif@gmail.com> | ||
Copyright (c) 2012 Ngewi Fet | ||
This file is part of Gnucash for Android | ||
Gnucash for Android is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License as | ||
published by the Free Software Foundation; either version 2 of | ||
the License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, contact: | ||
Free Software Foundation Voice: +1-617-542-5942 | ||
51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 | ||
Boston, MA 02110-1301, USA gnu@gnu.org | ||
--> | ||
|
||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:minWidth="270dp" | ||
android:minHeight="56dp" | ||
android:updatePeriodMillis="86400000" | ||
android:previewImage="@drawable/widget_preview" | ||
android:initialLayout="@layout/widget_4x1" | ||
android:configure="org.gnucash.android.ui.widget.Configuration" | ||
android:resizeMode="horizontal"> | ||
</appwidget-provider> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.