0
我有沿着活動視圖的右側平鋪圖像的方法嗎?我擁有的圖像是小而方形的。沿着活動右側的平鋪圖像
我知道你可以平鋪這樣整個活動視圖:
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/actual_pattern_image"
android:tileMode="repeat" />
,但有什麼辦法來約束它?讓它只是在右邊的另一個下面貼一個圖像?
我知道我可以做這樣的事情:
android:layout_marginTop="5dip"
android:layout_marginBottom="5dip"
,只是不斷增加幅度爲我下面添加另一個ImageView的。這種方法唯一的擔憂是當滑動條進入畫面時。這顯然是一個非常靜態的方法...
只是擡起頭 - 很新的Android開發...