Create a New Activity Open New Activity

How to Create a New Activity | Open New Activity in Android Studio Episode #008

How to Create a New Activity | Open New Activity in Android Studio XML Code <Button android:id=”@+id/next” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:background=”#4CAF50″ android:layout_gravity=”center” android:text=”Next Activity” android:textSize=”30dp” />   Java Code Button next; next = (Button)findViewById(R.id.next); next.setOnClickListener(new View.OnClickListener() { @Override public Read more

Margins and Padding Android Studio Episode 006 Urdu Hindi

Margins and Padding Android Studio Episode 006 Urdu Hindi

Margins and Padding Android Studio Episode 006 Urdu Hindi Padding and margin help in designing User interfaces. Padding and margin provide extra space/gap inside or outside the container. Margins attributes android:layout_margin=”20dp” android:layout_marginRight=”20dp” android:layout_marginLeft=”20dp” android:layout_marginTop=”20dp” android:layout_marginBottom=”20dp”     Padding Read more