Skip to main content

Building your user interface in Sketchware

Sketchware app login screen


The above image is the login page for my Sable App, which I created using Sketchware. In this tutorial I will take you through the basics of how to create a screen/user interface.

The first step after planning your app is building the user interface. This is what your user will see, click and interact with. Today we will cover some tips on how to build a simple user interface on Sketchware.

Start by creating a new project. If you're not sure how to create a new project then click here learn how to create a new Sketchware Project

Positioning your items

I'm sure by now you know that Sketchware uses a simple drag and drop method to position items on the main screen. You might however want to position your items in a specific way. 

How to position items in Sketchware layouts

In the image above, A shows items placed inside a linear horizontal and B shows items placed inside a Linear vertical. You can alsoposition *layouts* within *layouts*. For example if I want to create a screen with a heading and two buttons horizontally aligned below it- I can use a *Linear V*(vertical) and then place my *textview* inside it, to hold the heading. I can then place a *linear H*(horizontal) inside the first linear and under the textview. In the second linear, I can then drag two buttons and place them side by side.

Customizing the widgets and layouts

Sketchware properties menu


Secondly, you must note that each layout and widget has properties which you can change. If you click on any widget on your project screen, the properties menu will appear at the bottom of the screen. These will include *width, height, padding, gravity, colour, rotation* and so on. You can edit these to create your own custom look and feel. Since there are numerous properties I will not go into much detail about each of them but will encourage you to play around and see what difference each one makes when you adjust it.

The last thing I would like us to note when building layouts is that we want our app to look good on all screens. You should therefore choose carefully which items you will give a fixed width or length. This is where the *Weight* property comes in. Think of weight as a ratio. A weight of 1 means that the item should take up all the remaining space on the screen. Weight total or sum is the total sum that a specific layout can hold. For example a weight sum of 2 means I can place 2 items with a weight of one each. If I place one item it will only take up half the space.  

In some cases you might need to use a *Scrollview.* This allows the user to scroll and might work best for lists, Tables and games.

You can check out more tips on how to customize your widgets and create a beautiful user interface in Sketchware here 

*Illustration*
I have attached two screens. One is how my screen is set up in Sketchware and the other is how it's set up, once its running on a tablet.

As always, feel free to ask any questions 

Comments

Popular posts from this blog

Hip hop and RnB songs to apologize to your partner

Love is a beautiful thing, but it often goes wrong. This often leads to pain, suffering and sorrow.  Being imperfect beings, hearts tend to get broken all the time regardless how hard we may try to avoid it.  The heartbreak is often inadvertent but at times we find ourselves in the wrong. An oversight, a word unsaid or even a lapse in our judgement can cause our loved ones harm. This doesn't always have to be the end though. Oftentimes, relationships can be mended by simply uttering three simple words: "I AM SORRY". This article is a collection of some of my favourite 'I'm sorry' songs. I hope you'll enjoy these apology songs, but more importantly, I hope you will get a few quotables and some wisdom nuggets from them.  The best apology however, is to change behaviour (got that from a Jay Z interview) so as you apologize, please remember that it was your actions that hurt them. The best apology is one which involves you not repeating those same mistakes aga...

How to easily create background notifications in Sketchware(original)

How to easily create background notifications in Sketchware(original) One of the keys to building a successful app is to find mechanisms that will keep your users engaged. You can do this by using background notifications. This tutorial will show you how to do that in Sketchware. We will cover: 1. How to create notifications in Sketchware 2. How to show these notifications even when the app is closed.

Happy Birthday Memes: Laugh Your Way to Someone's Heart

Happy Birthday Memes: Laugh Your Way to Someone's Heart Introduction Birthdays are a special occasion to celebrate another year of life, and what better way to do it than with a good laugh? That's where happy birthday memes come in! These hilarious images are the perfect way to put a smile on someone's face and let them know you're thinking of them on their special day. Why Memes Are the Best Birthday Greetings * Relatable:  Memes often tap into universal experiences and emotions, making them instantly relatable to a wide audience. * Quick and Easy:  Sharing a meme is a hassle-free way to send birthday wishes, perfect for those last-minute greetings. * Memorable:  A funny meme is more likely to stick in someone's mind, making your birthday wishes unforgettable. * Versatile:  There's a meme for every type of person and occasion, from silly and goofy to heartfelt and sentimental. How to Use Happy Birthday Memes * Share on Social Media:  Spread ...