Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- XML
- File row_chat_me.xml
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" >
- <TextView
- android:id="@+id/txt_message_me_time"
- android:layout_height="25dp"
- android:layout_marginTop="3dp"
- style="@style/textView_chat_me"/>
- <TextView
- android:id="@+id/txt_message_me_from"
- android:layout_height="35dp"
- android:layout_below="@+id/txt_message_me_time"
- style="@style/textView_chat_me"/>
- <TextView
- android:id="@+id/txt_message_me_message"
- android:layout_below="@+id/txt_message_me_from"
- android:layout_height="50dp"
- android:layout_marginBottom="3dp"
- style="@style/textView_chat_me"/>
- </RelativeLayout>
- File row_chat_other.xml
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" >
- <TextView
- android:id="@+id/txt_message_others_time"
- android:layout_height="25dp"
- style="@style/textView_chat_others"
- android:layout_marginTop="3dp" />
- <TextView
- android:id="@+id/txt_message_others_from"
- android:layout_height="35dp"
- android:layout_below="@+id/txt_message_others_time"
- style="@style/textView_chat_others" />
- <TextView
- android:id="@+id/txt_message_others_message"
- android:layout_height="50dp"
- style="@style/textView_chat_others"
- android:layout_marginBottom="3dp"
- android:layout_below="@+id/txt_message_others_from" />
- </RelativeLayout>
- File fragment_group.xml
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight=".25"
- android:orientation="horizontal"
- android:id="@+id/listView_regNewGroup" >
- <EditText
- android:id="@+id/txt_group_name"
- android:layout_width="0dp"
- android:layout_weight=".75"
- android:layout_height="match_parent"
- android:background="#CBCBB2"
- android:hint="grupp name" />
- <Button
- android:id="@+id/btn_reg_new_group"
- android:layout_width="0dp"
- android:layout_weight=".25"
- android:layout_height="match_parent"
- android:text="Create new group"
- android:textSize ="15sp"
- android:background="#D7C5E0"
- android:layout_toRightOf="@+id/txt_group_name" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight=".75"
- android:layout_below="@+id/listView_regNewGroup" >
- <ListView
- android:id="@+id/listView_group"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- </LinearLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment