V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  qwwuyu  ›  全部回复第 4 页 / 共 10 页
回复总数  189
1  2  3  4  5  6  7  8  9  10  
RelativeContainer() {
Column() {
Row() {
Text("Test1111")
.fontSize(14)
.fontWeight(FontWeight.Lighter)
.fontStyle(FontStyle.Italic)
.foregroundColor('#DDDDDD')
.flexGrow(1)
Button() {
Text("button")
.width(30)
.height(30)
}
.width(30)
.height(30)
.backgroundColor(Color.Transparent)
.foregroundColor('#DDDDDD')
}
.width('100%')
.alignItems(VerticalAlign.Top)

Text("long text long text long text long text long text long text long text long text long text long text")
.fontSize(14)
.fontWeight(FontWeight.Lighter)
.foregroundColor('#DDDDDD')
.width('100%')
.margin({ top: 2 })
}
.id('viewRight')
.backgroundColor(0xff0000)
.margin({ left: 10 })
.alignRules({
left: { anchor: '__container__', align: HorizontalAlign.Start },
right: { anchor: '__container__', align: HorizontalAlign.End },
})

Row()
.id('viewLine')
.width(3)
.backgroundColor(0x00ff00)
.alignRules({
top: { anchor: 'viewRight', align: VerticalAlign.Top },
bottom: { anchor: 'viewRight', align: VerticalAlign.Bottom },
})
}
.size({ width: '100%', height: 'auto' })
.margin({ top: 10 })
.backgroundColor(0x0000ff)

//RelativeContainer 可以做到,但是稍微用错容易出不明所以的 BUG
254 天前
回复了 magic3584 创建的主题 Android 如何入门 Android 开发
初学难点估计还是熟悉 API,刚开始可以避开依赖注入路由这些不必要的.
找简单的开源项目跑起来,读下流程,照着写,拷贝一些工具和组件到自己项目.
快速入手就找一个基础框架,直接删删改改去写代码.
很多问题 AI 大部分都可以解决,难点还是经验 UI 业务那些...
@dandycheung 最近审核确实很迷,其它平台都过了,vivo 先提示获取 ssid 频繁,再提示隐私政策不对,最后全修复了又告诉我 WebView 获取剪切板,不一次性测完...
@lw0x1 你那 WebView 加载隐私政策会调用 webSetting.setJavaScriptEnabled(true)吗?
@paopjian 这块内容多,有很多链接,本地链接到服务器的服务条款和隐私政策,隐私政策会依赖第三方 SDK,会提供 h5 链接,最后依旧避免不了使用 WebView.
@MozzieW 第一条正在尝试,但是虽然是系统行为,估计也要 APP 买单,之前查出 WebView 获取定位信息,那个是可以 API 关闭的.
第二条没办法,因为用的 WebView 加载的隐私政策,没同意之前就触发了系统剪切板行为
256 天前
回复了 zong400 创建的主题 Android 从黄 xx 送车看到安卓和 iPhone 的区别
@Y25tIGxpdmlk 我那会是网络速度问题,大家聚在房间里一起,ios 信号差了点,然后我开热点给同事 ios 一起抢,稍微好了一点
256 天前
回复了 zong400 创建的主题 Android 从黄 xx 送车看到安卓和 iPhone 的区别
去年年会,领导群里发微信红包,安卓优先抢到,ios 红包出来的慢...
直接运行 debug 包 用 jadx 反编译 然后搜索文本 PACKAGE_ADDED
272 天前
回复了 luoxiaojian 创建的主题 优惠信息 工行任务中心,年终大回馈
笑脸 号不行了
277 天前
回复了 wuxingli 创建的主题 职场话题 今年不知道有没有年终奖了
去年 6 月份发 今年 11 月份发 明年不清楚
1  2  3  4  5  6  7  8  9  10  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2533 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms · UTC 12:28 · PVG 20:28 · LAX 05:28 · JFK 08:28
Developed with CodeLauncher
♥ Do have faith in what you're doing.