90 lines
4.1 KiB
XML
90 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/fm_cancel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
|
android:id="@+id/rl_keyboard"
|
|
android:background="@color/bg_comment"
|
|
android:paddingBottom="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<ImageView
|
|
android:id="@+id/cancel"
|
|
android:layout_width="@dimen/diy_commit_img"
|
|
android:layout_height="@dimen/diy_commit_img"
|
|
android:layout_marginTop="@dimen/dp15"
|
|
android:layout_marginRight="@dimen/dp10"
|
|
android:src="@drawable/diy_comment_cancel"
|
|
android:layout_alignParentLeft="true"/>
|
|
<TextView
|
|
android:textSize="@dimen/theme_18sp"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/bg_white"
|
|
android:gravity="center"
|
|
android:id="@+id/titleTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp16"
|
|
android:text="@string/comment_title"
|
|
android:layout_centerHorizontal="true"/>
|
|
<ImageView
|
|
android:id="@+id/commit"
|
|
android:background="@drawable/diy_comment_sure"
|
|
android:layout_width="@dimen/diy_commit_img"
|
|
android:layout_height="@dimen/diy_commit_img"
|
|
android:layout_marginTop="@dimen/dp15"
|
|
android:layout_marginRight="@dimen/dp10"
|
|
android:scaleType="centerInside"
|
|
android:layout_alignParentRight="true"/>
|
|
<RelativeLayout
|
|
android:id="@+id/xl_comment_content"
|
|
android:background="@drawable/shape_white"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/diy_comment_content"
|
|
android:layout_marginLeft="@dimen/diy_comment_content_margin"
|
|
android:layout_marginTop="@dimen/dp43"
|
|
android:layout_marginRight="@dimen/diy_comment_content_margin"
|
|
android:layout_marginBottom="@dimen/dp20"
|
|
android:layout_below="@+id/cancel"
|
|
android:layout_centerHorizontal="true">
|
|
<ImageView
|
|
android:id="@+id/im_header"
|
|
android:background="@drawable/community_comment_content"
|
|
android:layout_width="@dimen/diy_comment_head"
|
|
android:layout_height="@dimen/diy_comment_head"
|
|
android:layout_marginLeft="@dimen/dp10"
|
|
android:layout_marginTop="@dimen/dp12"/>
|
|
<EditText
|
|
android:textSize="@dimen/theme_14sp"
|
|
android:textColor="@color/txt_9B9B9B"
|
|
android:textColorHint="#a7aaaa"
|
|
android:gravity="top"
|
|
android:id="@+id/edit_comment"
|
|
android:background="@color/translucent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="@dimen/dp10"
|
|
android:layout_marginTop="@dimen/dp12"
|
|
android:hint="@string/comment_edit_hint"
|
|
android:lines="3"
|
|
android:maxLength="140"
|
|
android:lineSpacingMultiplier="1.5"
|
|
android:inputType="textMultiLine"
|
|
android:imeOptions="flagNoFullscreen|actionDone"
|
|
android:layout_toEndOf="@+id/im_header"/>
|
|
<TextView
|
|
android:textSize="@dimen/theme_13sp"
|
|
android:textColor="@color/txt_9B9B9B"
|
|
android:id="@+id/text_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/dp15"
|
|
android:layout_marginBottom="@dimen/dp15"
|
|
android:text="0/140"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentBottom="true"/>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</FrameLayout>
|