Commit Graph

63 Commits

Author SHA1 Message Date
15d7b5a25a Cleaned up some of the code, and updated comments
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-26 15:00:10 -04:00
0f119a8d3b Fixed the feature item duplication bug
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-26 14:42:30 -04:00
fa7cbb8122 Fixed the null pointer caused by calling getActivity() before the
fragment had one.

Also I fixed the loading of the feaure list of saved ringers

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-26 13:27:31 -04:00
7aebd3b60d I finished fixing the add feature list filtering
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-26 13:22:27 -04:00
36ecfc3507 I got the initial funtionality of removing fragmens from the List.
the next step is to better handle the added array

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-26 12:58:38 -04:00
8570fff4e4 Started intergrating the new fragment title bar into the following
fragments: ringtone fragment, toggle button fragment, volume fragment

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-26 12:09:20 -04:00
5ead10d129 Updated XML of ringtone fragment, toggle button fragment, and volume
fragment to use the new feature title bar.

I also deleted list.xml because it is no longer used.

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-26 10:53:28 -04:00
d048903501 Created a new feature title bar, it will be used in place of the current
feature title bar

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-26 10:46:04 -04:00
764e10ba17 Ringtone Fragment Edittext is no longer focus-able
this enables onclick to be call after one the first click

closes #78

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-25 23:18:23 -04:00
8092e5d4c5 Enter to next.
In the about section of the ringer info activity, the keyboard now
displays "next" instead of enter while editing the ringer's name

closes #77

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-25 23:10:15 -04:00
8230aa2115 Removed unsed import from RingerProcessingService
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-25 22:53:41 -04:00
8b7cc1aa82 Disabled Items Are Now Grey In Feature List on older devices
closes #75

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-25 22:50:27 -04:00
01af5297fc Removed desperated refs to database keys in RingerInformationActivity
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-25 21:51:51 -04:00
97699298a9 Fixed the null pointer reported in #76
closes #76

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-25 21:48:01 -04:00
453aa185e1 Feature List Is now readable on older devices
closes #74

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-25 14:12:06 -04:00
9e559d445e Merge branch 'Feature/#50' 2012-05-25 11:42:05 -04:00
95d3536887 Ringtone names
ringtone names are no longer saved into the database.

closes #72

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-25 11:36:28 -04:00
d380d865d9 Set volume when silent
the volume in the ringtone fragment is not set to 0 when the tone is set
to silent

closes #71

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-25 11:12:55 -04:00
168b6478a6 Ringtone should display silent, when silent
closes #70

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-25 11:06:21 -04:00
0ac2e80c3d I split FeatrueListFragment in 2, creating BaseFragmentListFragment.
BaseFragmentListFragment contians all the list specific funtionaitly
where FeatrueListFragment continans application specific funtions

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-24 12:56:35 -04:00
b5377fd841 I enabled greying out disabled list items in the Add Feature dialog
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-24 12:23:16 -04:00
0752cc1aa8 Fixed the Add Feature dialog title
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-24 12:06:20 -04:00
5675683133 Added som padding between the feature list and the add feature button
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-24 12:04:24 -04:00
cdbc10015a I have successfully enabled filtering for the add a feature dialog.
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-24 11:54:52 -04:00
a3cd896cdd I have got basic funtionaltiy for adding fragments.
The next step is to remove items from the list, if they already exist in
the UI

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-24 11:26:02 -04:00
acbae362d9 Fixed the addd ringer button to be of the button bar style
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-24 10:59:46 -04:00
ce1effd128 Added an add button to the feature list fragment's UI
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-24 10:59:02 -04:00
aca2dd0655 Address Search Dialog: Dismiss Keyboard
The keyboard is now dissmissed when the user clicks the ok button

closes #67

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-23 13:00:51 -04:00
f161b181da Converted Ringer Information Activity Menu to XML
The save option is shown as an action when ever possible

closes #68

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-23 12:54:56 -04:00
6f0f6867ab Made some minor tweaks to the Ringer Info Activity UI
closes #43

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-23 12:27:22 -04:00
97d6ef0420 Merge branch 'Support/#46' 2012-05-23 12:13:54 -04:00
e2fd797162 Fixed fragments dissapearing on activity result
I overrided FeatureListFragment.onActivtyResult() so I could remove and
reload the fragments.

Also in FeatureListFragment.loadFragments() I removed the if block that
replaces fragments.

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-23 12:10:29 -04:00
e552a77c71 I have canged the call from transaction.commit for
transaction/commitAllowingStateLoss() in
FeatureListFragmetn.onPause()

This has seemed to fix the issues with the fragments dissapearing after
the ringtone activity returns.

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-23 01:00:05 -04:00
1ad1eb8b8c I added a call to Collections.reverse() for mFragments in
FeatureListFragment.onPause()

This has fixed the issuse of the fragments reversing their order.

The root cause is decribed here
http://code.google.com/p/android/issues/detail?id=31116#makechanges

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-23 00:31:18 -04:00
c9f119c2e6 I overrided FeatureListFragment.onPause() to remove the fragments from
the view. 

This allows them to be redrawn in onResume. The only issue
that remains is that the fragments change order in which they are drawn
in the UI.

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-23 00:19:01 -04:00
d2c0e35a1b Added some simple add/remove methods, and I removed the
FeatureListAdaptor

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-22 21:48:33 -04:00
2fdbb2e5bb Inital commit of the new dynamic Fragment list. This fragment no longer
uses a listview or an adapter

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-22 21:21:56 -04:00
fbfc27c6a5 Created a short cut that is used to start the location service
closes #65

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-22 10:28:04 -04:00
7e051a7a2d Enabled Back Navigation in Settings
closes #62

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-18 15:08:04 -04:00
7760e402dd Updated the List Activity Menu
closes #63

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-18 15:03:46 -04:00
5577f6189a Updated the List Activity Context Menu to use xml
closes #64

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-18 14:55:03 -04:00
5d1aa739ee Cleaned up the Ringer List Item UI
closes #61

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-18 14:18:20 -04:00
35071d8aee Fixed Marking location with Mark Location Button
closes #59

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-18 12:50:38 -04:00
11fe8becc6 I notify the listener in RingtoneFragment.onCreateView
only if it is popluated with system settings

closes #57

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-18 12:12:37 -04:00
a6b0928204 Cleaned up the Ringtone Fragment UI
closes #56

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-18 11:47:47 -04:00
834dff6f0b I notify the listener in VolumeFragment.onCreateView
only if it is popluated with system settings

closes #58

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-18 10:53:02 -04:00
56372cd817 Fixed Tiltle bar
closes #55

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-18 10:50:31 -04:00
17e42b688b Dismiss Keyboard when paging the RingerInfo Activity pager
refs #55

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-18 10:49:08 -04:00
a29ed10fae What on Default
Updated default ringer to only display the what fragment, and added the
default ringer description to the ringer list view

closes #48

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-17 12:29:43 -04:00
5407d10b29 Cleaned up code involving location broadcasts and the location lib
Updates.

closes #54

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-17 11:50:08 -04:00