summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/android/widget/MultiselectableRelativeLayout.java
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-09-05 18:33:42 -0500
committerSamuel Holland <samuel@sholland.org>2018-11-11 21:50:23 -0600
commita264f7ab36bf1335999d53cb4a0d753c54b231d0 (patch)
tree8adb020e43111ff0420569c16c8c529f69b6a0e5 /app/src/main/java/com/wireguard/android/widget/MultiselectableRelativeLayout.java
parent4e134772d7d2fea02722a87e413947965764fef8 (diff)
Auto-format the source directories
Blame Jason for writing Java in vim. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard/android/widget/MultiselectableRelativeLayout.java')
-rw-r--r--app/src/main/java/com/wireguard/android/widget/MultiselectableRelativeLayout.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/src/main/java/com/wireguard/android/widget/MultiselectableRelativeLayout.java b/app/src/main/java/com/wireguard/android/widget/MultiselectableRelativeLayout.java
index 8fa4f9ae..0759903b 100644
--- a/app/src/main/java/com/wireguard/android/widget/MultiselectableRelativeLayout.java
+++ b/app/src/main/java/com/wireguard/android/widget/MultiselectableRelativeLayout.java
@@ -12,23 +12,25 @@ import android.widget.RelativeLayout;
import com.wireguard.android.R;
public class MultiselectableRelativeLayout extends RelativeLayout {
+ private static final int[] STATE_MULTISELECTED = {R.attr.state_multiselected};
+ private boolean multiselected;
+
public MultiselectableRelativeLayout(final Context context) {
super(context);
}
+
public MultiselectableRelativeLayout(final Context context, final AttributeSet attrs) {
super(context, attrs);
}
+
public MultiselectableRelativeLayout(final Context context, final AttributeSet attrs, final int defStyleAttr) {
super(context, attrs, defStyleAttr);
}
+
public MultiselectableRelativeLayout(final Context context, final AttributeSet attrs, final int defStyleAttr, final int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
}
- private static final int[] STATE_MULTISELECTED = { R.attr.state_multiselected };
-
- private boolean multiselected;
-
@Override
protected int[] onCreateDrawableState(final int extraSpace) {
if (multiselected) {