mirror of https://github.com/ThmmyNoLife/mTHMMY
Thodoris1999
6 years ago
2 changed files with 55 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||
package gr.thmmy.mthmmy.utils; |
|||
|
|||
import android.content.Context; |
|||
import android.widget.LinearLayout; |
|||
|
|||
public class EditorView extends LinearLayout { |
|||
public EditorView(Context context) { |
|||
super(context); |
|||
} |
|||
} |
@ -0,0 +1,45 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<LinearLayout |
|||
xmlns:app="http://schemas.android.com/apk/res-auto" |
|||
xmlns:android="http://schemas.android.com/apk/res/android" |
|||
android:orientation="vertical" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent"> |
|||
<LinearLayout |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content"> |
|||
<!--bold, italic, etc buttons--> |
|||
</LinearLayout> |
|||
<LinearLayout |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:orientation="horizontal" |
|||
android:paddingLeft="16dp" |
|||
android:paddingRight="16dp"> |
|||
|
|||
<android.support.design.widget.TextInputLayout |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:layout_weight="1" |
|||
android:orientation="vertical"> |
|||
|
|||
<EditText |
|||
android:id="@+id/quick_reply_text" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:hint="@string/quick_reply" |
|||
android:inputType="textMultiLine" /> |
|||
</android.support.design.widget.TextInputLayout> |
|||
|
|||
<android.support.v7.widget.AppCompatImageButton |
|||
android:id="@+id/quick_reply_submit" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="bottom" |
|||
android:layout_marginBottom="5dp" |
|||
android:layout_marginEnd="5dp" |
|||
android:background="@color/card_background" |
|||
android:contentDescription="@string/submit" |
|||
app:srcCompat="@drawable/ic_send_accent_24dp" /> |
|||
</LinearLayout> |
|||
</LinearLayout> |
Loading…
Reference in new issue