gpt4 book ai didi

android - 如何在 Android 中禁用分段控制?

转载 作者:太空狗 更新时间:2023-10-29 13:11:05 25 4
gpt4 key购买 nike

谁能告诉我,如何在 android 中禁用分段控制。我一直在使用 Foursquared 库。

library 的链接如下所示。

最佳答案

你可以为此做一件事。

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<SegmentedButton
android:id="@+id/login_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="false"
/>

<Layout
android:id="@+id/transperent_fragment"
android:name="com.test.transperentFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/body_texture"
android:alpha="0.2"
android:clickable="true"/>

</RelativeLayout>

希望这对你有帮助..:)

关于android - 如何在 Android 中禁用分段控制?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40906979/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com