i'm trying to fix this issue but 'im stuck.
The problem:
I want to put frame layout below relative layout.
FrameLayout = Emoticons Relative layout = container with edittext
i wish when i click in smile button, the framelayout show up above edittext.
but i cant do it..everthing works fine, except this.
Picture :
Error :
i'm using this code
<!--Container FrameLayout-->
<FrameLayout
android:id="@+id/keyboard_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"/>
<!--Container Emoticon Edittext-->
<RelativeLayout
android:id="@+id/bottom_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="@dimen/edt_msg_content_margin"
android:layout_marginLeft="@dimen/edt_msg_content_margin"
android:layout_marginStart="@dimen/edt_msg_content_margin"
android:layout_toLeftOf="@+id/btn_send_message"
android:layout_toStartOf="@+id/btn_send_message"
android:background="@drawable/message_item_background"
android:layout_above="@id/keyboard_container"
android:elevation="4dp"
android:paddingBottom="@dimen/edt_msg_content_padding_v"
android:paddingLeft="@dimen/edt_msg_content_padding_h"
android:paddingRight="@dimen/edt_msg_content_padding_h"
android:paddingTop="@dimen/edt_msg_content_padding_v">
<ImageView
android:id="@+id/botao_emoji"
android:layout_width="@dimen/edt_ic_size"
android:layout_height="@dimen/edt_ic_size"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="4dp"
app:srcCompat="@drawable/chat_emoticon"
android:tint="@color/green_600"/>
<!--<hani.momanii.supernova_emoji_library.Helper.EmojiconEditText-->
<com.kevalpatel2106.emoticongifkeyboard.widget.EmoticonEditText
android:id="@+id/edt_message_content"
style="@style/Base.TextAppearance.AppCompat.Medium"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/iv_camera"
android:layout_toStartOf="@+id/iv_camera"
android:background="#00ffffff"
android:hint="Digite sua mensagem!"
android:inputType="textMultiLine|textCapSentences|textNoSuggestions"
android:lines="2"
android:maxLines="3"
android:layout_toRightOf="@+id/botao_emoji"
android:layout_toEndOf="@+id/botao_emoji"/>
<ImageButton
android:id="@+id/message_love_button"
android:layout_width="@dimen/edt_ic_size"
android:layout_height="@dimen/edt_ic_size"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="4dp"
app:srcCompat="@drawable/ic_love_animation"
android:tint="@color/red_400"/>
</RelativeLayout>
thanks!