NekoX/TMessagesProj/src/main/res/layout/popup_notification_layout.xml

167 lines
7.4 KiB
XML

<org.telegram.ui.Views.SizeNotifierRelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="top"
android:background="#99000000"
android:id="@+id/chat_layout">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="240dp"
android:background="#ffffffff"
android:layout_centerInParent="true"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:id="@+id/popup_container">
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_alignParentBottom="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:id="@+id/chat_compose_panel"
android:background="@drawable/compose_panel"
android:orientation="horizontal">
<org.telegram.ui.Views.FrameLayoutFixed
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_weight="1">
<ImageView
android:src="@drawable/ic_msg_panel_smiles"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginTop="2dp"
android:paddingTop="1dp"
android:paddingLeft="4dp"
android:scaleType="centerInside"
android:layout_gravity="bottom"
android:id="@+id/chat_smile_button"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:id="@+id/chat_text_edit"
android:maxLines="4"
android:textSize="18dp"
android:textColorHint="#b2b2b2"
android:imeOptions="flagNoExtractUi"
android:inputType="textCapSentences|textMultiLine"
android:maxLength="16384"
android:gravity="bottom"
android:layout_marginLeft="52dp"
android:layout_marginRight="2dp"
android:background="@null"
android:paddingBottom="12dp"
android:paddingTop="11dp"
android:textCursorDrawable="@null"
android:textColor="#000000"/>
<org.telegram.ui.Views.FrameLayoutFixed
android:layout_height="48dp"
android:layout_width="fill_parent"
android:layout_marginTop="2dp"
android:layout_gravity="bottom"
android:background="#ffffff"
android:id="@+id/record_panel"
android:visibility="gone">
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="30dp"
android:orientation="horizontal"
android:id="@+id/slideText">
<ImageView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:src="@drawable/slidearrow"
android:layout_gravity="center_vertical"
android:layout_marginTop="1dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#999999"
android:textSize="12dp"
android:layout_marginLeft="6dp"
android:id="@+id/slideToCancelTextView"
android:layout_gravity="center_vertical"/>
</LinearLayout>
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_gravity="center_vertical"
android:paddingLeft="13dp"
android:orientation="horizontal"
android:background="#ffffffff">
<ImageView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:src="@drawable/rec"
android:layout_gravity="center_vertical"
android:layout_marginTop="1dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/recording_time_text"
android:text="00:00"
android:textColor="#4d4c4b"
android:textSize="16dp"
android:layout_gravity="center_vertical"
android:layout_marginLeft="6dp"/>
</LinearLayout>
</org.telegram.ui.Views.FrameLayoutFixed>
</org.telegram.ui.Views.FrameLayoutFixed>
<FrameLayout
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="bottom"
android:layout_marginTop="2dp">
<ImageButton
android:layout_width="48dp"
android:layout_height="48dp"
android:scaleType="centerInside"
android:id="@+id/chat_audio_send_button"
android:enabled="false"
android:src="@drawable/mic_button_states"
android:paddingRight="4dp"
android:background="@android:color/white"/>
<ImageButton
android:layout_width="48dp"
android:layout_height="48dp"
android:scaleType="centerInside"
android:id="@+id/chat_send_button"
android:enabled="false"
android:src="@drawable/ic_send"
android:background="@android:color/transparent"/>
</FrameLayout>
</LinearLayout>
</RelativeLayout>
</RelativeLayout>
</org.telegram.ui.Views.SizeNotifierRelativeLayout>