t0n3 / touch-irc

Touch IRC is an irc client for Android devices
5 stars 1 forks source link

Associate channels to a server at creation #38

Open ghost opened 11 years ago

ghost commented 11 years ago

In the server's form, we could add channel(s). Use an editText like android SMS/MMS App. With a Spannable.

t0n3 commented 11 years ago

Maybe you can use a trick. Transform the comma in a :x:, show the :x: in the rectangle and when the user touch the :x: it delete the rectangle and is content (cross include). When the user save his choices, transform :x: into commas !

jeremy-albinet commented 11 years ago

@Bayk Please add the # in the list sended to the back !

jeremy-albinet commented 11 years ago

@Bayk You can use : serv.setAutoConnectedChannels(channelList); It just in the memory so if you restart the application, you have to reset the list /!\ Please do a function to get the view with spannables from the string (used for editing Server)

TODO for me : save it in the db

t0n3 commented 11 years ago

UI :

Cross : in black please (holo_light theme)