Commit graph

121 commits

Author SHA1 Message Date
Severiano Jaramillo
fb329658eb Added the logic to create a new Security Lock pattern and save it encrypted in the preferences, with all used strings translated to Spanish. 2019-02-16 16:41:02 -06:00
Severiano Jaramillo
e44f4ea6e2 Created PatternSecurityLockDialog, which will be in charge of creating and confirming a new Pattern of validating the existing one, with a logic similar to PINSecurityLockDialog's. Created basic PatternSecurityLockDialog with a UI that resembles Android's. 2019-02-14 19:57:42 -06:00
Severiano Jaramillo
e8e1259314 Added the options to change the Security Lock option between PIN and None, and force the UI to show the correct one when it is changed. 2019-02-14 15:17:29 -06:00
Severiano Jaramillo
f3c85e8875 Added the functionality to PINSecurityLockDialog to check if the entered PIN corresponds with the current PIN and if that is the case let the calling fragmet about it, so that the fragment can respond accordingly 2019-02-14 12:53:35 -06:00
Severiano Jaramillo
123482e996 Added the PatternLockView library to the project, which will let us add the pattern security option. Modified the Settings screen so that when the user tries to change its Security Lock option and the current one is PIN, show the PIN dialog first. Created the PINSecurityLockDialog which will host the logic of creating and confirming the new PIN, and verifying the current one. Finally, created BaseSecurityLockDialog which will host the shared logic between the PIN and Pattern Security Lock dialogs. 2019-02-14 09:06:22 -06:00
Severiano Jaramillo
084a90d515 Add a Security section to the Settings screen, with a Security Lock option where the user can see the currently selected Security Lock option. When it is tapped a dialog appears where the user can select his desired Security Lock (PIN/Pattern/None). 2019-02-13 13:37:15 -06:00
Severiano Jaramillo
d249f165d9 Change equivalent value text to just value in eReceipts. 2019-02-12 09:34:15 -06:00
Severiano Jaramillo
5d8dbd0664 Correctly handle the scenario when the user scans a QR that requests an asset that he does not own, when that happens just parse the To and Memo fields and show a snackbar with a proper message, do not fill the amount field. 2019-02-11 20:38:46 -06:00
Severiano Jaramillo
1e67fdf065 Improve the camera preview in SendTransactionFragment, so that both the preview and the scan zone are squared. 2019-02-11 18:53:18 -06:00
Severiano Jaramillo
abfbed91f5 Extract string resources from FilterOptionsDialog and add their Spanish translation. 2019-02-07 13:07:04 -06:00
Severiano Jaramillo
76fea6cfc1 Added the filter by Equivalent Value range option to the TransactionsFragment' FilterOptioinsDialog, which communicates the user selection back and forth. Also, renamed all string instances of Fiat Equivalent to Equivalent Value in order to use the same convention in all the screens 2019-02-07 12:52:37 -06:00
Severiano Jaramillo
259294b6e3 Fix eReceipt title color in dark mode. 2019-02-05 17:19:14 -06:00
Severiano Jaramillo
032c5bcb5f Add functionality to eReceipts to fetch the Transaction information from the database and correctly format and display it on the screen. 2019-02-05 17:17:00 -06:00
Severiano Jaramillo
49b8ce1cb5 Create eReceipts dynamic layout. 2019-02-05 16:36:55 -06:00
Severiano Jaramillo
d8f1ad7216 Create basic eReceipt screen, which is opened when a transaction is touched in the TransactionsFragment using the Navigation component. 2019-02-05 14:18:10 -06:00
Severiano Jaramillo
981a14723e In the MerchantsFragment's Map InfoWindows allow line wraps for both name and address and if a section has no data do not show a blank line but just hide it. 2019-01-31 15:42:36 -06:00
Severiano Jaramillo
c7138c5e22 Dynamically obtain the status bar and navigation bar height, to automatically and correctly place the Toolbar and Map UI Controllers in MerchantsFragment. 2019-01-31 13:36:38 -06:00
Severiano Jaramillo
1505a5642c In MerchantsFragment, change the popup window background to transparent to match the maps theme. Hide the MyLocation button while the popup is open to avoid it making it hard to see the switches in the popup menu. Color the popup menu's switches to use the same green and yellow color as their corresponding pon markers. Move the popup window down to remove the overlapping with the Toolbar. 2019-01-30 11:15:07 -06:00
Severiano Jaramillo
4a47b5b637 Created AutoScrollingTextView which automatically scrolls its contents horizontally in case the contents do not fit the available width and used it in the Map suggestions' address to display the complete address. Also, improved the Map Toolbar color. 2019-01-30 09:35:06 -06:00
Severiano Jaramillo
28e0e9df52 Make the MerchantsFragment's custom translucent Toolbar works with the up button, and menu items, looks good in day and night modes and make sure everything goes back to normal when returning to the HomeFragment. 2019-01-29 23:46:04 -06:00
Severiano Jaramillo
4d8ed68912 Add translucent navigation and status bar to the MerchantsFragment and adjust the content size so that the map grows below them. 2019-01-29 22:33:32 -06:00
Severiano Jaramillo
c65cf1b69e When a suggestion is selected in the MerchantsFragment's SerachView, zoom and move the map camera to center the corresponding marker. 2019-01-28 21:50:32 -06:00
Severiano Jaramillo
84a524c486 Update MerchantsFragment's SearchView suggestions UI so that they include the merchant or teller icon, to make it easier for users and improve UX. 2019-01-28 16:14:11 -06:00
Severiano Jaramillo
f70e0434ff Added a custom layout to show suggestions to MerchantsFragment's SearchView so that it can show Merchat/Teller name and address. Added a way to figure out if the selected suggestion is a Merchant or a Teller, so we can decide on how to proceed to find its correct marker on the map. 2019-01-28 15:56:50 -06:00
Severiano Jaramillo
8aab7c03ac Added a dialog to explain what merchants and tellers are, which is opened in from the About option in the Merchants & Tellers's popup menu. 2019-01-26 16:25:59 -06:00
Severiano Jaramillo
0c41c76097 Make sure the MerchantsFragment's custom popup dialog is dismissed if it is open and the user clicks anywhere else in the map. 2019-01-25 22:11:05 -06:00
Severiano Jaramillo
52c2cf8211 Added an (i) icon to the About section in the MerchantsFragment's custom popup menu and improved the menu positioning moving it a bit to the top so that it overlaps the toolbar. 2019-01-25 21:51:58 -06:00
Severiano Jaramillo
b9497a2db4 Created a three vertical dots icon and use it in the MerchantsFragment's Toolbar. Then forced that icon to display a custom Popup menu to control which pins will appear on the map (merchants and/or tellers). 2019-01-25 20:03:22 -06:00
Severiano Jaramillo
2e07bc512f Improve merchants' marker info window layout. Added proper padding and nice rounded corners with a 1dp border to improve visibility. 2019-01-24 17:02:28 -06:00
Severiano Jaramillo
69c27d3092 Create a custom layout for Merchants marker's info dialogs in the MerchantsFragment map, to be able to show all the required information using a custom adapter. 2019-01-24 15:22:51 -06:00
Severiano Jaramillo
5331d8ebe2 Improve Merchants & Tellers map default location and zoom. 2019-01-23 16:30:34 -06:00
Severiano Jaramillo
8c56250d1a Position the Merchants & Tellers Map by default somewhere near Panama with a zoom of 6. 2019-01-22 16:30:23 -06:00
Severiano Jaramillo
227e0224a1 Add location permission request in the Merchants and Tellers screen, and if accepted show the icon on the map so that it can be moved to the current user's location if it is available already. Also, show the zoom UI controls on the map. 2019-01-22 15:31:24 -06:00
Severiano Jaramillo
357cc97e40 Improve homescreen buttons layout, making the camera button bigger and putting it over the Send button in the border at ~-140°, and removing the line that connected the camera and send buttons. 2019-01-22 09:56:58 -06:00
Severiano Jaramillo
6841e3eb9a Created a tab_icon_selector file to dynamicaly color the Pie chart icon in the HomeFragment tabs in the activated/deactivated state in both day and night mode to match the same colors as the other tab's text. 2019-01-21 21:54:18 -06:00
Severiano Jaramillo
ef5834264b Force the back button in the Toolbar in different screens to use the same white color as the Toolbar title text. 2019-01-21 12:05:40 -06:00
Severiano Jaramillo
ec57bea829 Created an extension function that can be used to hide the keyboard from any view and used that extension function to add the behavior of hiding the keyboard when a EditText loses focus which was included in a custom view MyTextInputEditText. Then used that class in all EditText fields in SendTransactionFragment, ReceiveTransactionFragment, ImportBrainkeyFragment and CreateAccountFragment to introduce the described behavior. 2019-01-16 10:30:11 -06:00
Severiano Jaramillo
12d17c54d3 Improve HomeFragment layout by increasing elevation (and shadows) of buttons, changing the line that connect the camera and send buttons to red color and also improving the Send and Receive text by using caps and a small spacing from the buttons above. 2019-01-16 09:47:17 -06:00
Severiano Jaramillo
887d9a249f Improve FilterOptionsDialog layout by moving the 'IgnoreNetworkFees' section above the 'Fiat Amount' section. 2019-01-15 21:43:24 -06:00
Severiano Jaramillo
027f690480 Add a switch to the bottom of the Transactions' FilterOptionsDialog which will be used to hide/show the network fees sent to Agorise. Also added the communication back and forth from the Transactions to the Dialog to keep updated the user selection of the switch. 2019-01-15 21:23:54 -06:00
Severiano Jaramillo
dd619be8c8 Update ImportBrainkeyFragment layout to show the 'View Network Status' text and newtwork status icon at the bottom. 2019-01-11 13:27:34 -06:00
Severiano Jaramillo
67ad71ff88 Change brainkey error description and create and import button labels in ImportBrainkeyFragment. Also added an 'Or' string between the import and create buttons. 2019-01-10 15:57:53 -06:00
Severiano Jaramillo
8a02ab43df Remove focus from the first EditText by default in ImportBrainkeyFragment. 2019-01-10 15:32:30 -06:00
Severiano Jaramillo
7c1a3577e9 Extract string resources from TransactionsFragment's FilterOptionsDialog, so they can be easily translated. 2019-01-10 12:44:56 -06:00
Severiano Jaramillo
bd0b74eeaf In the FilterOptionsDialog, add the option to filter by Asset, where the user can select to see transactions involving all assets or only a specific one that can be selected in a Spinner. This selection is communicated back to the TransactionsFragment to respond and show the transactions matching with the user selected criteria. 2019-01-10 12:23:17 -06:00
Severiano Jaramillo
5075c59b7b Remove border from FloatingActionButtons in HomeFragment and SendTransactionFragment.
This was the blue border that appeared around the rounded buttons in the mentioned screens.
2019-01-09 18:04:52 -06:00
Severiano Jaramillo
e16d651a63 Fix crash related to trying to create a Dialog from a thread other than the UI thread. Also, add the password toggle buttons to the PIN fields in CreateAccountFragment. 2019-01-08 20:53:57 -06:00
Severiano Jaramillo
14a4f79cb2 Added the BrainKey Bitshares dictionary as a text file in the app assets and make use of it to automatically generate BrainKeys in CreateAccountActivity when the user is trying to create a new account. 2019-01-05 16:30:57 -06:00
Severiano Jaramillo
991967cd7d Created CreateAccountFragment with its layout and the methods to show it when the user clicks the 'Create' button in the ImportBrainkeyFragment using Navigation AAC. 2019-01-05 15:23:42 -06:00
Severiano Jaramillo
2dd843fe91 Removed ImportBrainkeyActivity and created ImportBrainkeyFragment instead, with this the app is now using a single activity and all the content is divided in fragments. All the navigation inside the app is now controlled by the AAC Navigation component. 2019-01-04 16:50:56 -06:00