我的问题和尝试过的方法
想要达到一种imageView在一个输入框边角之上的UI设计,而且image是可点击的。
想要达到一种imageView在一个输入框边角之上的UI设计,而且image是可点击的。
最外层用RelativeLayout相对布局
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="100dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black" />
<TextView
android:layout_width="@dimen/dp_40"
android:layout_height="@dimen/dp_40"
android:background="@android:color/white" />
</RelativeLayout>