+ 15

XML JAVA error

Hay freinds I was trying to make my first app in JAVA-N-IDE app as I dont have laptop so I have to do this In mobile. https://code.sololearn.com/Wlb7NZ3S1kIi/?ref=app Acctuly in this code I had given my xml code instead of html and java instead of CSS 😂 so please cheque it. when I comment out my grdvw (line 18 in html) section then the installed app runs perfectly but if grdvw is uncommented it installs the app but dose not allowe to run it . Acctuly I want to make a calculator android app. So I need a grid so that all elements and buttons can be packed easily . Help me out to sove this error

28th Sep 2020, 6:08 AM
丹ⓨㄩک廾
丹ⓨㄩک廾 - avatar
13 Answers
+ 21
Here is a point to note that  GridView gets its data from a ListAdapter, the only data loaded in memory will be the one displayed on screen.  Whereas a GridLayout is a layout that places its children in a rectangular grid. So that's why i used GridLayout here instead of GridView So don't be confused https://code.sololearn.com/WiKu1W1SIce4/?ref=app i have added few buttons only, you can change it according to your requirement
28th Sep 2020, 7:38 AM
Lamya😉
Lamya😉 - avatar
+ 19
I guess Grdvw should be GridView in android
28th Sep 2020, 6:33 AM
Lamya😉
Lamya😉 - avatar
+ 19
They have GridView Search it out
28th Sep 2020, 6:35 AM
Lamya😉
Lamya😉 - avatar
28th Sep 2020, 6:47 AM
Lamya😉
Lamya😉 - avatar
+ 16
丹ⓨㄩک廾 🇮🇳 yeah i will show you🙂👍
28th Sep 2020, 7:01 AM
Lamya😉
Lamya😉 - avatar
+ 15
Now if you have any doubt regarding this you can feel free to ask me🙂🙂👍
28th Sep 2020, 7:41 AM
Lamya😉
Lamya😉 - avatar
+ 6
I dont think so Lamya😉 ["非活性"] because xml dosent have predefined tags
28th Sep 2020, 6:34 AM
丹ⓨㄩک廾
丹ⓨㄩک廾 - avatar
+ 4
Aakaanksha 💕 ...she can only tell...or [user id="5930492"]Raj Srivastava[/user] [user id="18833908"]Lamya😉 ["非活性"][/user]
28th Sep 2020, 6:21 AM
THE INDIAN
THE INDIAN - avatar
+ 4
May be Lamya😉 ["非活性"] but I need to modify that code so that I can use 4×6 grids for the calculator buttons . Do you know how can I do that because GridView will not provide that feature. I want all the button widgets in xml itself
28th Sep 2020, 6:58 AM
丹ⓨㄩک廾
丹ⓨㄩک廾 - avatar
+ 4
Ok thanks Lamya😉 ["非活性"] . Just edit the xml if you can 🥰
28th Sep 2020, 7:03 AM
丹ⓨㄩک廾
丹ⓨㄩک廾 - avatar
+ 3
丹ⓨㄩک廾 🇮🇳 ...if any problem in Java Beyond arrays...then u can ask Lamya Sis...she is one of the best in this.. But under Arrays strings and operators..I can tell..that's all
28th Sep 2020, 7:15 AM
THE INDIAN
THE INDIAN - avatar
+ 2
We often give them a name for our convenience but thay are not reserved words . For example we often write Main as a class name in for main class. ok let me try Lamya😉 ["非活性"]
28th Sep 2020, 6:38 AM
丹ⓨㄩک廾
丹ⓨㄩک廾 - avatar
+ 1
Lamya😉 ["非活性"] can u please help me in my html codes and some Java..please lamy....🙏🙏
28th Sep 2020, 7:53 AM
THE INDIAN
THE INDIAN - avatar