mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-02-01 09:56:47 +01:00
hide checks as invisible, not gone
This commit is contained in:
parent
22a207f7cf
commit
2c14e0b5dc
@ -5,7 +5,7 @@ import android.view.View
|
||||
val View.isVisible: Boolean get() = visibility == View.VISIBLE
|
||||
|
||||
fun View.hide() {
|
||||
visibility = View.GONE
|
||||
visibility = View.INVISIBLE
|
||||
}
|
||||
|
||||
fun View.show() {
|
||||
|
@ -31,6 +31,6 @@
|
||||
android:gravity="top|right"
|
||||
android:scaleType="fitEnd"
|
||||
android:src="@mipmap/check"
|
||||
android:visibility="gone"/>
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user