Commit 87b9b99d authored by Max Lv's avatar Max Lv

Fix AdView in dark mode

parent 4e239600
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:background="#FFFFFF"
android:minHeight="40dp" android:minHeight="40dp"
android:orientation="vertical"> android:orientation="vertical">
...@@ -41,7 +40,7 @@ ...@@ -41,7 +40,7 @@
android:id="@+id/ad_headline" android:id="@+id/ad_headline"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textColor="#000000" android:textColor="?android:attr/textColorPrimary"
android:maxLines="1" android:maxLines="1"
android:textSize="14sp" android:textSize="14sp"
android:textStyle="bold" /> android:textStyle="bold" />
...@@ -55,6 +54,7 @@ ...@@ -55,6 +54,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:gravity="bottom" android:gravity="bottom"
android:textColor="?android:attr/textColorPrimary"
android:textSize="12sp" android:textSize="12sp"
android:textStyle="bold"/> android:textStyle="bold"/>
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="start" android:layout_gravity="start"
android:textColor="?android:attr/textColorSecondary"
android:textSize="12sp" /> android:textSize="12sp" />
<LinearLayout <LinearLayout
...@@ -94,6 +95,7 @@ ...@@ -94,6 +95,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="12dp" android:layout_marginEnd="12dp"
android:textColor="?android:attr/textColorPrimary"
android:gravity="center" android:gravity="center"
android:textSize="12sp" /> android:textSize="12sp" />
</LinearLayout> </LinearLayout>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment