FawpepayFut
New Member
I am new to Android Development, and to get used to it I started with a app to manage recipes. The app should be quite simple. Add/edit recipes, search recipes, making pictures of the meals etc... A simple and good interface is very important to me, so my plan was to make own TextViews optimized for my purpose.More specific: In the "AddRecipe" Activity, I want the user to enter a name for the recipe, a duration (approximation of how long it will take to cook), a description for cooking, and, of course, a list of all ingredients, and the amount of them.The TextView should be like a MultiAutoCompleteTextView, but with more functionalities. For example: At the moment I'm using MultiAutoCompleteTextView, so a user can pick the ingredients from database. If an ingredient is not in the database, the user can write it in the TextView and it will be added to database after submitting the form. But there is no way of how I could add the amounts in this TextView, so I thought I could just extend the MultiAutoCompleteTextView class and add the functionalities I need.It should look familiar to this: Contact Bubble EditTextBut with ingredients instead of names of course When a ingredient "bubble" is clicked, the user can specifiy the amount needed.So if I add ingredients, for example "Butter", "Peanuts" the TextView will be like:"Butter, Peanuts"When I click on Butter, there appears a new TextView where I can select how much butter is needed: for example 250g. When I accept, the TextView should be updated to look like this:"250g Butter, Peanuts".My question is how I can realize this. I don't know exactly where to start... I have never had the need to modify the TextViews given by Android, because the default TextViews where always enough, until now ... -.-Is this even possible that way, or am I thinking completely wrong?