You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyway we can get this into the Dhaka release. The 3 buttons is really confusing and is causing a lot of usability issues. Ideally we can roll this into one button that opens a panel. For simplicity and consistency I would use a sandwich button.
Android's tab UI out of the box is bizarre. For normal tabs, we either have to make something super complex like we see in iosched, use depracated tabs, or use tabs out of the box that behave oddly.
I found a simple 3rd party library that gives us tabs that behave like tabs in the Play Store. I'm dumbfounded that the SDK doesn't just have tabs like the tabs in the Play Store.
Getting into ListFragments, it turns out this is a pretty deep thing in Android UI design. I'm thinking about a clean way to have the actual list items have a unique layout, something along the lines of what you see from Naomi's comps.
Right now, the download button simply gets buildings and roads from the Overpass API. My thought is that when we do a download for a given BBox, perhaps it should do a set of separate Overpass queries for a given category. I'm thinking Sim City 2000 here... You can turn on any combination of buildings, roads, administrative boundaries, etc...
My thought is when in the Download OSM tab, we pick a name for our download, and in reality, it downloads 4 or so XML files for each of the given categories we care about. Does that make sense, or am I going in the wrong direction?
Then, rather than it being a single checkbox for each given layer, we could have several buttons to toggle on whatever category of OSM data you want to see on the map.
You are going in the right direction with the roads/buildings being separate layers. We might want to have a toggle that allows the user to define the layer to download or to combine them into one layer.
I like where you are going with implementing Naomi's design. I do like being able to set the name of he overpass file.
We want to think differently about this now that we have a deployment paradigm. I can sketch up a few ideas. I think we should meet over how we want to do "deployment UI".
I think the deployment UI will replace this concept.
Activity
control panel settings button #51
dalekunce commentedon Apr 2, 2015
+1 for this feature. Ideally we have one button and the same menu is activated by the generic android settings button that works in ODK.
dalekunce commentedon Apr 15, 2015
Anyway we can get this into the Dhaka release. The 3 buttons is really confusing and is causing a lot of usability issues. Ideally we can roll this into one button that opens a panel. For simplicity and consistency I would use a sandwich button.
Merge branch 'master' into control_panel #51
added control panel activity #51
added control panel activity #51
basic sliding tab view, needs work #51
hallahan commentedon Apr 22, 2015
Android's tab UI out of the box is bizarre. For normal tabs, we either have to make something super complex like we see in iosched, use depracated tabs, or use tabs out of the box that behave oddly.
I found a simple 3rd party library that gives us tabs that behave like tabs in the Play Store. I'm dumbfounded that the SDK doesn't just have tabs like the tabs in the Play Store.
Tutorial
https://guides.codepath.com/android/Sliding-Tabs-with-PagerSlidingTabStrip#install-pagerslidingtabstrip
The Library
https://github.com/astuetz/PagerSlidingTabStrip/blob/master/sample/src/com/astuetz/viewpager/extensions/sample/MainActivity.java
tabs with fragments working #51
control panel tabs looking great. phew! #51
Refactored ControlPanel2 into ControlPanel - going with new approach #51
ListFragments for ControlPanel tabs views #51
hallahan commentedon Apr 24, 2015
@dalekunce - I'm looking for some guidance on design of the Control Panel.
The following are some exploratory comps from Naomi fleshing out our ideas on how to set up UI in here:
Right now I'm getting into the weeds of creating ListFragments, somewhat along the lines of what you see here (a screenshot from the S3):
hallahan commentedon Apr 24, 2015
Getting into ListFragments, it turns out this is a pretty deep thing in Android UI design. I'm thinking about a clean way to have the actual list items have a unique layout, something along the lines of what you see from Naomi's comps.
Right now, the download button simply gets buildings and roads from the Overpass API. My thought is that when we do a download for a given BBox, perhaps it should do a set of separate Overpass queries for a given category. I'm thinking Sim City 2000 here... You can turn on any combination of buildings, roads, administrative boundaries, etc...
My thought is when in the Download OSM tab, we pick a name for our download, and in reality, it downloads 4 or so XML files for each of the given categories we care about. Does that make sense, or am I going in the wrong direction?
Then, rather than it being a single checkbox for each given layer, we could have several buttons to toggle on whatever category of OSM data you want to see on the map.
dalekunce commentedon Apr 25, 2015
You are going in the right direction with the roads/buildings being separate layers. We might want to have a toggle that allows the user to define the layer to download or to combine them into one layer.
I like where you are going with implementing Naomi's design. I do like being able to set the name of he overpass file.
Keep going down the path you are on I like it.
4 remaining items
hallahan commentedon Apr 25, 2015
Pull requests are always welcome 😉
toggle buttons #51
BasemapsFragment is now a ListFragment #51
working on Basemaps ListFragment #51
Skeleton BasemapsAdapter working #51
sub cleanup #51
baseman options showing, crashes on scroll down #51
dalekunce commentedon Jul 26, 2015
@hallahan is this sitting unfinished?
hallahan commentedon Jul 27, 2015
Yes. Note: I want to use the newer material design android lib. Custom list items are easier to setup this way, and it's pretty.
hallahan commentedon Jul 27, 2015
http://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html?m=1
https://developer.android.com/tools/support-library/features.html#v7-recyclerview
dalekunce commentedon Jul 27, 2015
material design sounds great to me.
hallahan commentedon Dec 28, 2015
We want to think differently about this now that we have a deployment paradigm. I can sketch up a few ideas. I think we should meet over how we want to do "deployment UI".
I think the deployment UI will replace this concept.
hallahan commentedon Jan 27, 2016
I have built a Deployments workflow and UI that replaces this need. #122