summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2015-05-29 10:33:51 +0200
committerParménides GV <parmegv@sdf.org>2015-05-29 10:33:51 +0200
commitde63a99c74bb05c271b0c7a5903b6bfab9ec0a5b (patch)
treeca3f0d32839c63efd26a7b7af7b5dc0bbd029907 /app/src/main/res
parent6d2e86277cdf02d3c731d963656e2c4a0f8fea5f (diff)
Updated libraries, simplified user status fragment
Updated butterknife, dagger, renderers, fabbuton and gson, as well as gradle plugin.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/user_session_fragment.xml48
1 files changed, 20 insertions, 28 deletions
diff --git a/app/src/main/res/layout/user_session_fragment.xml b/app/src/main/res/layout/user_session_fragment.xml
index 18eda6d9..30068381 100644
--- a/app/src/main/res/layout/user_session_fragment.xml
+++ b/app/src/main/res/layout/user_session_fragment.xml
@@ -12,40 +12,32 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
- android:layout_marginRight="20dp"
+ android:layout_marginRight="15dp"
android:layout_marginEnd="20dp"
android:textSize="20sp"
android:text="@string/default_username"
android:textAppearance="?android:attr/textAppearanceMedium"/>
- <LinearLayout
- android:id="@+id/user.status.buttonAndIcon"
+ <Button
+ android:id="@+id/user.status.button"
android:layout_width="wrap_content"
- android:layout_height="wrap_content">
-
- <Button
- android:id="@+id/user.status.button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="14sp"
- />
+ android:layout_height="wrap_content"
+ android:textSize="14sp"
+ />
- <view
- android:id="@+id/user.status.icon"
- android:layout_width="32dp"
- android:layout_marginLeft="9dp"
- android:layout_marginStart="9dp"
- android:src="@drawable/ic_account_circle"
- android:color="@android:color/transparent"
- class="mbanje.kurt.fabbutton.FabButton"
- android:layout_gravity="center"
- android:visibility="visible"
- android:indeterminate="true"
- android:max="100"
- fbb_autoStart="true"
- fbb_progressColor="#ff170aff"
- fbb_progressWidthRatio="0.1"
- />
+ <view
+ android:id="@+id/user.status.icon"
+ android:layout_width="50dp"
+ android:layout_height="50dp"
+ android:layout_marginLeft="9dp"
+ android:layout_marginStart="9dp"
+ android:shadowRadius="0"
+ android:src="@drawable/ic_account_circle"
+ 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"
+ />
- </LinearLayout>
</LinearLayout>