About

As a basically new and aspiring programmer, I have started off my journey using Android App Studio. I have decided to mark down all my little victories across my "journey." Although most people decide to take a class or something of the sort, I decided to only focus on programming as a side project. Nothing too serious, right? Well, that's how it was in the beginning when I was using MIT App Inventor. Just playing around with the tutorials. That's how it was for a little less then a month until I got the idea to make a tanakh for android. I had always been searching for one (on my android running tablet), but never did I seem to find one that fitted my taste. I mean, it's not like I wanted such a complicated one, all I wanted was a Hebrew-English one! So I set to work with MIT App Inventor creating such a thing. All the buttons were set up and all the procedures were too. Then however, I started to enter the actual text. That's when all the problems hit. Turns out in the end that MIT App Inventor has a max size for your app. After a while of thinking about it, I decided to give real hard-core programming a chance (you know the thing that looks really complicated with a bunch of letters?). This blog will show my progress and teach you the techniques I'm using in a quite simple way.

Monday, June 2, 2014

UI Interface- Customizing the Buttons

Now that I've set up the background, I need to set up the buttons.  To do this I went to activity_main.xml.


This is what I wrote for the button.  I changed the layout so that the width of the button would fill the full screen.  Horizontally, I wanted to split the screen up 3 ways (for the 3 buttons).  I gave it a size 125dp.  Since I wanted the text to be white I set it to #ffffff.  Then to change the color of the background to transparent I typed @android:color/transparent .

No comments:

Post a Comment