My app for Android has a refreshed GUI. In this post I’ll talk about the different layout code and what I learned. The Fart You GUI used to be made with the ConstraintLayout class. Android depreciated the Constraint Layout class. It looked like this:
The buttons didn’t scale and the whole app looked poorly written. With the new design, a LinearLayout with multiple LinearLayout and a ScrollView within, the app looks much better. The top level code within the main_activity.xml file looks like this:
The xml file did not only have LinearLayout and Scrollview. There is also <Button>, <ImageView> and <TextView> tags. This allowed me to code a top bar for the app name and image, the middle of the app with all the buttons and function of the app and a bottom bar with the Ad bar.
This produced a better result with bigger buttons that are more responsive to the screen size of the Android device. At the end the app looked like this:
You can find the app with the new Fart You GUI on the Google Play store here.
If you want to see my previous posts on the Fart You app check out here and here.
Here is the documentation for LinearLayout for Android here. Thanks for reading! Fart You!
The app has been recently remodeled for maximum flatulence fun. Now with 18 awesome fart sounds, you can play a practical joke on anyone with your phone! Each sound is individual and appropriately named for every situation.
For instance, shoot off a classic “PPFTT” during dinner time with the family. That is ensured to get you the attention you deserve. Unless your family is deaf, you will get a response guaranteed or your money back!
However, dinner time is not the only appropriate place for the Fart You app. Maybe you are visiting with your Grandma or Aunt and need to lighten the mood with the “Old Lady” fart.
Above all, the applications of this practical joke app are infinite and the joy is endless. Everyone loves farts and you can be the center of attention with the Fart You app.
You can see the initial release of the Fart You app here.
If you want to download more CPU check out this app.
Why a Download CPU app? Why would I create an app to Download CPU? Well, of course to enable everyone on Android phones to download CPU. “Isn’t that silly?” some people may ask. Yes, it is ridiculous, but I did it for fun.
I started off the Download CPU with just pictures in paint to get my concept and design down.
Once I had the concept down, I used this silly app to learn more things about developing Android apps. I mainly learned moving back and forth through Activities and putting in more logic in the app (such as flashing the background randomly). Changing the text proved to be challenging, I had to learn about the Handler() method and delaying posts. I also got better making a 3D image and working overall with the graphics of the app. This ended up being the finished product.
Overall, I’m happy with the finished product. I learned a lot more about developing an Android app and got to make a silly Download CPU in the process.