| 5 | android:layout_gravity="top" |
| 6 | android:background="#99000000" |
| 7 | android:id="@+id/chat_layout"> |
| 8 |
| 9 | <RelativeLayout |
| 10 | android:layout_width="match_parent" |
| 11 | android:layout_height="match_parent"> |
| 12 |
| 13 | <RelativeLayout |
| 14 | android:layout_width="match_parent" |
| 15 | android:layout_height="240dp" |
| 16 | android:background="#ffffffff" |
| 17 | android:layout_centerInParent="true" |
| 18 | android:layout_marginLeft="12dp" |
| 19 | android:layout_marginRight="12dp" |
| 20 | android:id="@+id/popup_container"> |
| 21 |
| 22 | <RelativeLayout |
| 23 | android:layout_width="match_parent" |
| 24 | android:layout_height="wrap_content" |
| 25 | android:id="@+id/chat_compose_panel" |
| 26 | android:background="@drawable/compose_panel" |
| 27 | android:focusable="true" |
| 28 | android:focusableInTouchMode="true" |
| 29 | android:gravity="bottom" |
| 30 | android:layout_alignParentBottom="true"> |
| 31 |
| 32 | <ImageView |
| 33 | android:src="@drawable/ic_msg_panel_smiles" |
| 34 | android:layout_width="48dp" |
| 35 | android:layout_height="48dp" |
| 36 | android:layout_marginTop="2dp" |
| 37 | android:paddingTop="1dp" |
| 38 | android:scaleType="centerInside" |
| 39 | android:paddingLeft="4dp" |
| 40 | android:id="@+id/chat_smile_button" |
| 41 | android:layout_alignBottom="@+id/chat_text_edit"/> |
| 42 |
| 43 | <ImageButton |
| 44 | android:layout_width="48dp" |
| 45 | android:layout_height="48dp" |
| 46 | android:layout_marginTop="2dp" |
| 47 | android:scaleType="centerInside" |
| 48 | android:id="@+id/chat_send_button" |
| 49 | android:layout_alignParentRight="true" |
| 50 | android:layout_alignBottom="@+id/chat_text_edit" |
| 51 | android:enabled="false" |
| 52 | android:src="@drawable/ic_send" |
| 53 | android:background="@android:color/transparent"/> |
| 54 |
| 55 | <EditText |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="wrap_content" |
| 58 | android:id="@+id/chat_text_edit" |
| 59 | android:layout_toRightOf="@id/chat_smile_button" |
| 60 | android:layout_toLeftOf="@id/chat_send_button" |
| 61 | android:layout_marginTop="2dp" |
| 62 | android:maxLines="2" |
| 63 | android:minHeight="48dp" |
| 64 | android:textSize="18dp" |
| 65 | android:textColorHint="#909090" |
| 66 | android:ems="10" |
| 67 | android:inputType="textCapSentences|textMultiLine" |
| 68 | android:layout_alignParentTop="true" |
| 69 | android:paddingBottom="12dp" |
| 70 | android:maxLength="16384" |
| 71 | android:textCursorDrawable="@null" |
| 72 | android:textColor="#000000"/> |
| 73 |
| 74 | <org.telegram.ui.Views.FrameLayoutFixed |
| 75 | android:layout_height="48dp" |
| 76 | android:layout_width="fill_parent" |
| 77 | android:layout_marginTop="2dp" |
| 78 | android:layout_marginRight="48dp" |
| 79 | android:background="#ffffff" |
| 80 | android:id="@+id/record_panel" |
| 81 | android:visibility="gone"> |
| 82 |
| 83 | <LinearLayout |
| 84 | android:layout_height="wrap_content" |
| 85 | android:layout_width="wrap_content" |
| 86 | android:layout_gravity="center" |
| 87 | android:layout_marginLeft="30dp" |
| 88 | android:orientation="horizontal" |
| 89 | android:id="@+id/slideText"> |
| 90 |
| 91 | <ImageView |
| 92 | android:layout_height="wrap_content" |
| 93 | android:layout_width="wrap_content" |
| 94 | android:src="@drawable/slidearrow" |
| 95 | android:layout_gravity="center_vertical" |
| 96 | android:layout_marginTop="1dp"/> |
| 97 |
| 98 | <TextView |
| 99 | android:layout_width="wrap_content" |
| 100 | android:layout_height="wrap_content" |
| 101 | android:textColor="#999999" |
| 102 | android:textSize="12dp" |
| 103 | android:layout_marginLeft="6dp" |
| 104 | android:id="@+id/slideToCancelTextView" |
| 105 | android:layout_gravity="center_vertical"/> |
| 106 |
| 107 | </LinearLayout> |
| 108 |
| 109 | <LinearLayout |
| 110 | android:layout_height="wrap_content" |
| 111 | android:layout_width="wrap_content" |
| 112 | android:layout_gravity="center_vertical" |
| 113 | android:paddingLeft="13dp" |
| 114 | android:orientation="horizontal" |
| 115 | android:background="#ffffffff"> |
| 116 |
| 117 | <ImageView |
| 118 | android:layout_height="wrap_content" |
| 119 | android:layout_width="wrap_content" |
| 120 | android:src="@drawable/rec" |
| 121 | android:layout_gravity="center_vertical" |
| 122 | android:layout_marginTop="1dp"/> |
| 123 |
| 124 | <TextView |
| 125 | android:layout_width="wrap_content" |
| 126 | android:layout_height="wrap_content" |
| 127 | android:id="@+id/recording_time_text" |
| 128 | android:text="00:00" |
| 129 | android:textColor="#4d4c4b" |
| 130 | android:textSize="16dp" |
| 131 | android:layout_gravity="center_vertical" |
| 132 | android:layout_marginLeft="6dp"/> |
| 133 |
| 134 | </LinearLayout> |
| 135 |
| 136 | </org.telegram.ui.Views.FrameLayoutFixed> |
| 137 |
| 138 | <ImageButton |
| 139 | android:layout_width="48dp" |
| 140 | android:layout_height="48dp" |
| 141 | android:layout_marginTop="2dp" |
| 142 | android:scaleType="centerInside" |
| 143 | android:id="@+id/chat_audio_send_button" |
| 144 | android:layout_alignParentRight="true" |
| 145 | android:layout_alignBottom="@+id/chat_text_edit" |
| 146 | android:enabled="false" |
| 147 | android:src="@drawable/mic_button_states" |
| 148 | android:paddingRight="4dp" |
| 149 | android:background="@android:color/white"/> |
| 150 |
| 151 | </RelativeLayout> |
| 152 |
| 153 | </RelativeLayout> |
| 154 |
| 155 | </RelativeLayout> |
| 156 |
| 157 | </org.telegram.ui.Views.SizeNotifierRelativeLayout> |