summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2015-05-05 11:28:01 +0200
committerParménides GV <parmegv@sdf.org>2015-05-05 11:28:01 +0200
commit6d2e86277cdf02d3c731d963656e2c4a0f8fea5f (patch)
treebec56537f6e7a32d3859b9c1b5e5477009c8e1f7 /app/src/main/res/layout
parentff679b7f20700cec2c08cb8026c585b47df3612f (diff)
Rename user session fragment, add icon resource.
The FabButton doesn't scale the icon as big as I want it to be, and it doesn't let me set the size to "wrap_content" because the library sets the sizes to match_parent. I'm going to try to modify my fork of FabButton to see if I can obtain what I want in its demo: just an icon and the progress indicator, the icon as big as possible.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/user_session_fragment.xml (renamed from app/src/main/res/layout/fragment_user_session.xml)5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/src/main/res/layout/fragment_user_session.xml b/app/src/main/res/layout/user_session_fragment.xml
index 5194e495..18eda6d9 100644
--- a/app/src/main/res/layout/fragment_user_session.xml
+++ b/app/src/main/res/layout/user_session_fragment.xml
@@ -33,11 +33,10 @@
<view
android:id="@+id/user.status.icon"
android:layout_width="32dp"
- android:layout_height="32dp"
android:layout_marginLeft="9dp"
android:layout_marginStart="9dp"
- android:background="@android:color/transparent"
- android:color="@android:color/holo_blue_dark"
+ android:src="@drawable/ic_account_circle"
+ android:color="@android:color/transparent"
class="mbanje.kurt.fabbutton.FabButton"
android:layout_gravity="center"
android:visibility="visible"