[android-developers] Spinner control displays unwanted keyboard

2016-11-05 Thread Keith Sheppard
I have an activity in which there are several buttons and a spinner containing a list of preset values. Unfortunately, if the user accidentally or mistakenly taps the spinner, the soft keyboard appears. Why? There is nowhere on the screen that expects typed input from the user. More to the

Re: [android-developers] Spinner in tabwidget

2014-02-21 Thread TreKing
On Fri, Feb 21, 2014 at 1:54 AM, Rahul Kaushik rahulkaushi...@gmail.comwrote: i have tabs each containg 50 +edit text and this may very up to 1000 so saving the data will make the app too bulky,so More bulky than 50+ edit texts? OK. i added view(Containing spinner and buttons) in tabwidget

Re: [android-developers] Spinner in tabwidget

2014-02-20 Thread TreKing
On Thu, Feb 20, 2014 at 12:58 AM, Rahul Kaushik rahulkaushi...@gmail.comwrote: issue with current approach, i have to recreate the Data Layout and because of this i can not persist the entered values in controls .like when i go back to earlier clicked option from tab data enter in the

Re: [android-developers] Spinner in tabwidget

2014-02-20 Thread Rahul Kaushik
i have tabs each containg 50 +edit text and this may very up to 1000 so saving the data will make the app too bulky,so i added view(Containing spinner and buttons) in tabwidget and set the default tabs of width 1dp, now am able to switch between tabs data with the spinner item click without

[android-developers] Spinner in tabwidget

2014-02-19 Thread Rahul Kaushik
Hello I want to create a tab widget in which have a previous button ,a spinner then again a next button When user expand the spinner and click on any options it should work like regular button in tab widget and click on next button it should show me the next tab data and when i click on prevois

Re: [android-developers] Spinner in tabwidget

2014-02-19 Thread TreKing
On Thu, Feb 20, 2014 at 12:19 AM, Rahul Kaushik rahulkaushi...@gmail.comwrote: I want to create a tab widget in which have a previous button ,a spinner then again a next button When user expand the spinner and click on any options it should work like regular button in tab widget and click

[android-developers] Spinner borders

2013-04-29 Thread Filipe
Hi, I need to create a small spinner in height. So I created a spinner with 58pixels height, but it has big borders on top and bottom, so it cuts most of the text. It has a top border of 25 pixels and a bottom border of 19 pixels. So from the total 58 pixels, only 14 are used to show the

[android-developers] Spinner borders

2013-04-29 Thread Filipe
Hi, I need to create a small spinner in height. So I created a spinner with 58pixels height, but it has big borders on top and bottom, so it cuts most of the text. It has a top border of 25 pixels and a bottom border of 19 pixels. So from the total 58 pixels, only 14 are used to show the

[android-developers] Spinner com BD

2013-03-12 Thread Andreia Dev
Bom dia Pessoal Gostaria de saber como eu faço para pegar dados do banco e mostrar no componente Spinner. Fiz desta maneira porém nada está trazendo: String items; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.lancamento);

[android-developers] spinner

2013-03-08 Thread Sadhna Upadhyay
Hi friends, i need a help,can some oe tell me that how to dynamically add a value in spinner in android. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] spinner

2013-03-08 Thread chandur mani
Hi sadhna, It is very easy , You have to add the value in array adapter only. Thanks Mani On Fri, Mar 8, 2013 at 2:31 PM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: Hi friends, i need a help,can some oe tell me that how to dynamically add a value in spinner in android. -- --

[android-developers] Spinner

2013-02-19 Thread Arun Kumar K
Hi guys, If i pressed the spinner i ll get the popup menu.if my list contain only one item means then the spinner does not show the popupmenuhow can i do tat one -- *Thanks Regards* *K.Arun Kumar* -- -- You received this message because you are subscribed to the Google Groups

[android-developers] spinner list

2013-02-09 Thread PM
i have spinner list ,having 4 option i want to select one of them and it should act like button -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Spinner does not apply dropDownSelector attribute

2013-02-06 Thread Vladimir Svydenko
Hi there, I'm using spinner and want to add spinner - to change behavior depends of states(focused, pressed) My code: *activity_main.xml* Spinner android:id=@+id/spinner android:layout_width=wrap_content android:layout_height=wrap_content

[android-developers] Spinner List background

2012-11-19 Thread Nimish John
Is there any way to change the background of Spinner List?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Spinner List background

2012-11-19 Thread TreKing
On Mon, Nov 19, 2012 at 6:53 AM, Nimish John nimishj...@gmail.com wrote: Is there any way to change the background of Spinner List?? If you mean the individual items, then just override the getView method of the adapter that is feeding the Spinner.

[android-developers] spinner

2012-10-23 Thread rauf qureshi
Hello friends , I want to show Select option in spinner when application launch,and when i select any item that should be on the spinner how we can do this. Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Spinner original text

2012-10-12 Thread Ankush Aggarwal
How can make a Spinner show a particular text before the user chooses an item from the list? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

Re: [android-developers] Spinner original text

2012-10-12 Thread Perumss Naren
Sample Project you can use this concept with a help of Boolean value u can archive the concept. public class SpinnerSampleActivity extends Activity { private String TAG = SpinnerHint; private Spinner typeSpinner; private static ArrayListString data = new ArrayListString();

[android-developers] Spinner Styling - Am I Nuts??

2012-07-26 Thread Evan Ruff
Hey guys! I have a spinner backed up by an ArrayAdapter in my layout. I'd like to change the look of the spinner button to match the buttons that are next to it. Here is my Spinner xml: Spinner android:id=@+id/location_type_spinner

Re: [android-developers] Spinner Styling - Am I Nuts??

2012-07-26 Thread Kostya Vasilyev
The contents of a spinner is provided by its adapter. Check the layout used by your adapter's getView(). -- K 2012/7/26 Evan Ruff evan.r...@gmail.com Hey guys! I have a spinner backed up by an ArrayAdapter in my layout. I'd like to change the look of the spinner button to match the buttons

Re: [android-developers] Spinner Styling - Am I Nuts??

2012-07-26 Thread Evan Ruff
Kostya, Thanks for the response. Just to clarify, the getView in the adapter sets the BUTTON? I thought that set the view for the actual menu of items? Thanks, E On Thursday, July 26, 2012 8:38:36 AM UTC-4, Kostya Vasilyev wrote: The contents of a spinner is provided by its adapter. Check

Re: [android-developers] Spinner Styling - Am I Nuts??

2012-07-26 Thread Kostya Vasilyev
The button? There is no button. If you're on Android 2.*, the little arrow on the right side (which is used to show the item list) is part of the spinner's background... except I see you've specified your own. The text you see inside the spinner is part of the view provided by the spinner's

Re: [android-developers] Spinner Styling - Am I Nuts??

2012-07-26 Thread Mark Murphy
On Thu, Jul 26, 2012 at 8:44 AM, Evan Ruff evan.r...@gmail.com wrote: Thanks for the response. Just to clarify, the getView in the adapter sets the BUTTON? I thought that set the view for the actual menu of items? The SpinnerAdapter supplies both the View for the Spinner in the closed state and

Re: [android-developers] Spinner Styling - Am I Nuts??

2012-07-26 Thread Kostya Vasilyev
2012/7/26 Mark Murphy mmur...@commonsware.com On Thu, Jul 26, 2012 at 8:44 AM, Evan Ruff evan.r...@gmail.com wrote: Thanks for the response. Just to clarify, the getView in the adapter sets the BUTTON? I thought that set the view for the actual menu of items? The SpinnerAdapter supplies

Re: [android-developers] Spinner Styling - Am I Nuts??

2012-07-26 Thread Evan Ruff
AND BOOM. That's where I was getting all turned around. Thanks Mark and Kostya! E On Thursday, July 26, 2012 8:56:06 AM UTC-4, Kostya Vasilyev wrote: 2012/7/26 Mark Murphy mmur...@commonsware.com On Thu, Jul 26, 2012 at 8:44 AM, Evan Ruff evan.r...@gmail.com wrote: Thanks for the

[android-developers] Spinner in ListView

2012-06-29 Thread smarajeet
Hi, I have a List View Containing spinners which are loaded dynamically at run time on a button click, The spinner is contained in a Array Adapter, The problem is when i click on spinner i do not get the current position/index of that particular spinner in the list view. Please let me know the

Re: [android-developers] Spinner in ListView

2012-06-29 Thread Justin Anderson
Please let me know the solution ASAP. Please show us your code first... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 28, 2012 at 11:53 PM, smarajeet smarajeet...@gmail.com wrote: Hi, I have a List View Containing spinners which are

[android-developers] Spinner show on click of button

2012-06-21 Thread vani reddy
Hi friends, How to open spinner on click of a button. I tried Spinner spinner =new Spinner(this); ArrayAdapterString packSizeAdapter = new ArrayAdapterString( activity, R.layout.spinner_item, productUOMS); packSizeAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);

Re: [android-developers] Spinner show on click of button

2012-06-21 Thread Justin Anderson
Are you adding your button to your view? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 21, 2012 at 5:35 AM, vani reddy vani.reddy.bl...@gmail.comwrote: Hi friends, How to open spinner on click of a button. I tried Spinner spinner =new

Re: [android-developers] Spinner show on click of button

2012-06-21 Thread Aashish jawla
spinner.setOnItemSelectedListener(new OnItemSelectedListener() { @Override public void onItemSelected(AdapterView? arg0, View arg1, int arg2, long arg3) { // TODO Auto-generated method stub int selectedPosition =

Re: [android-developers] Spinner show on click of button

2012-06-21 Thread Justin Anderson
spinner.setOnItemSelectedListener(new OnItemSelectedListener() { @Override public void onItemSelected(AdapterView? arg0, View arg1, int arg2, long arg3) { // TODO Auto-generated method stub int selectedPosition =

Re: [android-developers] Spinner show on click of button

2012-06-21 Thread vani reddy
Hi yes I am adding the Button to the view,but i am not adding the spinner to the view On Thu, Jun 21, 2012 at 7:34 PM, Justin Anderson magouyaw...@gmail.comwrote: spinner.setOnItemSelectedListener(new OnItemSelectedListener() { @Override public void

Re: [android-developers] Spinner show on click of button

2012-06-21 Thread Justin Anderson
Hi yes I am adding the Button to the view,but i am not adding the spinner to the view Pretty sure the spinner needs to be added to the view for it to work. One option you can do if you don't want to have the spinner UI is to use AlertDialog.Builder... It allows you to set an array of options

[android-developers] spinner wige

2012-06-19 Thread Nevin Johnson
Hey guys im developing an android app using android sdk and i need to apply a spinner widget but its not working that is that spinner is not displaying through my emulator the code solid even tried using sample spinner codes and its the same not displaying help!!! -- You received this

Re: [android-developers] spinner wige

2012-06-19 Thread Justin Anderson
How do you expect us to help you? You haven't given us any pertinent information or code to look at... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Jun 18, 2012 at 7:41 PM, Nevin Johnson nevin...@gmail.com wrote: Hey guys im developing an

Re: [android-developers] Spinner Help

2012-05-31 Thread Narendra Singh Rathore
Use the following spinner1.setOnItemSelectedListener(new OnItemSelectedListener() { public void onItemSelected(AdapterView? parentView, View selectedItemView, int position, long id) { spinner2.setSelection(position); spinner3.setSelection(position); spinner4.setSelection(position);

Re: [android-developers] Spinner Help

2012-05-23 Thread TreKing
On Sun, May 20, 2012 at 12:39 AM, Ashintha Rukmal ashin...@gmail.comwrote: I used setOnItemSelectedListner and it worked for the 1st spinner.. but others don't work. here's my code for 1st 2 spinners. any solution? Debug your app. At the very least, explain what other don't work means and

[android-developers] Spinner Help

2012-05-21 Thread Ashintha Rukmal
Hi,, I'm new to android developing... I'm developing a simple app that have 5 spinners.. when I select 1 item in a spinner I want to auto select other spinner items that equals to the selected item position. I used setOnItemSelectedListner and it worked for the 1st spinner.. but others don't work.

[android-developers] Spinner Help

2012-05-21 Thread Ashintha Rukmal
Hi,, I'm new to android developing.. I'm trying to make a simple app that contains 5 spinners. When I select one item in a spinner I want to auto select other spinner items that equals to selected item position. I used setOnItemSelected listner and it worked for the 1st spinner. But when I select

Re: [android-developers] Spinner Help

2012-05-21 Thread Justin Anderson
int pos2=spinner.getSelectedItemPosition(); Shouldn't this line be the following? *int pos2 = spinner1.getSelectedItemPosition();* Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 21, 2012 at 9:47 AM, Ashintha Rukmal ashin...@gmail.com

[android-developers] Spinner In TabWidget Bad Token Exception

2012-04-22 Thread Aj
I'm fairly new to Android and Java for that matter, and am having a context issue - I have a Spinner within a TabWidget within another TabWidget, and on the code side I have my main class which is a TabActivity, in which I set the intent of a particular tab to another TabActivity, in which I set

[android-developers] spinner

2012-03-18 Thread sri kanth
Dear All, Let me know how to change the spinner list color when i click the spinner list. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

Re: [android-developers] spinner

2012-03-18 Thread TreKing
On Sun, Mar 18, 2012 at 12:29 PM, sri kanth sritullimi...@gmail.com wrote: Let me know how to change the spinner list color when i click the spinner list. Set your custom adapter for the Spinner, override getView to give you the View you desire with your custom color.

[android-developers] spinner style from 4.0.3 to 2.3.3

2012-03-02 Thread Ray Tayek
hi, i'm a newbie. i made this app for 4.0.3 that has some spinners an textviews. it looks fine - everything has a black background. my target phone is a 2.3.3. spinner has grey/and white backgrounds. changing the background color works for the dropdown view and for the text view on the

Re: [android-developers] spinner background problems going from 4.0.3 to 2.3.3

2012-02-29 Thread TreKing
On Tue, Feb 28, 2012 at 6:51 PM, Ray Tayek rta...@ca.rr.com wrote: don't bother setting the background. i did not have to set the background for the spinner in 4.0.3. You do not have to set it on 2.3.3 either. I, for example, am using various Spinners in my app, targeting 2.3.3, and have

[android-developers] spinner background problems going from 4.0.3 to 2.3.3

2012-02-28 Thread Ray Tayek
hi, i made a small app that uses spinners on 4.0.3 that works fine. the target phone is 2.3.3. the background of the spinner and the list is dark on 4.0.3 and it is light on 2.3.3, so i set the background of the spinner to dark. this works fine except that the little arrow on the spinner

Re: [android-developers] spinner background problems going from 4.0.3 to 2.3.3

2012-02-28 Thread TreKing
On Tue, Feb 28, 2012 at 6:29 PM, Ray Tayek rta...@ca.rr.com wrote: is there any workaround for this? Unless you are prepared to override the theme completely, don't bother setting the background. Let the default platform version themes prevail.

Re: [android-developers] spinner background problems going from 4.0.3 to 2.3.3

2012-02-28 Thread Ray Tayek
At 04:39 PM 2/28/2012, you wrote: On Tue, Feb 28, 2012 at 6:29 PM, Ray Tayek mailto:rta...@ca.rr.comrta...@ca.rr.com wrote: is there any workaround for this? Unless you are prepared to override the theme completely, not unless i have to. don't bother setting the background. i did not

[android-developers] Spinner with a custom dialog (with a searchbox - EditText -, ListView with custom Adapter - results)

2012-02-03 Thread Mateus Barni
I`m really trying to find and implement a Spinner with a fully customized dialog. I need to show a searchable list when the Spinner is activated, and then this list will retrieve the selected object to the spinner. How can I do this? -- You received this message because you are subscribed to

Re: [android-developers] Spinner with a custom dialog (with a searchbox - EditText -, ListView with custom Adapter - results)

2012-02-03 Thread TreKing
On Tue, Jan 31, 2012 at 6:36 AM, Mateus Barni matba...@gmail.com wrote: I need to show a searchable list when the Spinner is activated, and then this list will retrieve the selected object to the spinner. How can I do this? Grab the Spinner source, see how it manages its dialog, then

Re: [android-developers] Spinner example has no prompt

2012-01-25 Thread Kostya Vasilyev
Since you mentioned 4.0.3 and api level 15... With Holo themes, spinners are no longer popup dialogs - they are dropdown lists, so there is no title. Adding a text label to the layout somewhere near the spinner should work. -- Kostya 25 января 2012 г. 8:20 пользователь Ray Tayek

Re: [android-developers] Spinner example has no prompt

2012-01-25 Thread Ray Tayek
At 07:52 AM 1/25/2012, you wrote: Since you mentioned 4.0.3 and api level 15... With Holo themes, spinners are no longer popup dialogs - they are dropdown lists, sošthere is no title.š Adding a text label to the layout somewhere near the spinner should work. yes, but that would take up

Re: [android-developers] Spinner example has no prompt

2012-01-24 Thread Ray Tayek
At 02:21 AM 1/23/2012, you wrote: At 07:29 PM 1/21/2012, Ray Tayek wrote: hi, newbie here. ... running the spinner example shows earth. the prompt is not visible also, the spinner prompts in my project are not visible... found clue:

Re: [android-developers] Spinner example has no prompt

2012-01-24 Thread Ray Tayek
At 07:07 PM 1/24/2012, you wrote: At 02:21 AM 1/23/2012, you wrote: At 07:29 PM 1/21/2012, Ray Tayek wrote: hi, newbie here. ... running the spinner example shows earth. the prompt is not visible also, the spinner prompts in my project are not visible... found clue:

Re: [android-developers] Spinner example has no prompt

2012-01-23 Thread Ray Tayek
At 07:29 PM 1/21/2012, Ray Tayek wrote: hi, newbie here. ... running the spinner example shows earth. the prompt is not visible also, the spinner prompts in my project are not visible... my question is: is the prompt supposed to work as implemented in the spinner example? printling

[android-developers] Spinner itemselectedlistener not working after extending ArrayAdapter

2012-01-23 Thread James Black
In the onCreate method I define this: userNameSpinner.setOnItemSelectedListener(new OnItemSelectedListener() { @Override public void onItemSelected(AdapterView? parentView, View selectedItemView, int position, long id) { Log.i(TAG, position); }

Re: [android-developers] Spinner itemselectedlistener not working after extending ArrayAdapter

2012-01-23 Thread Kumar Bibek
You are probably setting/un-setting the listener somewhere else as well in your code. May be in the on pause method. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Jan 24, 2012 at 7:54 AM, James Black planiturth...@gmail.comwrote: In the

[android-developers] Spinner example has no prompt

2012-01-21 Thread Ray Tayek
hi, newbie here. i downloaded the sdk and the eclipse plugin a few days ago. running the spinner example shows earth. the prompt is not visible in the emulator. also, the spinner prompts in my project are not visible in the emulator. stackoverflow has some info:

[android-developers] Spinner spinning twice...

2011-12-27 Thread havexz
I am having issues with spinner for the past 2 days. And then I isolated the problem by using the working Spinner tutorial at http://developer.android.com/resources/tutorials/views/hello-spinner.html So I am able to reproduce the issue. The code is exactly same as mentioned in the above link.

Re: [android-developers] Spinner spinning twice...

2011-12-27 Thread Mark Murphy
On Tue, Dec 27, 2011 at 7:37 PM, havexz bali.param...@gmail.com wrote: So my question is this a bug? Mildly surprising, but I personally would not qualify it as being a bug. There are no rules stipulating how frequently onItemSelected() will be called on a configuration change when the

Re: [android-developers] spinner on FragmentActivity

2011-11-05 Thread TreKing
On Thu, Nov 3, 2011 at 2:40 AM, sourabh sahu souruit...@gmail.com wrote: I have created a Spinner on FragmentActivity, but on a click of a spinner it crashes.Please suggest how to resolve it. http://tinyurl.com/5vkmu5e

[android-developers] spinner on FragmentActivity

2011-11-03 Thread sourabh sahu
I have created a Spinner on FragmentActivity, but on a click of a spinner it crashes.Please suggest how to resolve it. Thanks, Sourabh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] spinner on FragmentActivity

2011-11-03 Thread Kumar Bibek
Provide some logs. :) *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Thu, Nov 3, 2011 at 1:10 PM, sourabh sahu souruit...@gmail.com wrote: I have created a Spinner on FragmentActivity, but on a click of a spinner it crashes.Please suggest how to

Re: [android-developers] Spinner , truncate text instead of wrap text

2011-09-08 Thread JI
it does work thank you for your help -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Spinner , truncate text instead of wrap text

2011-09-07 Thread JI
Hi all, the text displayed in spinner will be wrap when it is too long, but I expect it will truncate the text instead of wrap it. Is it possible??? Thx everyone -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Spinner , truncate text instead of wrap text

2011-09-07 Thread TreKing
On Wed, Sep 7, 2011 at 10:16 AM, JI jacky1...@gmail.com wrote: Is it possible??? Probably - you can set the view that is used in spinner, and on that you can probably set whether it wraps or not. -

[android-developers] Spinner question

2011-07-26 Thread Ab Caballero
Hi, I have an activity with three spinners and am having trouble retrieving the data from them. The code below is not yielding the desired results. Any help is appreciated. Spinner spinner = (Spinner)findViewById(R.id.origin); ArrayAdapterCharSequence o_adapter =

Re: [android-developers] Spinner question

2011-07-26 Thread TreKing
On Tue, Jul 26, 2011 at 1:39 PM, Ab Caballero a...@mac.com wrote: I have an activity with three spinners and am having trouble retrieving the data from them. The code below is not yielding the desired results. Any help is appreciated. Care to explain what the desired results and current

[android-developers] Spinner box

2011-07-24 Thread Goutom
Hi Please open the image.In the image Font Size is header and Standard is item.Header Font Size will always will be in the spinner but not in the item list.Item list just shows items. Is this possible to build this kind of spinner? if possible please guide me. thanks in advance. Regards Goutom

[android-developers] Spinner value on button click

2011-07-21 Thread Igor Barros
Dear all, Is it possible to return a spinner selected value only when I click in a button in the same activity, instead of using the OnItemSelected() method? Could you tell me how to proceed with it? Best Regards, -- Igor Smagasz Barros igorsmag...@gmail.com -- You received this message

Re: [android-developers] Spinner value on button click

2011-07-21 Thread TreKing
On Wed, Jul 20, 2011 at 2:52 PM, Igor Barros igorsmag...@gmail.com wrote: Is it possible to return a spinner selected value only when I click in a button in the same activity, instead of using the OnItemSelected() method? Yes. Could you tell me how to proceed with it? Read the docs for

Re: [android-developers] Spinner usage

2011-07-17 Thread Simon Platten
Thank you, I've re-written the adapter and it now works. On 17/07/2011 6:56 AM, TreKing wrote: On Sat, Jul 16, 2011 at 8:56 AM, Simon Platten simonaplat...@googlemail.com mailto:simonaplat...@googlemail.com wrote: When I'm not making a selection the spinner shows as an empty box with

[android-developers] Spinner Adapter problem

2011-07-17 Thread Simon Platten
I have a spinner with a checkbox in it, here is the XML for the item: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=?android:attr/listPreferredItemHeight

[android-developers] Spinner usage

2011-07-16 Thread Simon Platten
I've used a spinner with a Base Adapter. The spinner works fine and I can make selections, my question is: When I'm not making a selection the spinner shows as an empty box with a down arrow, once I've made a selection the list is removed but the spinner still shows empty, shouldn't it show the

Re: [android-developers] Spinner usage

2011-07-16 Thread TreKing
On Sat, Jul 16, 2011 at 8:56 AM, Simon Platten simonaplat...@googlemail.com wrote: When I'm not making a selection the spinner shows as an empty box with a down arrow, once I've made a selection the list is removed but the spinner still shows empty, shouldn't it show the current / last

Re: [android-developers] Spinner did not got focus

2011-06-24 Thread Waqas Ahmed
thanx i solved this by using set focusable and focusableInTouchMode properties of spinner. On Thu, Jun 23, 2011 at 2:25 AM, TreKing treking...@gmail.com wrote: On Wed, Jun 22, 2011 at 10:44 AM, Waqas Ahmed thewaqa...@gmail.comwrote: Is there any way that spinner got the focus? Try

[android-developers] Spinner did not got focus

2011-06-22 Thread Waqas Ahmed
Hi, I am new to android I have created an application in which i use 4 edittext fields and 2 spinners in an activity. the order of these components are 2 edittext then 2 spinners and then 2 edittext fields. Problem that i have got is when i transfer focus (with the help of soft keyboard next

Re: [android-developers] Spinner did not got focus

2011-06-22 Thread TreKing
On Wed, Jun 22, 2011 at 10:44 AM, Waqas Ahmed thewaqa...@gmail.com wrote: Is there any way that spinner got the focus? Try Focusable and Focusable In Touch Mode properties. - TreKing

[android-developers] Spinner

2011-06-06 Thread New Developer
Is it possible to preload the spinner adapter with a list of item (either from database or from array) BUT to NOT run the selection while the screen is built or being displayed. But rather only called when the user has clicked and selected an item ? Currently I have a spinner and use the

Re: [android-developers] Spinner

2011-06-06 Thread Mark Murphy
On Mon, Jun 6, 2011 at 1:40 PM, New Developer secur...@isscp.com wrote: Is it possible to preload the spinner adapter with a list of item  (either from database or from array) BUT  to NOT run the selection  while the screen is built or being displayed. But rather only called when the user has

Re: [android-developers] Spinner

2011-06-06 Thread TreKing
On Mon, Jun 6, 2011 at 12:40 PM, New Developer secur...@isscp.com wrote: Currently I have a spinner and use the setOnItemSelectedListener But this is called when the screen is displayed BEFORE the user gets to actually select and item I set the first item to be a dummy prompt. So if item

[android-developers] Spinner items missing selection radio button

2011-05-30 Thread Nadav Ben-Gal
Hey, i asked it at SO few days ago, no answer yet, hoped someone here will have an idea... (http://stackoverflow.com/questions/6146442/spinner-items-selection- radio-missing) When my items contains English and/or numeric signs, it shows the radio selection near the item, but when it doesn't

[android-developers] Spinner with added Text

2011-04-18 Thread New Developer
Hi Using a Spinner Is there a way while using (or from the UI) to type in a new option Say I have a spinner with a list of calendars (actually list of .ics files) Now I want to create a NEW calendar Using a Spinner how do I type in the new name and it is added to the drop down list?

Re: [android-developers] Spinner with added Text

2011-04-18 Thread Kumar Bibek
You cant do that with a spinner. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Apr 18, 2011 at 10:40 PM, New Developer secur...@isscp.com wrote: Hi Using a Spinner Is there a way while using (or from the UI) to type in a new option Say I have a spinner with a

Re: [android-developers] Spinner with added Text

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 12:10 PM, New Developer secur...@isscp.com wrote: Using a Spinner how do I type in the new name and it is added to the drop down list? One of you spinner items could be Add New Calendar... Clicking this you popup a dialog with an EditText. When user hits OK, you pass

Re: [android-developers] Spinner like drop-down on button

2011-03-11 Thread TreKing
On Fri, Mar 11, 2011 at 1:13 AM, Brad Stintson geek.bin...@gmail.comwrote: How to implement spinner like array adapter on button? http://www.catb.org/~esr/faqs/smart-questions.html - TreKing

[android-developers] Spinner like drop-down on button

2011-03-10 Thread Brad Stintson
How to implement spinner like array adapter on button? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Spinner Retrievation

2011-03-07 Thread Justin Anderson
* I have created list elements in spinner from strings.xml. * * I store element in database using spinner1.getSelectedItem().**toString(); * This code doesn't show how you store the info in the database. It shows how you get the data to be stored in the database. * How to retrieve that element

[android-developers] Spinner Retrievation

2011-03-05 Thread Brad Stintson
I have created list elements in spinner from strings.xml. I store element in database using spinner1.getSelectedItem().toString(); How to retrieve that element from database? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Spinner drop-down with blank lines

2011-01-17 Thread michael
Hello, One of my users has reported a mysterious behaviour with a spinner which I so far have been unable to reproduce. When pressing the spinner, a list of blank (empty) items appears. Only when selecting an item does the spinner display the relevant text associated with the item. The number of

Re: [android-developers] Spinner drop-down with blank lines

2011-01-17 Thread Kumar Bibek
Well, it's just a problem of wrong text color on a custom UI from the manufacturer. Ask the user for the model of his phone and the OS version. I am sure, you can reproduce the problem on a similar device. Say, for example, your spinner items text color is black, which you have mentioned, and the

Re: [android-developers] Spinner drop-down with blank lines

2011-01-17 Thread Kostya Vasilyev
Is this on the Droid X ? 2011/1/17 Kumar Bibek coomar@gmail.com Well, it's just a problem of wrong text color on a custom UI from the manufacturer. Ask the user for the model of his phone and the OS version. I am sure, you can reproduce the problem on a similar device. Say, for example,

[android-developers] Spinner Style

2010-11-23 Thread Jithin
Hi friends, As part of my project I need a spinner that should display items like HTML select tag rather opening a new window. Is it possible...? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Spinner/drum roller control like native Clock app has for choosing hours/minutes

2010-11-12 Thread Hatch
Hi all. I cannot find a corresponding control anywhere. The control I am interested in is iPhone's spinner. It's much simpler to use than Android's TimePicker. Since I see that native Clock app has it, does anyone know how is that control called and how can one use it in his app ? Thanks,

Re: [android-developers] Spinner/drum roller control like native Clock app has for choosing hours/minutes

2010-11-12 Thread Mark Murphy
On Fri, Nov 12, 2010 at 6:17 AM, Hatch tomislav.hecimo...@gmail.com wrote: I cannot find a corresponding control anywhere. The control I am interested in is iPhone's spinner. It's much simpler to use than Android's TimePicker. Since I see that native Clock app has it, does anyone know how is

Re: [android-developers] Spinner/drum roller control like native Clock app has for choosing hours/minutes

2010-11-12 Thread Brad Gies
I needed the same thing awhile ago and couldn't find a good implementation of it anywhere. What I came up with was I embedded a WebView control in my AlertDialog, and used Javascript to control the spinner. What I did was create a web page with the information I wanted to scroll in the

[android-developers] Spinner: crash when selected

2010-10-25 Thread Khetzal
Hello, I don't understand why my spinner crash as soon i select it. My code: Spinner chooseCategorySpinner = (Spinner)findViewById(R.id.spinner); testArray = ArrayAdapter.createFromResource(this, R.array.planets, android.R.layout.simple_spinner_item);

Re: [android-developers] Spinner: crash when selected

2010-10-25 Thread TreKing
On Mon, Oct 25, 2010 at 9:39 AM, Khetzal quetz...@gmail.com wrote: E/AndroidRuntime( 2680): android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application This terribly-word error message usually arises when you use getApplicationContext() to show a

[android-developers] Spinner in ListView Activity

2010-10-18 Thread SImplyG2010
Hi, Has anyone seen a a onItemSelected not being called when using a spinner inside a listviewActivity. I have the code below Inside a listViewActivity. protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState);

  1   2   >