Skip to content

Commit

Permalink
fixes5
Browse files Browse the repository at this point in the history
  • Loading branch information
marrisaichandan committed Feb 6, 2023
1 parent d9651b7 commit bcd4dbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 0 additions & 1 deletion adutils/src/main/java/com/appyhigh/adutils/AdSdk.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6406,7 +6406,6 @@ object AdSdk {
layoutParams1.width = MATCH_PARENT
layoutParams1.height = WRAP_CONTENT
child.layoutParams = layoutParams1
child.setAdjustViewBounds(true);
} else { //Videos
val params = child.layoutParams
params.width = MATCH_PARENT
Expand Down
18 changes: 10 additions & 8 deletions adutils/src/main/res/layout/native_admob_dynamic8_sidelarge.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
android:layout_height="wrap_content">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="0.5"
android:layout_weight="0.5"
android:orientation="vertical">

<com.google.android.gms.ads.nativead.MediaView
android:id="@+id/ad_media"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:background="@color/cardview_dark_background"
android:layout_margin="5dp" />
Expand All @@ -37,7 +37,7 @@

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:weightSum="0.5"
android:layout_gravity="center"
Expand Down Expand Up @@ -76,7 +76,7 @@

<LinearLayout
android:id="@+id/linearLayout4"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:orientation="horizontal"
Expand All @@ -95,6 +95,7 @@
<androidx.cardview.widget.CardView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
app:cardCornerRadius="5dp"
app:cardElevation="5dp">

Expand All @@ -109,14 +110,15 @@


<LinearLayout
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dip"
android:layout_marginTop="5dp"
android:orientation="vertical">

<TextView
android:id="@+id/headline"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
Expand Down

0 comments on commit bcd4dbd

Please sign in to comment.