我試圖將兩個imageviews頂部放置一個圖像部分 -Android的 - 對其他
<ImageView
android:id="@+id/ivLogo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:focusable="true"
android:layout_marginTop="20dp"
/>
<ImageView
android:id="@+id/ivAction"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="110dp"
android:layout_centerHorizontal="true"
android:focusable="true"
/>
有圖像之間存在一些重疊。
動作圖像與徽標重疊。
這是預期的行爲,因爲它們在屏幕上都有一些共同的空間。
動作圖像的頂部出現在徽標的頂部,而我希望徽標的底部出現在動作圖像的頂部。
發生了什麼 - 行動是在上面
-
需要什麼 - 行動應該去後臺
我會非常感謝幫幫我。
真的很有用....標記爲答案... – Anukool 2013-03-26 08:34:04