summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2015-06-12 17:01:35 +0200
committerParménides GV <parmegv@sdf.org>2015-06-12 17:01:35 +0200
commitd1c6e3c1756cee8104a98718b70e2f3169d24a09 (patch)
treeec674f0fdb2ff14da80f7755202d5c0c354b87fd /app/src/main
parentf5f2e7706867d7a0d45b139c18e64e0bfc96ffae (diff)
Transparent background of the FabButton, yay!
Diffstat (limited to 'app/src/main')
-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
2 files changed, 4 insertions, 8 deletions
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>