Jimmy Shih
c4bcdc56c8
fix comment for 871dbae587aa
2012-04-23 19:06:11 -07:00
Jimmy Shih
82a338bd13
fix comment for 5b638c36df7f
2012-04-23 18:35:01 -07:00
Jimmy Shih
33118568bc
A few fixes.
...
- use fill_parent since we are still supporting api level 7.
- on the TrackListActivity, hide the empty view content
until the check unit dialog has been showned.
- fix the ChartView height. ChartView is no longer displayed
on the full canvas. The new design has a tab bar and a
zoom control.
- In TrackDetailActivity, only call methods of a tab fragment
if it is the current tab.
2012-04-23 17:49:23 -07:00
Jimmy Shih
2ea4b09dcc
Several minor fixes
...
- for TrackEdit and MarkerEdit, use windowSoftInputMode=stateHidden
- improve layout for the map in MapFragment.
- fix text size for API level < 14.
- fix bug when inserting a statistics marker with a modified name
2012-04-23 14:57:39 -07:00
Jimmy Shih
8f801b1bdb
Add AbstractMyTracksActivity as the base class for
...
all My Tracks activities.
2012-04-23 12:42:29 -07:00
Jimmy Shih
1483f19f10
Clean up activities' manifest.
2012-04-23 10:41:29 -07:00
Jimmy Shih
7fd3f0e8d9
Update menu icons.
...
Update tab icons.
Place tab tag in the appropriate fragment.
2012-04-23 10:07:08 -07:00
Jimmy Shih
7701d31bdc
Clean up all the layouts.
...
Utilize styles when possible.
2012-04-20 17:46:48 -07:00
Jimmy Shih
eb3e7e0b86
merge heads
2012-04-20 12:51:48 -07:00
Jimmy Shih
aaef92b139
Use stats_core.xml layout for
...
- AggregatedStatsActivity
- StatsFragment
- MarkerDetailActivity
Remove StatsUtilities. Use StatsUtils to set all stats labels and values.
2012-04-20 12:50:22 -07:00
Jimmy Shih
6838897353
Add a method to add all items to an array adapter.
...
ArrayAdapter.addAll is only avaiable to API >= 11.
2012-04-19 16:51:15 -07:00
Jimmy Shih
8f7c44d1e7
merge heads
2012-04-19 13:12:41 -07:00
Jimmy Shih
e314f968b8
merge heads
2012-04-19 11:29:28 -07:00
Jimmy Shih
1676f19830
Create an IntentUtils.newIntent utility method to create an intent
...
with FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK.
2012-04-19 11:24:40 -07:00
Jimmy Shih
352137c440
fix comment for 3e985a497047
2012-04-19 10:40:10 -07:00
Jimmy Shih
c8deb63de9
Use the same list item layout for TrackList, MarkerList, and SearchList.
...
Use the same contextual menu for TrackList, MarkerList, and SearchList.
2012-04-18 12:53:12 -07:00
Jimmy Shih
172aed44ab
fix merge conflict
2012-04-17 12:30:56 -07:00
Jimmy Shih
09a6a0a604
sync from main
2012-04-17 12:27:12 -07:00
Jimmy Shih
89b16e48e9
Add MarkerEditActivity, MarkerListActivity, MarkerDetailActivity.
2012-04-17 12:25:54 -07:00
Jimmy Shih
45855c794c
merge heads
2012-04-17 10:10:50 -07:00
Jimmy Shih
d402c5555c
fix comment for 3fe71196df15
2012-04-17 09:45:59 -07:00
Jimmy Shih
fef4d6bc23
merge heads
2012-04-17 09:39:20 -07:00
Jimmy Shih
dc7fb591be
merge heads
2012-04-16 10:18:33 -07:00
Jimmy Shih
f66742ec98
merge heads
2012-04-16 10:12:22 -07:00
Jimmy Shih
da6c33617c
merge heads
2012-04-16 10:03:42 -07:00
youtaol
4ea5b199b9
Merge heads.
2012-04-13 18:07:04 +08:00
Jimmy Shih
00eee811f4
Add an empty view when the track list is empty.
2012-04-12 16:48:59 -07:00
Jimmy Shih
e3f13dd633
In contextual action mode, add the track name as the action mode title.
2012-04-12 15:43:50 -07:00
Jimmy Shih
178b1be990
Rename ServiceUtils.java to TrackRecordingSeriviceConnectionUtils.
...
Move common code between TrackListActivity and TrackDetailActivity
for dealing with TrackRecordingServiceConnection in the utility class.
2012-04-12 15:17:46 -07:00
Jimmy Shih
2aa4cdc442
Add PreferencesUtils to access
...
- recording track id
- selected track id
2012-04-12 14:26:18 -07:00
Jimmy Shih
53c5ebbef9
merge heads
2012-04-12 13:25:33 -07:00
Jimmy Shih
c98b10c548
merge heads
2012-04-12 13:25:12 -07:00
Jimmy Shih
08e460d208
Fix unit tests to run in any timezone.
2012-04-12 13:14:35 -07:00
Jimmy Shih
06322dcfdc
fix comment 5e46fdb4a91d
2012-04-12 12:55:39 -07:00
Jimmy Shih
d045b0440f
fix unit tests in TrackRecordingServiceTest
2012-04-12 12:50:03 -07:00
Jimmy Shih
2fd3816edf
Fix unit tests
...
- update string in CsvTrackWriter, CsvTrackWriterTest, and DescriptionGeneratorImplTest
- with Solo, UploadResultActivity can run by itself, but cannot run as
part of the unit test. Modify the test to not use Solo.
- remove ANT+ tests in SensorManagerFactoryTest and replace them with
bluetooth tests since most of the phones do not have ANT+.
- remove TrackDetailActivityTest since we are no longer using it to
start the app. Will replace this with end-to-end smoke tests.
2012-04-11 17:02:21 -07:00
Jimmy Shih
28f3565bae
sync from main
2012-04-11 10:29:52 -07:00
Jimmy Shih
e82c3f15d2
should have been part of 5e46fdb4a91d
2012-04-11 10:25:07 -07:00
Jimmy Shih
4b36671041
merge heads
2012-04-11 10:18:12 -07:00
Jimmy Shih
3a6e6fc980
merge heads
2012-04-11 10:13:01 -07:00
Jimmy Shih
a3e69df3ff
merge heads
2012-04-11 10:11:53 -07:00
Jimmy Shih
0cd11c799d
merge heads
2012-04-11 10:01:41 -07:00
Jimmy Shih
9063267db1
Add contextual menu.
...
API < 11, use floating context menu.
API >=11, use contextual action mode.
2012-04-10 19:59:36 -07:00
Jimmy Shih
df23d20d32
should have been part of 90f307ee08cd
2012-04-10 12:57:31 -07:00
Jimmy Shih
3b889753db
In TrackList, start the TrackDetail view when recording.
2012-04-10 12:53:59 -07:00
Jimmy Shih
400051d342
Move dialogs in TrackDetail to fragments.
...
Move all fragments to com.google.android.apps.mytracks.fragments
package.
2012-04-10 12:44:40 -07:00
Jimmy Shih
2fbdb9bfef
merge heads
2012-04-10 10:31:02 -07:00
Jimmy Shih
87a0ce47b9
vertically align content in track_list_item.xml
2012-04-10 10:28:39 -07:00
Jimmy Shih
a1993ab39e
merge heads
2012-04-10 10:17:57 -07:00
Jimmy Shih
648015fe4c
merge heads
2012-04-10 10:16:49 -07:00