当前位置:网站首页>Love to learn blog - life is short, only good classes!
Love to learn blog - life is short, only good classes!
2022-07-21 02:40:00 【nginx】
<?xml version="1.0" encoding="utf-8"?><RelativeLayout 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=".component.ad.activity.AdActivity">
<!-- Picture advertising -->
<ImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop" />
<!-- Video player
VideoView By default, you can't set the video to fill the whole control , So don't use him -->
<com.tencent.rtmp.ui.TXCloudVideoView
android:id="@+id/video"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<!--/ player -->
<!-- Advertising control -->
<RelativeLayout
android:id="@+id/ad_control"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/preload"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/padding_meddle"
android:layout_marginTop="@dimen/d50"
android:layout_marginBottom="@dimen/d50"
android:background="@drawable/shape_button_transparent_radius_small"
android:gravity="center"
android:padding="@dimen/d5"
android:text="@string/wifi_preload"
android:textColor="?attr/colorLightWhite"
android:textSize="@dimen/text_small"
android:visibility="gone" />
<!-- Skip ad button -->
<TextView
android:id="@+id/skip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_marginTop="@dimen/d50"
android:layout_marginRight="@dimen/padding_large"
android:layout_marginBottom="@dimen/d50"
android:background="@drawable/shape_button_transparent_radius_small"
android:gravity="center"
android:padding="@dimen/padding_meddle"
android:textColor="?attr/colorLightWhite"
android:textSize="@dimen/text_meddle"
app:cornerRadius="@dimen/d30"
tools:text="@string/skip_ad_count" />
<!-- Open the advertising button -->
<TextView
android:id="@+id/primary"
android:layout_width="match_parent"
android:layout_height="@dimen/d60"
android:background="@drawable/shape_button_transparent_radius_large"
android:gravity="center"
android:text="@string/ad_click_tip"
android:textColor="?attr/colorLightWhite"
android:textSize="@dimen/text_large"
app:cornerRadius="@dimen/d30" />
</com.facebook.shimmer.ShimmerFrameLayout>
</RelativeLayout>
</RelativeLayout>
边栏推荐
- 阿里云国际版账号注册常见问题汇总
- Using nsproxy to forward messages
- [Android development IOS series] Language: swift vs kotlin
- 怎么 111
- Dynamic memory management
- 得物基于Attach to Process的实时调试实践
- Binary tree OJ exercise
- [Muduo] build project compile cmake file and noncopyable
- Detailed decision tree and random forest
- How to configure access control in Gerrit system
猜你喜欢
The first sentence of runaway it: a new colleague
[Android開發學iOS系列] 語言篇: Swift vs Kotlin
Software interface and simple system simulation
从概念到安全实践:软件供应链基础指南
Office软件无法正常启动0xc0000142怎么解决?
解读Go分布式链路追踪实现原理
How to enable excel macros when they are disabled? The solution of Excel unable to enable macros
我把整个研发中台拆分过程的一些心得总结
Capacity scheduling absolute value configuration queue usage and pit avoidance
得物客服一站式工作台卡顿优化之路
随机推荐
To get to the bottom: Principle Analysis of Objective-C correlation attribute
【MUDUO】构建项目编译CMake文件以及noncopyable
HMS Core图形图像技术展现最新功能和应用场景,加速构建数智生活
得物客服一站式工作台卡顿优化之路
The first sentence of runaway it: a new colleague
Fiddler5+ lightning simulator 4.0 settings for app packet capturing
NFT潮鞋AR互动零基础教程来啦!
vivo官网APP全机型UI适配方案
返回给定日期月份中最后一个日期的字符串表示形式
apple 为什么要改 objc
日期范围生成器
Returns the string representation of the last date in a given date month
EF core learning notes: additional foreign key attributes / single navigation attributes
Trax: how to win the sweet war in the summer ice cream market?
[Muduo] build project compile cmake file and noncopyable
MySQL field values contain_ And \ escape characters, how to eliminate the influence when comparing the values of two tables?
Date从对象中获取工作日的名称
基于ESP32的RGB点阵显示器
PPT柱状图如何增加柱子
Developers must read: 2022 mobile application operation growth insight white paper