summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/build.gradle2
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/userstatus/FabButton.java6
-rw-r--r--app/src/main/res/layout/user_session_fragment.xml6
3 files changed, 5 insertions, 9 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 994f8b7b..9acd5ab1 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -54,7 +54,7 @@ dependencies {
compile 'com.intellij:annotations:12.0'
compile 'com.google.code.gson:gson:2.3.1'
compile 'org.thoughtcrime.ssl.pinning:AndroidPinning:1.0.0'
- compile 'mbanje.kurt:fabbutton:1.1.1'
+ compile 'mbanje.kurt:fabbutton:1.1.4'
}
def processFileInplace(file, Closure processText) {
diff --git a/app/src/main/java/se/leap/bitmaskclient/userstatus/FabButton.java b/app/src/main/java/se/leap/bitmaskclient/userstatus/FabButton.java
index 1bf1847c..d1c56dee 100644
--- a/app/src/main/java/se/leap/bitmaskclient/userstatus/FabButton.java
+++ b/app/src/main/java/se/leap/bitmaskclient/userstatus/FabButton.java
@@ -22,12 +22,6 @@ public class FabButton extends mbanje.kurt.fabbutton.FabButton {
super(context, attrs, defStyle);
}
- @Override
- protected void init(Context context, AttributeSet attrs, int defStyle) {
- super.init(context, attrs, defStyle);
- super.init(context, attrs, defStyle);
- }
-
private CircleImageView getImage() {
return (CircleImageView) findViewById(R.id.fabbutton_circle);
}
diff --git a/app/src/main/res/layout/user_session_fragment.xml b/app/src/main/res/layout/user_session_fragment.xml
index 30068381..fd5fc170 100644
--- a/app/src/main/res/layout/user_session_fragment.xml
+++ b/app/src/main/res/layout/user_session_fragment.xml
@@ -1,5 +1,6 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
@@ -36,8 +37,9 @@
android:color="@android:color/transparent"
class="se.leap.bitmaskclient.userstatus.FabButton"
android:indeterminate="true"
- fbb_progressColor="@android:color/holo_blue_dark"
- fbb_progressWidthRatio="0.1"
+ app:fbb_progressColor="@android:color/holo_blue_dark"
+ app:fbb_progressWidthRatio="0.1"
+ app:fbb_showShadow="false"
/>
</LinearLayout>