For now, my goal is to work on an Android app which will ultimately be scaled to include iOS, (Maybe Windows Phone), and then write different technical aspects and learn things like Xamarin.Forms, MVVM Cross, Azure Mobile Services and others. Really it will just be my attempts to be more active in the development community.
The current app I have planned will be themed after a Character Sheet for Dungeons and Dragons, using the 5th generation ruleset. Nerdy, but rather straight forward in its use case.
If you would like to follow the app, you can find the Github repository here:
https://github.com/psycosyd/DnD5e_CBMobile
Getting started, one of my biggest stumbling blocks has actually been UI design and development. Normally I am a huge fan of UI development and design but I admit that Android is not the most intuitive, nor simple.
Part of the problem is theory vs implementation. Google has really done a wonderful job driving direction through their documents on Material Design, found here:
http://www.google.com/design/spec/material-design/introduction.html
It helps give good clarity, color, layout and foundational principles to creating a great android application.
I'm glad you have this great mock up, but where do I sign up for this? |
I don't know about you, but something seems lacking. I can't quite tell |
A couple new factors coming into play here. The CardViews added a nice layer to group logical data. I also had to do some discovery with RelativeLayout and positioning. I had to right justify my entry/input fields, and then centered them by aligning their baselines to the labels on the left. Much cleaner. Now to do a custom adapter to my Spinner controls so we don't have obvious whitespace and we are in business!
To get the top portion organized, most of my actual layout placement was done with my settings using layout_below, alignParentRight (on the right hand elements), and alignBaseLine to get each row lined up. You can see code below:
<TextView
android:text="Character Level:"
android:id="@+id/charLevelLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/charName"
android:textSize="@dimen/textTitle" />
<EditText
android:id="@+id/charLevel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignBaseline="@id/charLevelLabel"
android:numeric="integer" />
Still this is a promising start. This next week will focus on getting a custom adapter set up for my spinner controls as well as work on the attributes layout, and code behind. Most of this initial phase has been just blocking UI and getting basic pairings set up.
Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my
ReplyDeletevision, keep sharing..
Mobile App Development Company
Mobile App Development Company in India
Mobile App Development Companies