brodmuehler Active Member Licensed User Longtime User Jul 22, 2017 #1 Dear All I try to get a frame around some spinners, but it will not work. Here is what I am doing .... ... Dim cd As ColorDrawable cd.Initialize2(Colors.Transparent, 5dip, 2dip, Colors.Gray) spiTag.Background=cd spiMonat.Background=cd spiJahr.Background=cd edtAnzahlstarts.Background=cd edtPilotIch.Background=cd edtPilotBegleit.Background=cd ... Here is the result: You can nicely see that the frame is around the editboxes, but not around the three spinners at the top. Whay is that? Any help is highly appeciated. Thanks and regards René
Dear All I try to get a frame around some spinners, but it will not work. Here is what I am doing .... ... Dim cd As ColorDrawable cd.Initialize2(Colors.Transparent, 5dip, 2dip, Colors.Gray) spiTag.Background=cd spiMonat.Background=cd spiJahr.Background=cd edtAnzahlstarts.Background=cd edtPilotIch.Background=cd edtPilotBegleit.Background=cd ... Here is the result: You can nicely see that the frame is around the editboxes, but not around the three spinners at the top. Whay is that? Any help is highly appeciated. Thanks and regards René
mangojack Expert Licensed User Longtime User Jul 23, 2017 #2 Please use Code Tags ... [code]Insert Code Here ...[/code] In answer to your question .. see this https://www.b4x.com/android/forum/threads/spinner-not-responding-to-colordrawable.78780/#post-499370 An alternative, place your spinners on a Panel with borders. Upvote 0
Please use Code Tags ... [code]Insert Code Here ...[/code] In answer to your question .. see this https://www.b4x.com/android/forum/threads/spinner-not-responding-to-colordrawable.78780/#post-499370 An alternative, place your spinners on a Panel with borders.