2017-09-25 15 views

答えて

0

あなたはすぐに1人の子供を持つトップを持つことができます。今、トップレイアウト使用中の背景透明とパディングとレイアウトのみ私のために

<RelativeLayout 
      xmlns:android="http://schemas.android.com/apk/res/android" 
      xmlns:app="http://schemas.android.com/apk/res-auto" 
      android:id="@+id/parent_view" 
      android:layout_width="match_parent" 
      android:layout_height="wrap_content" 
      android:background="@color/transparent" 
      android:paddingLeft="20dp" 
      android:paddingRight="20dp" 
      android:paddingBottom="20dp"> 
    <FrameLayout> 
     Content here 
    </FrameLayout></RelativeLayout> 

作品内のコンテンツを持っています。

関連する問題