File tree 7 files changed +44
-36
lines changed 7 files changed +44
-36
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <layer-list xmlns : android =" http://schemas.android.com/apk/res/android" >
3
+
4
+ <item >
5
+ <shape android : shape =" rectangle" >
6
+ <solid android : color =" #6D6C6C" />
7
+ <corners android : radius =" 10dp" /> <padding
8
+ android : top =" 4dp" android : bottom =" 4dp"
9
+ android : left =" 4dp"
10
+ android : right =" 4dp" />
11
+ </shape >
12
+ </item >
13
+
14
+ <item android : drawable =" @drawable/ads_space" >
15
+ <padding
16
+ android : top =" 1dp" android : bottom =" 1dp"
17
+ android : left =" 1dp"
18
+ android : right =" 1dp" />
19
+ </item >
20
+
21
+ <item >
22
+ <shape android : shape =" rectangle" >
23
+ <solid android : color =" @color/white" />
24
+ <corners android : radius =" 4dp" /> </shape >
25
+ </item >
26
+ </layer-list >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .cardview.widget.CardView xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
3
android : layout_width =" match_parent"
4
4
android : layout_height =" wrap_content"
5
- xmlns : app =" http://schemas.android.com/apk/res-auto"
6
- app : cardCornerRadius =" 10dp"
7
- app : cardElevation =" 3dp"
8
- app : cardUseCompatPadding =" true" >
5
+ android : background =" @drawable/border_bg" >
9
6
10
7
<com .google.android.gms.ads.nativead.NativeAdView
11
8
android : id =" @+id/unified"
202
199
</RelativeLayout >
203
200
204
201
</com .google.android.gms.ads.nativead.NativeAdView>
205
- </androidx .cardview.widget.CardView >
202
+ </RelativeLayout >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .cardview.widget.CardView xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns : app =" http://schemas.android.com/apk/res-auto"
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
4
3
android : layout_width =" match_parent"
5
4
android : layout_height =" wrap_content"
6
- app : cardCornerRadius =" 10dp"
7
- app : cardElevation =" 3dp"
8
- app : cardUseCompatPadding =" true" >
5
+ android : background =" @drawable/border_bg" >
9
6
10
7
<com .google.android.gms.ads.nativead.NativeAdView
11
8
android : id =" @+id/ads_100"
145
142
</LinearLayout >
146
143
</com .google.android.gms.ads.nativead.NativeAdView>
147
144
148
- </androidx .cardview.widget.CardView >
145
+ </RelativeLayout >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .cardview.widget.CardView xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns : app =" http://schemas.android.com/apk/res-auto"
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
4
3
android : layout_width =" match_parent"
5
4
android : layout_height =" wrap_content"
6
- app : cardCornerRadius =" 10dp"
7
- app : cardElevation =" 3dp"
8
- app : cardUseCompatPadding =" true" >
5
+ android : background =" @drawable/border_bg" >
9
6
10
7
<com .google.android.gms.ads.nativead.NativeAdView
11
8
android : id =" @+id/unified"
127
124
android : textStyle =" bold" />
128
125
</com .google.android.gms.ads.nativead.NativeAdView>
129
126
130
- </androidx .cardview.widget.CardView >
127
+ </RelativeLayout >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .cardview.widget.CardView xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns : app =" http://schemas.android.com/apk/res-auto"
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
4
3
android : layout_width =" match_parent"
5
4
android : layout_height =" wrap_content"
6
- app : cardCornerRadius =" 10dp"
7
- app : cardElevation =" 3dp"
8
- app : cardUseCompatPadding =" true" >
5
+ android : background =" @drawable/border_bg" >
9
6
10
7
<com .google.android.gms.ads.nativead.NativeAdView
11
8
android : layout_width =" match_parent"
175
172
176
173
</com .google.android.gms.ads.nativead.NativeAdView>
177
174
178
- </androidx .cardview.widget.CardView >
175
+ </RelativeLayout >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .cardview.widget.CardView xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns : app =" http://schemas.android.com/apk/res-auto"
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
4
3
android : layout_width =" match_parent"
5
4
android : layout_height =" wrap_content"
6
- app : cardCornerRadius =" 10dp"
7
- app : cardElevation =" 3dp"
8
- app : cardUseCompatPadding =" true" >
5
+ android : background =" @drawable/border_bg" >
9
6
10
7
<com .google.android.gms.ads.nativead.NativeAdView
11
8
android : id =" @+id/unified"
117
114
118
115
</LinearLayout >
119
116
</com .google.android.gms.ads.nativead.NativeAdView>
120
- </androidx .cardview.widget.CardView >
117
+ </RelativeLayout >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .cardview.widget.CardView xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns : app =" http://schemas.android.com/apk/res-auto"
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
4
3
android : layout_width =" match_parent"
5
4
android : layout_height =" wrap_content"
6
- app : cardCornerRadius =" 10dp"
7
- app : cardElevation =" 3dp"
8
- app : cardUseCompatPadding =" true" >
5
+ android : background =" @drawable/border_bg" >
9
6
10
7
<com .google.android.gms.ads.nativead.NativeAdView
11
8
android : layout_height =" 100dp"
127
124
</LinearLayout >
128
125
129
126
</com .google.android.gms.ads.nativead.NativeAdView>
130
- </androidx .cardview.widget.CardView >
127
+ </RelativeLayout >
You can’t perform that action at this time.
0 commit comments