Jenni Vandervort
Jenni Vandervort
> 现在有一个需求就是不用点击,直接倒计时,这个该怎么做呢? 直接countDown.startCountDown(10); 不就行了吗?在onCreate() 的时候。
这样就可以居中了,动态调整左右偏移;我是还需要再往左边偏移,所以是减去一个数;我这里固定写死了 ``` GuidePage.newInstance() .addHighLight( guide_recommend_point2, HighLight.Shape.CIRCLE, 25.dp, object:RelativeGuide( R.layout.view_guide_recommend2,Gravity.TOP , 10.dp ){ override fun offsetMargin( marginInfo: MarginInfo?, viewGroup: ViewGroup?, view: View? ) { super.offsetMargin(marginInfo, viewGroup, view) marginInfo?.leftMargin = marginInfo?.leftMargin?.minus(65.dp-12.dp) }...
为什么不直接使用Relingo 翻译,我试了一下,感觉挺好用的
@ask9 I have similar problems, I think, can try to implement this feature
> 👍 I think I encountered the same problem. https://github.com/twibiral/obsidian-execute-code/pull/424