我在那個應用程序中創建一個應用程序我想隱藏這個先生bla bla兩行當我點擊聊天圖像時。如何在Android的列表視圖中的隱形線Honey honey
任何建議將appriciate。
在此先感謝。
這是我的xml文件。
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/task_list_frag_list_message_layout"
android:background="#EBEBEB"
android:layout_marginBottom="10dp"
android:descendantFocusability ="blocksDescendants"
android:layout_marginTop="10dp"
android:layout_below="@+id/task_list_text"
android:layout_marginLeft="80dp"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/task_list_chat_persion1"
android:text="Mr. Test : "
android:textSize="18dp"
android:layout_marginTop="13dp"
android:textColor="@color/sky_blue_color"
/>
<TextView android:textColor="@color/black_color"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/task_list_chat_text1"
android:text="A send you a data file kindly get it."
android:textSize="18dp"
android:layout_marginTop="13dp"
android:layout_toRightOf="@+id/task_list_chat_persion1"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/task_list_chat_persion2"
android:text="Mr. me : "
android:textSize="18dp"
android:layout_marginTop="13dp"
android:layout_below="@+id/task_list_chat_persion1"
android:textColor="@color/sky_blue_color"
/>
<TextView android:textColor="@color/black_color"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/task_list_chat_text2"
android:text="I got the data file and i have some doubt in them"
android:textSize="18dp"
android:layout_marginTop="13dp"
android:layout_below="@+id/task_list_chat_persion1"
android:layout_toRightOf="@+id/task_list_chat_persion2"
/>
</RelativeLayout>
這兩條線是ij相對拉脫維亞線。
can I GONE or INVISIBLE whole relative layout? – Siten