текст родной (Admob) кнопки находится под давлением

Я внедрил маленькую нативную рекламу в основное действие и не понимаю, почему текст нативной кнопки находится под давлением. Кроме того, я ничего не менял в шаблоне Native.

Моя проблема с родной кнопкой ![Моя проблема с родной кнопкой][1]

[1

      <androidx.constraintlayout.widget.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:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".fragments.HistoryFragment">

<LinearLayout
    android:id="@+id/linearLayout2"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    app:layout_constraintBottom_toTopOf="@+id/recycler_view_history_fragment_history"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent">

    <com.google.android.ads.nativetemplates.TemplateView
        android:id="@+id/my_template"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:gnt_template_type="@layout/gnt_small_template_view" />
</LinearLayout>

<androidx.recyclerview.widget.RecyclerView
    android:id="@+id/recycler_view_history_fragment_history"
    android:layout_width="match_parent"
    android:layout_height="0dp"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/linearLayout2" />

</androidx.constraintlayout.widget.ConstraintLayout>

]: https://stackru.com/images/b7267bb40d033efb8cb12f1370cf0f160023d21d.png

0 ответов

Другие вопросы по тегам