android:gravity
android:gravity=”value” android:gravity lets you say where you want the view’s contents to appear inside the view…
android:gravity=”value” android:gravity lets you say where you want the view’s contents to appear inside the view…
android:layout_gravity lets you say where you want views to appear in their available space. android:layout_gravity deals…
How you specify a linear layout You specify a linear layout using <LinearLayout>. You must specify…
When Android creates and destroys an activity, the activity moves from being launched to running to…
In non-Android Java, you can perform tasks like using a background thread. In Android, that approach…
Every Android app must include a file called AndroidManifest.xml. You can find it in the app/src/main…
Add a cutom class to an Android project by going to File menu -> New ->…
We can get references for our two GUI components using a method called findViewById(). This method…
string.xml is the default resource file used to hold name/value pairs of Strings sot that they…
A static variables value is the same for aALL instances of the class…The static duckCount variable…