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