This video describes how to add multiple working EditText fields in custom dialog box in Sketchware.
Пікірлер: 26
@sketchwarehelp6 жыл бұрын
The code: final View v2 = (View) getLayoutInflater().inflate(R.layout.c_dialog, null); LinearLayout lin2 = (LinearLayout) v2.findViewById(R.id.linear2); LinearLayout lin3 = (LinearLayout) v2.findViewById(R.id.linear3); LinearLayout lin4 = (LinearLayout) v2.findViewById(R.id.linear4); final EditText edit1 = new EditText(MainActivity.this); final EditText edit2 = new EditText(MainActivity.this); final EditText edit3 = new EditText(MainActivity.this); LinearLayout.LayoutParams lpar = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT); edit1.setLayoutParams(lpar); edit2.setLayoutParams(lpar); edit3.setLayoutParams(lpar); lin2.addView(edit1); lin3.addView(edit2); lin4.addView(edit3); dialog.setView(v2); Here linear2, linear3, and linear4 are LinearLayout in CustomView. 'c_dialog' is the CustomView. 'dialog' is the Dialog component.
@gemtreydashlevels57416 жыл бұрын
Rfo
@gemtreydashlevels57416 жыл бұрын
Fake
@fullcourses41035 жыл бұрын
@MO 9845 everithing is possible with Java
@fullcourses41035 жыл бұрын
@MO 9845 sorry I could not catch what you said what you mean ?
@fullcourses41035 жыл бұрын
Tell me what you are struggling with
@sttailorbd3 жыл бұрын
tailor app video plz
@hmfisika22505 жыл бұрын
Good teacher...
@alamsekitar4 жыл бұрын
How inplement toats error edittext on dialog..?
@k.dhineshk.dhineshkumar10546 жыл бұрын
பதில் அனுப்பியதற்கு நன்றி ரொம்ப ரொம்ப சந்தோஷம் கோடு சரியாக இருந்தது நான் சந்தோஷமாக இருக்கிறேன் வணக்கம் (உங்களுக்கு நல்லது மட்டுமே நடக்கட்டும் இறைவனை பிரார்த்திக்கிறேன்) Thank you for answering the answer. Very nice and happy! I am happy to be happy (Pray to God for you only to do good)
@mrdeveloper96906 жыл бұрын
worked ... thx alot !
@TechMahfuj3 жыл бұрын
Thanks
@theobsidiancrafters24274 жыл бұрын
Age: gehdj Weight: young child
@rockraja11076 жыл бұрын
Please make a tutorial about Firebase auth
@abdullahalmskari75736 жыл бұрын
thanks dear I want save p2 name. number. add
@Iwakareo2 жыл бұрын
kalo ingin merubah angkanya jadi mata uang bagai mana?
@jthuesonTTS6 жыл бұрын
Is there a quick edit to this code to make a scrolling list of entries instead of having the text replaced each time?
@sketchwarehelp6 жыл бұрын
Instead of Dialog box, use a spinner
@jthuesonTTS6 жыл бұрын
sketchware help thanks! do you have a tutorial for that by chance? 😁
@sketchwarehelp6 жыл бұрын
Check this kzbin.info/www/bejne/Z4bIcphnZ5irmpY
@jthuesonTTS6 жыл бұрын
Thanks, although that's not quite what I'm looking for. I'm trying to create a comments section within the app where users can scroll through previous comments. Thanks!!
@saurabhrajput33806 жыл бұрын
sir how to add 3 list view in 1 app with database ?