Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  fragment_compose_message.xml

  Sprache: XML
 

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/compose_root"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="?android:attr/colorBackground">

    <ImageView
        android:id="@+id/wallpaper_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:importantForAccessibility="no"
        android:scaleType="centerCrop"
        android:visibility="gone" />

    <FrameLayout
        android:id="@+id/inset_padding_container"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <androidx.constraintlayout.widget.ConstraintLayout
            android:id="@+id/conversation_parent"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <ch.threema.app.ui.OngoingCallNoticeView
                android:id="@+id/ongoing_call_notice"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:animateLayoutChanges="true"
                android:background="@android:color/transparent"
                android:clipToPadding="false"
                android:visibility="gone"
                app:layout_constraintLeft_toLeftOf="parent"
                app:layout_constraintRight_toRightOf="parent"
                app:layout_constraintTop_toTopOf="parent" />

            <ch.threema.app.ui.OpenBallotNoticeView
                android:id="@+id/open_ballots_layout"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:animateLayoutChanges="true"
                android:paddingTop="@dimen/notice_views_vertical_margin"
                android:paddingBottom="@dimen/notice_views_vertical_margin"
                android:visibility="gone"
                app:layout_constraintLeft_toLeftOf="parent"
                app:layout_constraintRight_toRightOf="parent"
                app:layout_constraintTop_toBottomOf="@id/ongoing_call_notice"
                tools:visibility="visible" />

            <ch.threema.app.ui.ReportSpamView
                android:id="@+id/report_spam_layout"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:animateLayoutChanges="true"
                android:paddingTop="@dimen/notice_views_vertical_margin"
                android:paddingBottom="@dimen/notice_views_vertical_margin"
                android:visibility="gone"
                app:layout_constraintLeft_toLeftOf="parent"
                app:layout_constraintRight_toRightOf="parent"
                app:layout_constraintTop_toBottomOf="@id/open_ballots_layout" />

            <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
                android:id="@+id/ptr_layout"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_weight="1.0"
                app:layout_constraintBottom_toTopOf="@id/bottom_container"
                app:layout_constraintLeft_toLeftOf="parent"
                app:layout_constraintRight_toRightOf="parent"
                app:layout_constraintTop_toBottomOf="@id/report_spam_layout">

                <FrameLayout
                    android:id="@+id/history_parent"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">

                    <ch.threema.app.ui.ConversationListView
                        android:id="@+id/history"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:animateLayoutChanges="true"
                        android:cacheColorHint="@android:color/white"
                        android:choiceMode="singleChoice"
                        android:fadeScrollbars="true"
                        android:fadingEdge="none"
                        android:listSelector="@android:color/transparent"
                        android:paddingTop="5dp"
                        android:scrollbarAlwaysDrawVerticalTrack="false"
                        android:scrollbarSize="@dimen/scrollbar_size"
                        android:scrollbarStyle="insideOverlay"
                        android:smoothScrollbar="true"
                        android:stackFromBottom="true"
                        android:transcriptMode="normal"
                        android:visibility="visible" />

                    <FrameLayout
                        android:id="@+id/date_separator_container"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:clipToPadding="false"
                        android:gravity="top|center_horizontal"
                        android:paddingLeft="3dp"
                        android:paddingTop="5dp"
                        android:paddingRight="3dp"
                        android:paddingBottom="3dp"
                        android:visibility="gone">

                        <include layout="@layout/date_separator_elevated" />
                    </FrameLayout>

                    <com.google.android.material.button.MaterialButton
                        android:id="@+id/quickscroll_top"
                        style="@style/Threema.MaterialButton.Icon.Circle.Filled"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="right|top"
                        android:layout_marginTop="8dp"
                        android:layout_marginRight="8dp"
                        android:contentDescription="@string/scroll_to_top"
                        android:visibility="gone"
                        app:backgroundTint="?attr/colorPrimary"
                        app:elevation="8dp"
                        app:icon="@drawable/ic_arrow_upward"
                        app:iconTint="?attr/colorOnPrimary"
                        tools:visibility="visible" />

                    <FrameLayout
                        android:id="@+id/quickscroll_bottom_container"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="right|bottom"
                        android:clickable="false"
                        android:focusable="false"
                        android:visibility="gone">

                        <com.google.android.material.button.MaterialButton
                            android:id="@+id/quickscroll_bottom"
                            style="@style/Threema.MaterialButton.Icon.Circle.Filled"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="24dp"
                            android:layout_marginTop="4dp"
                            android:layout_marginRight="8dp"
                            android:layout_marginBottom="8dp"
                            android:contentDescription="@string/scroll_to_bottom"
                            app:backgroundTint="?attr/colorPrimary"
                            app:elevation="8dp"
                            app:icon="@drawable/ic_arrow_downward"
                            app:iconTint="?attr/colorOnPrimary" />

                    </FrameLayout>

                </FrameLayout>

            </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

            <View
                android:id="@+id/dim_background"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:background="@color/transparent_activity_overlay_darker"
                android:visibility="gone"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintLeft_toLeftOf="parent"
                app:layout_constraintRight_toRightOf="parent"
                app:layout_constraintTop_toTopOf="parent" />

            <androidx.core.widget.NestedScrollView
                android:id="@+id/edit_message_bubble_container"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:fillViewport="true"
                android:visibility="gone"
                app:layout_constraintBottom_toTopOf="@id/bottom_container"
                app:layout_constraintLeft_toLeftOf="parent"
                app:layout_constraintRight_toRightOf="parent"
                app:layout_constraintTop_toTopOf="parent">

                <androidx.constraintlayout.widget.ConstraintLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">

                    <androidx.compose.ui.platform.ComposeView
                        android:id="@+id/edit_message_bubble_compose_view"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="@dimen/chat_bubble_container_padding_left_right"
                        android:layout_marginTop="@dimen/chat_bubble_container_padding_bottom"
                        android:layout_marginRight="@dimen/chat_bubble_container_padding_left_right"
                        android:layout_marginBottom="@dimen/chat_bubble_container_padding_bottom"
                        app:layout_constrainedHeight="true"
                        app:layout_constraintBottom_toBottomOf="parent"
                        app:layout_constraintLeft_toLeftOf="parent"
                        app:layout_constraintRight_toRightOf="parent"
                        app:layout_constraintTop_toTopOf="parent"
                        app:layout_constraintVertical_bias="1" />

                </androidx.constraintlayout.widget.ConstraintLayout>

            </androidx.core.widget.NestedScrollView>

            <LinearLayout
                android:id="@+id/bottom_container"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintLeft_toLeftOf="parent"
                app:layout_constraintRight_toRightOf="parent">

                <FrameLayout
                    android:id="@+id/bottom_panel"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:elevation="0dp"
                    android:paddingHorizontal="@dimen/compose_bottom_panel_padding_horizontal"
                    android:paddingTop="@dimen/compose_bottom_panel_padding_top"
                    android:paddingBottom="@dimen/compose_bottom_panel_padding_bottom">

                    <com.google.android.material.textfield.TextInputLayout
                        android:id="@+id/textinputlayout_compose"
                        style="@style/Threema.TextInputLayout.Compose"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_gravity="bottom"
                        android:layout_marginRight="56dp">

                        <ch.threema.app.ui.ContentCommitComposeEditText
                            android:id="@+id/embedded_text_editor"
                            style="@style/Threema.EditText.Compose"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:ellipsize="end"
                            android:hint="@string/compose_message_and_enter"
                            android:maxLength="@integer/message_edittext_max_length"
                            android:maxLines="@integer/message_edittext_max_lines"
                            android:minHeight="@dimen/input_text_height"
                            android:nextFocusLeft="@+id/emoji_button"
                            android:nextFocusRight="@+id/camera_button"
                            android:paddingLeft="@dimen/emoji_button_width"
                            android:paddingTop="3dp"
                            android:paddingRight="@dimen/emoji_and_photo_button_width"
                            android:paddingBottom="4dp"
                            android:scrollbars="none"
                            android:scrollHorizontally="false"
                            android:textSize="?attr/font_textentry">

                            <requestFocus />
                        </ch.threema.app.ui.ContentCommitComposeEditText>

                    </com.google.android.material.textfield.TextInputLayout>

                    <ch.threema.app.emojis.EmojiButton
                        android:id="@+id/emoji_button"
                        style="?android:attr/borderlessButtonStyle"
                        android:layout_width="@dimen/emoji_button_width"
                        android:layout_height="@dimen/emoji_button_width"
                        android:layout_gravity="left|bottom"
                        android:layout_marginLeft="2dp"
                        android:layout_marginBottom="5dp"
                        android:background="@drawable/selector_compose_button"
                        android:contentDescription="@string/select_emoji"
                        android:drawablePadding="0dip"
                        android:nextFocusRight="@+id/embedded_text_editor"
                        android:padding="8dp"
                        android:tint="?attr/colorOnSurface" />

                    <FrameLayout
                        android:layout_width="@dimen/emoji_button_width"
                        android:layout_height="@dimen/emoji_button_width"
                        android:layout_gravity="bottom|right"
                        android:layout_marginRight="94dp"
                        android:layout_marginBottom="5dp">

                        <ImageButton
                            android:id="@+id/camera_button"
                            style="?android:attr/borderlessButtonStyle"
                            android:layout_width="@dimen/emoji_button_width"
                            android:layout_height="@dimen/emoji_button_width"
                            android:background="@drawable/selector_compose_button"
                            android:contentDescription="@string/take_photo"
                            android:drawablePadding="0dip"
                            android:focusable="true"
                            android:nextFocusLeft="@+id/embedded_text_editor"
                            android:nextFocusRight="@+id/attach_button"
                            app:srcCompat="@drawable/ic_camera_outline"
                            app:tint="?attr/colorOnSurface" />

                    </FrameLayout>

                    <FrameLayout
                        android:layout_width="@dimen/emoji_button_width"
                        android:layout_height="@dimen/emoji_button_width"
                        android:layout_gravity="bottom|right"
                        android:layout_marginRight="58dp"
                        android:layout_marginBottom="5dp">

                        <ImageButton
                            android:id="@+id/attach_button"
                            style="?android:attr/borderlessButtonStyle"
                            android:layout_width="@dimen/emoji_button_width"
                            android:layout_height="@dimen/emoji_button_width"
                            android:background="@drawable/selector_compose_button"
                            android:contentDescription="@string/add_attachment"
                            android:drawablePadding="0dip"
                            android:focusable="true"
                            android:nextFocusLeft="@+id/embedded_text_editor"
                            android:nextFocusRight="@+id/send_button"
                            app:srcCompat="@drawable/ic_attachment"
                            app:tint="?attr/colorOnSurface" />
                    </FrameLayout>

                    <ch.threema.app.ui.SendButton
                        android:id="@+id/send_button"
                        android:layout_width="@dimen/input_text_height"
                        android:layout_height="@dimen/input_text_height"
                        android:layout_gravity="bottom|right"
                        android:clickable="true"
                        android:focusable="true"
                        android:foreground="@drawable/selector_avatar"
                        android:nextFocusLeft="@+id/attach_button"
                        tools:background="@drawable/ic_circle_send" />

                    <ImageButton
                        android:id="@+id/confirm_edit_button"
                        android:layout_width="@dimen/input_text_height"
                        android:layout_height="@dimen/input_text_height"
                        android:layout_gravity="bottom|right"
                        android:background="@drawable/ic_circle_send"
                        android:contentDescription="@string/confirm_edit_desc"
                        android:scaleType="center"
                        android:src="@drawable/ic_check"
                        android:visibility="gone"
                        app:tint="?attr/colorOnPrimary" />

                </FrameLayout>

                <ch.threema.app.emojis.EmojiPicker
                    android:id="@+id/emoji_picker"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/default_emoji_picker_height"
                    android:background="?attr/emoji_picker_background_main"
                    android:elevation="6dp"
                    android:orientation="horizontal"
                    android:visibility="gone"
                    tools:visibility="visible" />

            </LinearLayout>

        </androidx.constraintlayout.widget.ConstraintLayout>

    </FrameLayout>
</FrameLayout>

Messung V0.5 in Prozent
C=97 H=91 G=93

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-05-01) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge