那个自定义控件自己写一个不难吧。。下面那个应该是布局用的RelationLayout或者Framlayout之类的吧。。让它处于整个布局下面就行了啊
可以写成悬浮的view
自己写一个不就完了。。。。。点右边++点左边--
<?xml version="1.0" encoding="utf-8"?>
android:shape="rectangle" >
<!-- 填充颜色 -->
<solid android:color="#ffffff" >
</solid>
<stroke
android:width="0.5dip"
android:color="#757575" />
<!-- 矩形的圆角半径 -->
<corners
android:bottomLeftRadius="3dip"
android:bottomRightRadius="3dip"
android:topLeftRadius="3dip"
android:topRightRadius="3dip" />
<LinearLayout
android:layout_width="160dp"
android:layout_height="40dp"
android:background="@drawable/feedback_edite_bg"
android:orientation="horizontal" >
<RelativeLayout
android:layout_width="40dp"
android:layout_height="match_parent"
android:padding="10dp" >
<!-- 减的图片 -->
<ImageButton
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/search_history_add_d" />
</RelativeLayout>
<ImageView
android:layout_width="0.5dp"
android:layout_height="match_parent"
android:background="#757575" />
<RelativeLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1" >
<!-- 显示的数量 -->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="3"
android:textSize="27sp" />
</RelativeLayout>
<ImageView
android:layout_width="0.5dp"
android:layout_height="match_parent"
android:background="#757575" />
<RelativeLayout
android:layout_width="40dp"
android:layout_height="match_parent"
android:padding="10dp" >
<!-- 加的图片 -->
<ImageButton
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/search_history_add_p" />
</RelativeLayout>
</LinearLayout>
android:background="@drawable/feedback_edite_bg"
指的是:
<?xml version="1.0" encoding="utf-8"?>
android:shape="rectangle" >
<!-- 填充颜色 -->
<solid android:color="#ffffff" >
</solid>
<stroke
android:width="0.5dip"
android:color="#757575" />
<!-- 矩形的圆角半径 -->
<corners
android:bottomLeftRadius="3dip"
android:bottomRightRadius="3dip"
android:topLeftRadius="3dip"
android:topRightRadius="3dip" />