Remove Label

Hello,

I would like to do some modifications to your application and I would like
to remove the label
from the questions (have a look at the attachment).

Could you please tell me where is that generated in the code of the
application?

Thanks in advance,
Michalis

That is a label of a group in whatever form you have loaded. You don't
need any Java code changes. In the form XML, just delete the label. In
the example below, you would remove the tag with the value "section c"

section c hello
··· On Mon, Mar 12, 2012 at 11:39, Michalis wrote: > Hello, > > I would like to do some modifications to your application and I would like > to remove the label > from the questions (have a look at the attachment). > > Could you please tell me where is that generated in the code of the > application? > > Thanks in advance, > Michalis > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

Hello Yaw,

Thanks for the fast reply. I know that you could remove that from
the XML but I would like to be removed from the Java code, if it
possible. The reason is that I will not always design the forms
and I don't want the label to be shown over there.

Thanks

··· On Monday, March 12, 2012 3:46:44 PM UTC, Yaw Anokwa wrote: > > That is a label of a group in whatever form you have loaded. You don't > need any Java code changes. In the form XML, just delete the label. In > the example below, you would remove the tag with the value "section c" > > > section c > > hello > > > >

The code is in ODKView.java. Just comment out addGroupText()

http://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/views/ODKView.java?repo=collect#72

··· On Mon, Mar 12, 2012 at 11:50, Michalis wrote: > Hello Yaw, > > Thanks for the fast reply. I know that you could remove that from > the XML but I would like to be removed from the Java code, if it > possible. The reason is that I will not always design the forms > and I don't want the label to be shown over there. > > Thanks > > > On Monday, March 12, 2012 3:46:44 PM UTC, Yaw Anokwa wrote: >> >> That is a label of a group in whatever form you have loaded. You don't >> need any Java code changes. In the form XML, just delete the label. In >> the example below, you would remove the tag with the value "section c" >> >> >> section c >> >> hello >> >> > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

Hello Yaw,

That seems to work for simple questions but not the grid view. Can you
please me how is printed there?

Thank you!

··· On Monday, March 12, 2012 7:04:53 PM UTC, Yaw Anokwa wrote: > > The code is in ODKView.java. Just comment out addGroupText() > > > http://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/views/ODKView.java?repo=collect#72 > > >

Michalis,

In all honesty, we can't really provide Java code help because it's
not sustainable. The code is pretty well documented, so if you can't
find it, you may want to hire a developer at
http://opendatakit.org/help/help-for-hire/.

Yaw

··· On Mon, Mar 12, 2012 at 15:41, Michalis wrote: > > Hello Yaw, > > That seems to work for simple questions but not the grid view. Can you > please me how is printed there? > > Thank you! > > > > On Monday, March 12, 2012 7:04:53 PM UTC, Yaw Anokwa wrote: >> >> The code is in ODKView.java. Just comment out addGroupText() >> >> >> http://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/views/ODKView.java?repo=collect#72 >> >> > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

Hello Yaw,

Sorry for the inconvenience, I though that it was a simple answer for you.
If it difficult or time consuming
to find it, never mind. Thank you for your effort.

Best wishes
Michalis