Skip to main content

Open an Android fragment from another fragment using a button click

In this video, we utilize the jetpack navigation component to launch a fragment from an existing fragment in android, utilizing a button within the launching fragment. I try to make it as simple and easy to understand as possible

Comments

Popular posts from this blog

Shared Transition Animation Android

One of the more simple animations that can be done in Android is the shared transition animation. It is very effective and simple to achieve ,below we show you how to get this done with only a few lines of code where necessary. [1]  Edit your Window Transitions < style name ="AppTheme" parent ="Theme.AppCompat.Light.DarkActionBar" > <!-- Customize your theme here. --> < item name ="colorPrimary" >@color/colorPrimary</ item > < item name ="colorPrimaryDark" >@color/colorPrimaryDark</ item > < item name ="colorAccent" >@color/colorAccent</ item > < item name ="android:windowContentTransitions" >true</ item > </ style > [2]Create 2 separate elements of equal view types within 2 layouts and give the both the property of android :transitionName =" yourtransitionname" android :transitionName =" yourtransitionna...

Loading Local Webpage inside Android Webview

[1] first create an asset folder, and place all your local web page files and assets within that folder [2] create a web view within your layout folder of the activity [3] finally use the web filter load the local page/HTML using an example of the code below Simply do  this: WebView webView = (WebView)findViewById(R.id.webView1); webview.loadUrl("file:///android_asset/file.html")];

What you need to know in order to create your first game

We all know that designing your first Android game is not easy, but the most difficult part is finding ready to use information that can guide you through the development process. With this in mind, I have decided to create a short video based on my experiences,.It illustrates what you need to know as well as master in order to design your first game. This video will not go into the technical nuances of creating your first game but will only act as a guidepost on what you need to know and master, in order to create that great game that you've been dreaming to show the world.