mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-06-02 11:59:31 +02: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
|
val View.isVisible: Boolean get() = visibility == View.VISIBLE
|
||||||
|
|
||||||
fun View.hide() {
|
fun View.hide() {
|
||||||
visibility = View.GONE
|
visibility = View.INVISIBLE
|
||||||
}
|
}
|
||||||
|
|
||||||
fun View.show() {
|
fun View.show() {
|
||||||
|
@ -31,6 +31,6 @@
|
|||||||
android:gravity="top|right"
|
android:gravity="top|right"
|
||||||
android:scaleType="fitEnd"
|
android:scaleType="fitEnd"
|
||||||
android:src="@mipmap/check"
|
android:src="@mipmap/check"
|
||||||
android:visibility="gone"/>
|
android:visibility="invisible"/>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user