私は生成する必要があるレイアウトのイメージを表示しています。私はアンドロイドの開発に新しいです。これについてもXMLをリストしています... TextViewとWebViewを修正することはできますが、私のボタンを左側に修正することができるのは、私が必要とする追加とXMLファイルのどこにあるかを示唆するものです。事前にAndroidでXMLレイアウトを修正するには?
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<TextView
android:id="@+id/txtItem1"
android:text="ITEM"
android:layout_width="fill_parent"
android:layout_height="50dip"
android:textColor="#009966"
android:background="@drawable/txtbackground"
/>
<!-- WebView -->
<LinearLayout android:id="@+id/thumbnail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="3dip"
android:layout_alignParentLeft="true"
android:background="@drawable/image_bg"
android:layout_marginTop="50dip"
>
<WebView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/webkit"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
/>
</LinearLayout>
</RelativeLayout>
感謝。
こんにちは、コードを手配しましょう。 –