Free Education

Online Education

Android Studio

admob rewarded video ads android example

XML (activity_main.xml) <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:ads=”http://schemas.android.com/apk/res-auto” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” tools:context=”.after32.Rewardvideoads”> <TextView android:id=”@+id/text” android:gravity=”center” android:layout_marginTop=”50dp” android:layout_centerHorizontal=”true” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”hello_world” /> <Button android:layout_width=”match_parent”

Read More
Android Studio

How to Make an Android Studio Calling App

XML (activity_main.xml) <android.support.constraint.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” xmlns:tools=”http://schemas.android.com/tools” android:id=”@+id/activity_main” android:orientation=”vertical” android:layout_width=”match_parent” android:layout_height=”match_parent” android:paddingLeft=”@dimen/activity_horizontal_margin” android:paddingRight=”@dimen/activity_horizontal_margin” android:paddingTop=”@dimen/activity_vertical_margin” android:paddingBottom=”@dimen/activity_vertical_margin” android:gravity=”center_horizontal|center_vertical” > <EditText android:id=”@+id/et_phone_no” android:layout_width=”match_parent” android:layout_height=”wrap_content”

Read More