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
-
Use relative for styling and use the other ones for custom elements, there is like 0 overhead
-
Use Constraint Layout as your root layout.
Read more here: https://developer.android.com/train... -
Banele8977y@BindView and @TorBuntu, Darcula doesn't look nice for me on Android Studio. Android Studio is kind of cluttered already and for me using a dark theme makes things worse. On the other hand, i'm loving darcula on PyCharm.
-
Mb3leb21987yAs i mentioned before always use constraint Layout or linear layout as root layout and always write it in XML never drag and drop, you may find few difficulties at first but everything will be fine soon
To improve your skills try to find on google any free mobile PSD design and try to integrate it into your mobile application.
Remember each root layout may have several child layout so the main may be linearLayout and inside of it many constraint and relative to improve design accuracy -
Remember you can <include> other layout files! Its a great way to re-use layouts and prevent bloat
-
Mb3leb21987y@simpleJack this one too is very helpful
To divide your projects into sub parts.
Take into consideration some deprecated design etc...
Related Rants
The beginning of my small app. Just a small question to the devRant community. As I am relatively new in Android app development I was wondering which layout is okay to work with?
The reason behind this question is that I have found that sometimes I'd move a component(e.g., button, text field) by a small fraction and boom! everything else is messed up.
undefined
android studio