|
@@ -6,76 +6,143 @@
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_menu"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="56dp"
|
|
|
android:background="@drawable/jmfloat_bg"
|
|
|
- android:paddingRight="12dp"
|
|
|
android:gravity="center"
|
|
|
android:orientation="horizontal"
|
|
|
+ android:paddingLeft="56dp"
|
|
|
+ android:paddingRight="12dp"
|
|
|
android:visibility="gone"
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <FrameLayout
|
|
|
android:id="@+id/tv_account"
|
|
|
android:layout_width="45dp"
|
|
|
android:layout_height="45dp"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical" >
|
|
|
+ android:layout_marginTop="2dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/jm_float_icon_size"
|
|
|
+ android:layout_height="@dimen/jm_float_icon_size"
|
|
|
+ android:src="@drawable/jm_float_user" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/float_user_msg"
|
|
|
+ android:textColor="@color/jmfont_blues"
|
|
|
+ android:textSize="12sp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_width="@dimen/jm_float_icon_size"
|
|
|
- android:layout_height="@dimen/jm_float_icon_size"
|
|
|
- android:background="@drawable/jm_user" />
|
|
|
+ android:id="@+id/account_tip"
|
|
|
+ android:layout_width="@dimen/jm_float_tip_size"
|
|
|
+ android:layout_height="@dimen/jm_float_tip_size"
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:src="@drawable/jm_message_tip"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="@string/float_user_msg"
|
|
|
- android:textSize="12sp"
|
|
|
- android:textColor="@color/jmfont_blues" />
|
|
|
- </LinearLayout>
|
|
|
- <ImageView
|
|
|
- android:layout_width="2dp"
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/tv_gift_line"
|
|
|
+ android:layout_width="2dp"
|
|
|
android:layout_height="35dp"
|
|
|
- android:background="@drawable/jm_interval"
|
|
|
- />
|
|
|
+ android:src="@drawable/jm_interval" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/tv_gift"
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:layout_marginTop="2dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/jm_float_icon_size"
|
|
|
+ android:layout_height="@dimen/jm_float_icon_size"
|
|
|
+ android:src="@drawable/jm_float_gift" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/float_gift"
|
|
|
+ android:textColor="@color/jmfont_blues"
|
|
|
+ android:textSize="12sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/gift_tip"
|
|
|
+ android:layout_width="@dimen/jm_float_tip_size"
|
|
|
+ android:layout_height="@dimen/jm_float_tip_size"
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:src="@drawable/jm_message_tip"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/tv_kefu_line"
|
|
|
+ android:layout_width="2dp"
|
|
|
+ android:layout_height="35dp"
|
|
|
+ android:src="@drawable/jm_interval" />
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:id="@+id/tv_kefu"
|
|
|
android:layout_width="45dp"
|
|
|
android:layout_height="45dp"
|
|
|
android:layout_marginTop="2dp"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical" >
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<ImageView
|
|
|
android:layout_width="@dimen/jm_float_icon_size"
|
|
|
android:layout_height="@dimen/jm_float_icon_size"
|
|
|
- android:background="@drawable/jm_kefu" />
|
|
|
+ android:src="@drawable/jm_float_service" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="@string/float_kefu_msg"
|
|
|
- android:textSize="12sp"
|
|
|
- android:textColor="@color/jmfont_blues" />
|
|
|
+ android:textColor="@color/jmfont_blues"
|
|
|
+ android:textSize="12sp" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
<FrameLayout
|
|
|
android:id="@+id/float_view"
|
|
|
- android:layout_width="56dp"
|
|
|
+ android:layout_width="30dp"
|
|
|
android:layout_height="56dp"
|
|
|
+ android:padding="2dp"
|
|
|
tools:visibility="gone">
|
|
|
-
|
|
|
<ImageView
|
|
|
android:id="@+id/float_view_icon_imageView"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="left|center_vertical"
|
|
|
- android:padding="2dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:layout_gravity="start|center_vertical"
|
|
|
android:scaleType="fitStart"
|
|
|
android:src="@drawable/jm_float" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/icon_tip"
|
|
|
+ android:layout_width="@dimen/jm_float_tip_size"
|
|
|
+ android:layout_height="@dimen/jm_float_tip_size"
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_marginRight="2dp"
|
|
|
+ android:src="@drawable/jm_message_tip"
|
|
|
+ android:visibility="gone"/>
|
|
|
</FrameLayout>
|
|
|
|
|
|
</FrameLayout>
|