スワイプ後にいくつかのフラグメントを表示するAndroidアプリがあります。
2番目のフラグメントレイアウトのtextViewが正しく表示されていません。
私はhierarchyviewerでレイアウトの視覚化を行いました。
2番目のレイアウトでは、フレームが右側に表示されているのを確認してください。これを修正するにはどうすればよいですか。
これは私のxmlです
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/gray_background">
<com.egoclean.android.widget.flinger.ViewFlinger
android:id="@+id/flinger"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dip"
android:text="1. HOW TO PREPARE THE SKIN"
android:textColor="#da002e" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dip"
android:textColor="#333333"
android:text="@string/taping_prepare"/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="15dip"
android:textColor="#da002e"
android:text="2. WHERE TO APPLY THE TAPeE" />
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="15dip"
android:textColor="#da002e"
android:text="2. WHERE TO APPLY THE TAPeE" />
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="15dip"
android:textColor="#da002e"
android:text="3. HOW TIGHT TO TAPE" />
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="15dip"
android:textColor="#da002e"
android:text="2. WHERE TO APPLY THE TAPeE" />
</LinearLayout>
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="15dip"
android:textColor="#da002e"
android:text="4. HOW MUCH TAPE TO APPLY" />
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="15dip"
android:textColor="#da002e"
android:text="5. WHEN TO REMOVE THE TAPE" />
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="15dip"
android:textColor="#da002e"
android:text="6. HOW TO REMOVE THE TAPE" />
</com.egoclean.android.widget.flinger.ViewFlinger>
</LinearLayout>
だから、これを修正する方法を教えてください?
どうもありがとう!