following is the layout xml file. here i used <include> tag. in that the layout="@layout/player_view" , player_view is another xml file that contains a seat with avatar, 2cards and player name and bet amount.
i need 2 seats like that so i used <include> 2 times and it is showing in screen fine. my problem is how to access the views in the player_view to give different names to players and to show different cards for each seat.i didn't find any where how to do that. is it possible.. am i in right way.. if this is wrong what is the right way.. please suggest me. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/game_background"> <AbsoluteLayout android:id="@+id/game_table" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="30dip" android:background="@drawable/game_table" > <include android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:layout_x="140dip" android:layout_y="140dip" android:id="@+id/box" layout="@layout/player_view"></include> <include android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_x="140dip" android:layout_y="10dip" android:id="@+id/box1" layout="@layout/player_view"></include> </AbsoluteLayout> </LinearLayout> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

