123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:background="@color/translucent_background"
- android:clickable="true"
- android:focusableInTouchMode="true"
- android:orientation="horizontal">
- <FrameLayout
- android:id="@+id/frameLayout"
- android:layout_width="1280dp"
- android:layout_height="720dp"
- android:layout_gravity="center"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/translucent_background"
- android:clickable="true"
- android:focusableInTouchMode="true"
- android:orientation="horizontal">
- <Space
- android:id="@+id/comment_touch_back"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="2"></Space>
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_weight="6"
- android:background="@color/white">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:clickable="true"
- android:focusableInTouchMode="true"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_gravity="center|top"
- android:layout_weight="6"
- android:gravity="center|top"
- android:orientation="vertical">
- <TextView
- android:id="@+id/comment_count"
- android:layout_width="wrap_content"
- android:layout_height="42dp"
- android:layout_marginTop="38dp"
- android:alpha="0.8"
- android:text="评论:0"
- android:textColor="@color/black"
- android:textSize="30dp"></TextView>
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/comment_item_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"></androidx.recyclerview.widget.RecyclerView>
- <FrameLayout
- android:id="@+id/comment_no_comment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:src="@drawable/activity_comment_nocomment"></ImageView>
- </FrameLayout>
- </FrameLayout>
- </LinearLayout>
- <FrameLayout
- android:id="@+id/comment_quick_layout"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1.5"
- android:background="@color/aliceblue">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center|left"
- android:paddingLeft="20dp"
- android:text="留下你的赞美,鼓励一下。"
- android:textColor="@color/black"
- android:textSize="28dp"></TextView>
- <ImageView
- android:id="@+id/comment_close_quick"
- android:layout_width="32dp"
- android:layout_height="32dp"
- android:layout_gravity="right|top"
- android:layout_marginTop="20dp"
- android:layout_marginRight="32dp"
- android:src="@drawable/close_icon"></ImageView>
- </FrameLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:divider="@drawable/main_left_tab_divider"
- android:orientation="horizontal"
- android:paddingLeft="20dp"
- android:paddingRight="20dp"
- android:paddingBottom="20dp"
- android:showDividers="middle">
- <FrameLayout
- android:id="@+id/comment_quick_layout_item1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:background="@drawable/activity_comment_quick_item_one_bg">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:gravity="center"
- android:text="很优秀,向你学习"
- android:textColor="@color/white"
- android:textSize="24dp"></TextView>
- </FrameLayout>
- <FrameLayout
- android:id="@+id/comment_quick_layout_item2"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:background="@drawable/activity_comment_quick_item_two_bg">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:gravity="center"
- android:text="挺好的,期待更好"
- android:textColor="@color/white"
- android:textSize="24dp"></TextView>
- </FrameLayout>
- <FrameLayout
- android:id="@+id/comment_quick_layout_item3"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:background="@drawable/activity_comment_quick_item_three_bg">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:gravity="center"
- android:text="还可以,继续努力"
- android:textColor="@color/white"
- android:textSize="24dp"></TextView>
- </FrameLayout>
- </LinearLayout>
- </LinearLayout>
- </FrameLayout>
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="120dp"
- android:background="@color/aliceblue"
- android:padding="20dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal">
- <com.edufound.reader.cusview.RoundFrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="3"
- android:background="@color/white">
- <EditText
- android:id="@+id/comment_edit_text"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@null"
- android:gravity="center|left"
- android:hint="我有话说..."
- android:paddingLeft="20dp"
- android:textSize="25dp"></EditText>
- </com.edufound.reader.cusview.RoundFrameLayout>
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1">
- <com.edufound.reader.cusview.RoundFrameLayout
- android:id="@+id/comment_sendcomment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginLeft="20dp"
- android:background="@color/white">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:gravity="center"
- android:text="发送"
- android:textColor="@color/dodgerblue"
- android:textSize="30dp"></TextView>
- </com.edufound.reader.cusview.RoundFrameLayout>
- </FrameLayout>
- </LinearLayout>
- </FrameLayout>
- </LinearLayout>
- <ImageView
- android:id="@+id/comment_back"
- android:layout_width="34dp"
- android:layout_height="34dp"
- android:layout_gravity="right|top"
- android:layout_marginTop="20dp"
- android:layout_marginRight="32dp"
- android:src="@drawable/close_icon"></ImageView>
- </FrameLayout>
- </LinearLayout>
- </FrameLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
|