Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I agree that XML is shit to work with, but please, tell me - when was XML spec'd?
-
cho-uc18844yI have to disagree with your mom.
You're learning to make apps, it should count as studying though not in conventional way. -
Because i have to edit the xml directly
thats what android studio devs do? dont they write the xml for their java code?
also im not editing im writing it out and idk what the hell im doing wrong i wish json is here
xml is garbage
also overclockgd uses AIDE for his apps and said his xml always works (aide is on android lol)
i think what im doing is a bit good and keeping it up. im learning how to make mini games now its kinda fun i tried learning kotlin (shitlin) im never going back to that sespool -
atheist99854ySo, given its possible to convert between xml and json, they're just 2 different ways of representing structured information. You could even write json.
And iirc android studio has some kind of wysiwyg editor for ui doesn't it?
And yes in theory a user can just edit an apps xml, they can also edit its binary (see game cracking). The os has some level of protection against malicious attacks (permissions, sandboxing), and any server should validate input, so ultimately, why does it matter?
Html is just xml, the web's done pretty well with that. -
@Phazor001
what.... the... shit.
Android studio (and eclipse before it) has a perfectly usable WYSIWYG editor overlay for Andorid UI xml editing.
Sure - you edit the dumb thing by hand, like some sort of Macguyver/Ninja/Monkey combo - but, if you really want to get down and dirty... you can also create the layout in code! Why not do that? -
@magicMirror but it requires xml dont it?
i have seen an image of someone writing the xml in the android studio xml editor for their layout but alright then if you say so
<Relative layout>
<items i dont care about writing>
<confusing shit>
<Relative layout>
Alright then! here we go but dont blame it on me if i come back with a run time error or a distorted android ui also i figured this out so dont r*pe me if so then use lube
Java > dex > smali
Related Rants
-
codeblood14I finally built a new PC with 8GB memory, i7 4790K and SSD for OS. My old system was a core2duo with 2GB mem...
-
MrCSharp26JsonX is a an IBM standard to represent JSON in XML... Like wtf dude? What's the point in making shit even m...
-
kyleperik34XML sucks. Why can't we just use JSON everywhere?
XML? NO <SHITSML>
I have been coding my app ( pc ) using android studio for weeks and some reason the xml code isnt working >:( its very dumb whoever made xml can stick it up their blowhole its useless! its just data store that people can edit lmao all ya need is a text editor and a decompiler and i can basically turn a switch into a button :/ the xml has not been working for 2 weeks and mum says i develop useless apps / games and i need to study more
random
xml