Project Structure fragment_one.xml fragment_two.xml FragmentOne.java FragmentTwo.java activity_main.xml MainActivity.java Running Program
View More HelloFragmentCategory: Android Development
Using Android Intent
Now we need connect all of our views, layouts and activities. In order to do this, we need a functionality that can call and invoke…
View More Using Android IntentLinear Layout
LinearLayout is a view group that aligns all children in a single direction, vertically or horizontally. You can specify the layout direction with the android:orientation…
View More Linear LayoutAndroid Graphical User Interface
Most of the mobile applications interact with the users through the user interface. With Android, several features and tools are available for use so that…
View More Android Graphical User InterfaceAndroid Application Fundamentals
Before we dig down into the details of Android development, we need to understand first the underlying features and services of the platform so that…
View More Android Application FundamentalsOptions Menu Example
Step 1: Project Structure Step 2. Layout file (activity_main.xml) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <RelativeLayout…
View More Options Menu ExampleRating Bar Widget
Rating Bar is used to rate some topics, items or products. We can assign a number of start to signify how much we like the…
View More Rating Bar WidgetToggle Button Widget
Next component that you may use is the toggle button. This can be useful if you need a button that can be either be on…
View More Toggle Button WidgetRadioButton Widget
Radio buttons allow the user to select one option from a set. You use radio buttons when you want the user to choose from a…
View More RadioButton WidgetCheckBox Widget
The checkbox is a specific two-states button that can either be checked or unchecked. It is a widget and a subclass of CompoundButton class. Available…
View More CheckBox Widget