android - This LinearLayout layout or its FrameLayout parent is useless -


i'm new @ this. me resolve warning. thanks.

    <linearlayout         android:layout_width="match_parent"         android:layout_height="match_parent"          android:layout_marginleft="6dp"         android:layout_marginright="6dp"         android:layout_margintop="4dp"         android:layout_marginbottom="4dp"         android:padding="0dp"         android:orientation="vertical"         android:background="@drawable/background_card">      <textview         android:id="@+id/txtproductdescription"         android:layout_margintop="4dp"         android:layout_width="match_parent"         android:padding="6dp"         android:layout_height="wrap_content"         android:gravity="center"         android:text=""         android:textappearance="?android:attr/textappearancelarge"         android:fontfamily="sans-serif-light"/>  <relativelayout     android:id="@+id/relativelayout3"     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:layout_margintop="4dp"     android:background="#40af40"     android:padding="6dp" >      <textview         android:id="@+id/txtofferbig"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:layout_alignparentleft="true"    </linearlayout>      

how can fix following error?

warning:consider replacing android:layout_torightof android:layout_toendof="@id/txtofferbig" better support
right-to-left layouts

if simple warnings don't mind then. not effect build.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -