我有一個Android的活動,我需要畫一個黑色邊框整個活動。我的xml文件的活動是 -繪圖黑色邊框整個活動
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.astuetz.PagerSlidingTabStrip
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="#33B5E5"
android:textColor="#FFFFFF"
/>
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</RelativeLayout>
我該怎麼做?
這個答案似乎是最簡單的,因爲它涉及透支最少。 – Shaishav
我試了...但仍然沒有工作 – Mark023
也許需要填充設爲您的根RelativeLayout的是可見的,因爲你ViewPager是在上面,或者將機器人:背景,viewpager – Chol