Add visibility annotation

why is it hidden in Android View? Need it!
This commit is contained in:
ligi 2015-06-17 23:39:08 +02:00
parent d88352107c
commit 4dbc0079c4

View file

@ -0,0 +1,12 @@
package org.ligi.passandroid.ui;
import android.support.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import static android.view.View.GONE;
import static android.view.View.INVISIBLE;
import static android.view.View.VISIBLE;
@IntDef({VISIBLE, INVISIBLE, GONE})
@Retention(RetentionPolicy.SOURCE)
public @interface Visibility {}