-2
裏面我有一個XML文件喜歡 -設置在頂部的LinearLayout,同時滾動這是滾動型
<ScrollView>
<LinearLayout>
<RelativeLayout>
<ImageView />
<----more components--->
</RelativeLayout>
<LinearLayout
android:id="@+id/llSomeLayout">
<----components--->
</LinearLayout>
</LinearLayout>
</ScrollView>
我想什麼是 - >當的LinearLayout ID爲@ + ID/llSomeLayout從上面到達頂部,希望阻止佈局從視圖中移出,或者希望在視圖之外顯示類似的視圖/佈局。 我應該遵循什麼機制來實現?
我得到了答案,但我可以來了解請爲什麼我下投票? – Exigente05