0
下面是按鈕:按鈕blings同時點擊如果背景圖像被添加
<Button
android:id="@+id/button1"
android:layout_width="250dp"
android:layout_height="75dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="39dp"
android:background="@drawable/sam_back" />
當selector
屬性用於它不能被實現,因爲作爲android:background
已用於背景圖像。請幫忙解決這個問題。
@繪製/ sam_back是一個圖像或選擇器?? –
圖片............ – sadab
看到我的答案,它會解決你的概率:) –