|
@@ -23,29 +23,31 @@
|
|
|
android:orientation="horizontal"
|
|
|
android:weightSum="1">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/user_icon"
|
|
|
- android:layout_width="@dimen/user_icon_size"
|
|
|
- android:layout_height="@dimen/user_icon_size"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="@dimen/standard_margin"
|
|
|
- android:src="@drawable/ic_menu_archive"
|
|
|
- />
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/user_icon"
|
|
|
+ android:layout_width="@dimen/user_icon_size"
|
|
|
+ android:layout_height="@dimen/user_icon_size"
|
|
|
+ android:layout_gravity="top|left"
|
|
|
+ android:layout_marginLeft="@dimen/standard_margin"
|
|
|
+ android:layout_marginRight="@dimen/alternate_half_margin"
|
|
|
+ android:layout_marginTop="@dimen/alternate_half_margin"
|
|
|
+ android:layout_marginBottom="@dimen/alternate_half_margin"
|
|
|
+ android:src="@drawable/ic_menu_archive" />
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/ticker"
|
|
|
- android:layout_width="16dp"
|
|
|
- android:layout_height="16dp"
|
|
|
- android:layout_alignRight="@id/icon"
|
|
|
- android:layout_alignEnd="@id/icon"
|
|
|
- android:layout_alignTop="@id/icon"
|
|
|
- android:layout_marginRight="-8dp"
|
|
|
- android:layout_marginEnd="-8dp"
|
|
|
- android:layout_marginTop="-8dp"
|
|
|
- android:src="@drawable/ic_current"
|
|
|
- />
|
|
|
- <!-- drawable will be replaced by ic_current_white + tint in runtime;
|
|
|
- ic_current here as a placeholder -->
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ticker"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/ic_account_circle_white_18dp"
|
|
|
+ android:tint="@color/actionbar_start_color"
|
|
|
+ android:layout_gravity="bottom|right"
|
|
|
+ android:background="@drawable/round_bgnd"/>
|
|
|
+ </FrameLayout >
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/user_name"
|