 |
|
|  |
|
 |
10년 전 |
웹뷰..Relativelayout의 가로 세로도 match_parent로 해줘야 에러가 안남.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="350dp"
android:layout_height="500dp"
android:layout_gravity="center"
android:background="@drawable/indicator_bg_bottom"
android:orientation="vertical" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<WebView
android:id="@+id/webView_ma"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/menu" />
<include
android:id="@+id/menu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_weight="1"
layout="@layout/popup_button"
android:gravity="bottom" />
</RelativeLayout>
</LinearLayout> |
|
추천 : 411 |
추천
목록
|
|
|  |
|