-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01837d6
commit cdc6235
Showing
5 changed files
with
534 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
170 changes: 170 additions & 0 deletions
170
AlienAdsV2/src/main/res/layout/admob_small_native_rectangle.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
<com.google.android.gms.ads.nativead.NativeAdView 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:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="200dp" | ||
android:layout_gravity="center" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="24dp" | ||
android:layout_height="wrap_content" | ||
android:background="#e74c3c" | ||
android:gravity="center" | ||
android:text="Ads" | ||
android:textColor="#ffffff" | ||
android:textSize="10sp" /> | ||
|
||
<RelativeLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="1" | ||
android:gravity="center"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="200dp" | ||
android:orientation="vertical"> | ||
|
||
<ImageView | ||
android:id="@+id/ad_app_icon" | ||
android:layout_width="75dp" | ||
android:layout_height="75dp" | ||
|
||
android:layout_gravity="center" | ||
android:layout_marginTop="5dp" | ||
android:adjustViewBounds="true" /> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="5dp" | ||
android:layout_marginTop="5dp" | ||
android:layout_marginRight="5dp"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:id="@+id/ad_headline" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:lines="1" | ||
android:text="Reskin Aliendroid" | ||
android:textAlignment="center" | ||
android:textColor="#222f3e" | ||
android:textSize="10sp" | ||
android:textStyle="bold" /> | ||
|
||
<TextView | ||
android:id="@+id/ad_advertiser" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="bottom" | ||
android:textAlignment="center" | ||
android:textColor="#222f3e" | ||
android:textSize="10sp" | ||
android:textStyle="bold" | ||
android:visibility="gone" /> | ||
|
||
<TextView | ||
android:id="@+id/ad_body" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_marginBottom="5dp" | ||
android:layout_weight="1" | ||
android:gravity="center" | ||
android:text="1st - The Big Marketplace Source Code for Monetize Mobile Application on Indonesia" | ||
android:textAlignment="center" | ||
android:textColor="#222f3e" | ||
android:textSize="10sp" /> | ||
|
||
<RatingBar | ||
android:id="@+id/ad_stars" | ||
style="?android:attr/ratingBarStyleSmall" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:isIndicator="true" | ||
android:numStars="5" | ||
android:stepSize="0.5" | ||
android:visibility="gone" /> | ||
|
||
</LinearLayout> | ||
|
||
</LinearLayout> | ||
|
||
<Button | ||
android:id="@+id/ad_call_to_action" | ||
android:layout_width="match_parent" | ||
android:layout_height="30dp" | ||
android:layout_gravity="center" | ||
android:layout_marginLeft="10dp" | ||
android:layout_marginTop="5dp" | ||
android:layout_marginRight="10dp" | ||
android:layout_marginBottom="5dp" | ||
android:background="@drawable/round_black" | ||
android:gravity="center" | ||
android:textColor="#ffffff" | ||
android:textSize="8sp" | ||
app:backgroundTint="#e74c3c" | ||
tools:text="Install" /> | ||
</LinearLayout> | ||
</RelativeLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:visibility="gone"> | ||
|
||
<com.google.android.gms.ads.nativead.MediaView | ||
android:id="@+id/ad_media" | ||
android:layout_width="match_parent" | ||
android:layout_height="175dp" | ||
android:layout_gravity="center_horizontal" | ||
android:layout_marginTop="5dp" | ||
android:visibility="visible" /> | ||
|
||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="end" | ||
android:orientation="horizontal" | ||
android:paddingTop="10dp" | ||
android:paddingBottom="10dp"> | ||
|
||
<TextView | ||
android:id="@+id/ad_price" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:paddingStart="5dp" | ||
android:paddingLeft="5dp" | ||
android:paddingEnd="5dp" | ||
android:paddingRight="5dp" | ||
android:textColor="#222f3e" | ||
android:textSize="12sp" /> | ||
|
||
<TextView | ||
android:id="@+id/ad_store" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:paddingStart="5dp" | ||
android:paddingLeft="5dp" | ||
android:paddingEnd="5dp" | ||
android:paddingRight="5dp" | ||
android:textColor="#222f3e" | ||
android:textSize="12sp" /> | ||
|
||
</LinearLayout> | ||
</LinearLayout> | ||
|
||
</LinearLayout> | ||
|
||
</com.google.android.gms.ads.nativead.NativeAdView> |
Oops, something went wrong.