0
我有一個問題,以顯示視圖連同/在這樣的RelativeLayout的使用頁面捲曲廣告素材:Android的頁面捲曲,呈現視圖一起頁面捲曲廣告素材成的RelativeLayout
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mainContainer"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<com.harism.customview.curlview.CurlView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/curl"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible" >
</com.harism.customview.curlview.CurlView>
<RelativeLayout
android:id="@+id/img"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_centerInParent="true"
android:background="@drawable/img"
android:visibility="invisible" >
</RelativeLayout>
</RelativeLayout>
我添加了一個回調,使底部的RelativeLayout可見(@ + ID/IMG「)時,頁面被更改。不會立即顯示的RelativeLayout的,但如果我把後臺的應用程序,然後將其還原相對佈局變得可見。 我換句話說,我可以」 T成爲可見的圖像編程。
任何人都可以幫我嗎?
在此先感謝。