对接语圈接口,
页面基本完成,评论完成一半,需要再调试
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00000.png
Normal file
|
After Width: | Height: | Size: 652 B |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00001.png
Normal file
|
After Width: | Height: | Size: 858 B |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00002.png
Normal file
|
After Width: | Height: | Size: 876 B |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00003.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00004.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00005.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00006.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00007.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00008.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00009.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00010.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00011.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00012.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00013.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00014.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00015.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00016.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00017.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00018.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00019.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00020.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00021.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00022.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00023.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00024.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00025.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00026.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00027.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00028.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
moduleUtil/src/main/res/drawable-xxxhdpi/star_00029.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
6
moduleUtil/src/main/res/drawable/bg_r43_9999.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<stroke android:width="1dp" android:color="#ff999999" />
|
||||
<corners android:topLeftRadius="43dp" android:topRightRadius="43dp" android:bottomLeftRadius="43dp" android:bottomRightRadius="43dp" />
|
||||
</shape>
|
||||
6
moduleUtil/src/main/res/drawable/bg_r65_0dffb9.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#ff0dffb9" />
|
||||
<corners android:topLeftRadius="0dp" android:topRightRadius="65dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="65dp" />
|
||||
</shape>
|
||||
7
moduleUtil/src/main/res/drawable/bg_r65_eff2f8.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<stroke android:width="1dp" android:color="#ff0dffb9" />
|
||||
<solid android:color="#ffeff2f8" />
|
||||
<corners android:topLeftRadius="65dp" android:topRightRadius="65dp" android:bottomLeftRadius="65dp" android:bottomRightRadius="65dp" />
|
||||
</shape>
|
||||
5
moduleUtil/src/main/res/drawable/bg_r6_fff.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="@dimen/dp_6" />
|
||||
<solid android:color="@color/white" />
|
||||
</shape>
|
||||
7
moduleUtil/src/main/res/drawable/gift_x.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<stroke android:width="2dp" android:color="#ffdffe59" />
|
||||
<solid android:color="#ff494949" />
|
||||
<corners android:topLeftRadius="7dp" android:topRightRadius="7dp" android:bottomLeftRadius="7dp" android:bottomRightRadius="7dp" />
|
||||
</shape>
|
||||
95
moduleUtil/src/main/res/drawable/refresh_loading.xml
Normal file
@@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<animation-list xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:oneshot="false">
|
||||
<item
|
||||
android:drawable="@drawable/star_00000"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00001"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00002"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00003"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00004"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00005"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00006"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00007"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00008"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00009"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00010"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00011"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00012"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00013"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00014"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00015"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00016"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00017"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00018"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00019"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00020"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00021"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00022"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00023"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00024"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00025"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00026"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00027"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00028"
|
||||
android:duration="10" />
|
||||
<item
|
||||
android:drawable="@drawable/star_00029"
|
||||
android:duration="10" />
|
||||
|
||||
</animation-list>
|
||||
7
moduleUtil/src/main/res/drawable/room_keyboard_et_bg.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/room_keyboard_num_click_bg" />
|
||||
<item android:state_pressed="false" android:drawable="@drawable/room_keyboard_num_normal_bg"/>
|
||||
<item android:drawable="@drawable/room_keyboard_num_normal_bg" />
|
||||
</selector>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/colorPrimary" />
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
|
||||
7
moduleUtil/src/main/res/drawable/room_keyboard_ok_bg.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_FF5872FF" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
||||
|
||||
35
moduleUtil/src/main/res/layout/activity_official_notice.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout 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"
|
||||
tools:context="com.qxcm.moduleutil.activity.news.OfficialNoticeActivity">
|
||||
|
||||
<data>
|
||||
|
||||
</data>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.qxcm.moduleutil.widget.CustomTopBar
|
||||
android:id="@+id/top_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/smart_refresh_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:srlEnableLoadMore="true"
|
||||
app:srlEnableRefresh="true">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycle_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:listitem="@layout/news_rv_item_system_news" />
|
||||
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
||||
</LinearLayout>
|
||||
</layout>
|
||||
93
moduleUtil/src/main/res/layout/fragment_comment_dialog.xml
Normal file
@@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout 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"
|
||||
tools:context=".widget.dialog.CommentDialogFragment">
|
||||
|
||||
<data>
|
||||
|
||||
</data>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/bg_r16_fff"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/tv_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center|left"
|
||||
android:layout_margin="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:text="全部评论(56)"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/srl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rv_comment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="Hello World!"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_0_5"
|
||||
android:background="#ccc" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_input"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_83"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:visibility="visible"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_input"
|
||||
android:layout_width="@dimen/dp_242"
|
||||
android:layout_height="@dimen/dp_34"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:background="@drawable/bg_r80_hui"
|
||||
android:gravity="center|left"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:hint="就差你一个神评论~"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_send"
|
||||
android:layout_width="@dimen/dp_79"
|
||||
android:layout_height="@dimen/dp_31"
|
||||
android:layout_marginEnd="@dimen/dp_12"
|
||||
android:background="@drawable/cs"
|
||||
android:gravity="center"
|
||||
android:text="发送"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</layout>
|
||||
166
moduleUtil/src/main/res/layout/fragment_reward_gift_dialog.xml
Normal file
@@ -0,0 +1,166 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:context=".widget.dialog.RewardGiftDialogFragment">
|
||||
|
||||
<data>
|
||||
|
||||
</data>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="460dp"
|
||||
android:background="@drawable/bg_r16_fff"
|
||||
android:paddingStart="@dimen/dp_16"
|
||||
android:paddingEnd="@dimen/dp_16"
|
||||
android:paddingTop="@dimen/dp_29"
|
||||
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_reward_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:text="还没有人打赏,快来当第一个打赏的人吧!"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:textColor="@color/color_FF666666"
|
||||
android:textSize="@dimen/sp_14"
|
||||
/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycle_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_23"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:listitem="@layout/item_reward"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_reward_num"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_23"
|
||||
android:text="已有6人打赏"
|
||||
android:drawableRight="@drawable/detail_icon_go"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
/>
|
||||
|
||||
<View
|
||||
android:id="@+id/view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_0_5"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:background="#E2E2E2"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_reward_title"
|
||||
/>
|
||||
|
||||
<com.example.moduletablayout.CustomSlidingTabLayout
|
||||
android:id="@+id/sliding_tab_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
app:tl_indicator_corner_radius="@dimen/dp_3"
|
||||
app:tl_indicator_drawable="@drawable/index_bg_indicator"
|
||||
app:tl_indicator_height="@dimen/dp_6"
|
||||
app:tl_indicator_margin_bottom="@dimen/dp_3"
|
||||
app:tl_indicator_width="@dimen/dp_28"
|
||||
app:tl_showCateIndicator="false"
|
||||
app:tl_tab_width="@dimen/dp_50"
|
||||
app:tl_textBold="SELECT"
|
||||
app:tl_textSelectColor="@color/color_2B2823"
|
||||
app:tl_textSelectedSize="@dimen/sp_14"
|
||||
app:tl_textUnselectColor="@color/color_FF999999"
|
||||
app:layout_constraintTop_toBottomOf="@+id/view"
|
||||
app:tl_textsize="@dimen/sp_12" />
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/view_pager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_240"
|
||||
app:layout_constraintTop_toBottomOf="@id/sliding_tab_layout"
|
||||
/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_marginBottom="@dimen/dp_46"
|
||||
>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/im_gf_t"
|
||||
android:layout_width="@dimen/dp_14"
|
||||
android:layout_height="@dimen/dp_14"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:src="@mipmap/gift_t"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_reward_gift"
|
||||
android:layout_width="@dimen/dp_16"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_toEndOf="@+id/im_gf_t"
|
||||
android:layout_marginStart="@dimen/dp_2"
|
||||
android:layout_centerInParent="true"
|
||||
android:text="23"
|
||||
android:textColor="@color/color_FF666666"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_toEndOf="@+id/tv_reward_gift"
|
||||
android:layout_marginStart="@dimen/dp_18"
|
||||
android:text="去兑换"
|
||||
android:textColor="#0DFFB9"
|
||||
android:textSize="@dimen/sp_12"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_gift_num"
|
||||
android:layout_width="@dimen/dp_100"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/bg_r65_eff2f8"
|
||||
android:layout_centerVertical="true">
|
||||
|
||||
<com.qxcm.moduleutil.widget.MarqueeTextView
|
||||
android:id="@+id/tv_give_coin_num"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:gravity="center"
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:scrollHorizontally="true"
|
||||
android:singleLine="true"
|
||||
android:text="X1"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_give"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_r65_0dffb9"
|
||||
android:gravity="center"
|
||||
android:text="赠送"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textColor="@color/color_FF333333"/>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</layout>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?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="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="62.4dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:background="@drawable/refresh_loading"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
71
moduleUtil/src/main/res/layout/item_comment.xml
Normal file
@@ -0,0 +1,71 @@
|
||||
<?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="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_17"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<!-- 用户头像 -->
|
||||
<com.qxcm.moduleutil.utils.MeHeadView
|
||||
android:id="@+id/iv_avatar"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<!-- 昵称 & 内容 -->
|
||||
<TextView
|
||||
android:id="@+id/tv_nickname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_marginStart="@dimen/dp_7"
|
||||
android:text="昵称ssss"
|
||||
android:textColor="@color/_000000"
|
||||
android:textSize="@dimen/sp_12"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_avatar"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_7"
|
||||
android:layout_marginTop="@dimen/dp_7"
|
||||
android:text="我是评论"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_avatar"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_nickname" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_marginStart="@dimen/dp_7"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:text="2天"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:textSize="@dimen/sp_12"
|
||||
app:layout_constraintStart_toStartOf="@+id/tv_content"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_content" />
|
||||
<!-- 回复按钮 -->
|
||||
<TextView
|
||||
android:id="@+id/btn_reply"
|
||||
android:layout_width="@dimen/dp_38"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_marginStart="@dimen/dp_12"
|
||||
android:background="@mipmap/huif"
|
||||
android:layout_marginTop="@dimen/dp_3"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_time"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_content" />
|
||||
|
||||
|
||||
<!-- 子评论列表 -->
|
||||
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
||||
<!-- android:id="@+id/rv_replies"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="wrap_content" />-->
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
8
moduleUtil/src/main/res/layout/item_reply.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
15
moduleUtil/src/main/res/layout/item_reward.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<com.qxcm.moduleutil.widget.GifAvatarOvalView
|
||||
android:id="@+id/im_reward"
|
||||
android:layout_width="@dimen/dp_22"
|
||||
android:layout_height="@dimen/dp_22"
|
||||
android:src="@mipmap/default_avatar"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
112
moduleUtil/src/main/res/layout/news_rv_item_system_news.xml
Normal file
@@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:paddingLeft="@dimen/dp_16"
|
||||
android:paddingRight="@dimen/dp_16">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_system"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sys_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:text="2025-5-29 10:58:57"
|
||||
android:textColor="@color/color_FF666666"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sys_con"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:background="@drawable/bg_r16_fff"
|
||||
android:gravity="left|center"
|
||||
android:padding="@dimen/dp_12"
|
||||
android:text="系统消息"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_system_official"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:background="@drawable/bg_r16_fff">
|
||||
|
||||
<com.tencent.qcloud.tuikit.timcommon.component.RoundCornerImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_135"
|
||||
android:layout_marginLeft="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_12"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:scaleType="fitXY"
|
||||
app:corner_radius="@dimen/dp_8"
|
||||
android:src="@mipmap/default_avatar"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_6"
|
||||
android:layout_marginLeft="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_12"
|
||||
android:gravity="left|center"
|
||||
android:text="【某某传媒·粉丝狂欢】今晚22点已开启嗨玩三重奏,不仅有才艺舞台,还有分组pk,粉丝互动环节等你来~"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_0_5"
|
||||
android:background="#E2E2E2"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:layout_marginStart="@dimen/dp_12"
|
||||
android:layout_marginEnd="@dimen/dp_12"
|
||||
/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:layout_marginBottom="@dimen/dp_12"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/tv_lock"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_12"
|
||||
android:layout_alignParentStart="true"
|
||||
android:gravity="left|center"
|
||||
android:text="立即查看"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/detail_icon_go"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginEnd="@dimen/dp_12"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
260
moduleUtil/src/main/res/layout/room_custom_num_keyboard.xml
Normal file
@@ -0,0 +1,260 @@
|
||||
<?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="wrap_content"
|
||||
android:gravity="bottom"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/dp_8"
|
||||
android:paddingTop="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_8"
|
||||
android:paddingBottom="@dimen/dp_8"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:id="@+id/cl"
|
||||
android:background="@color/color_FFEEEEEE">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_keyboard_et_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_keyboard_input"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="264"
|
||||
android:background="@drawable/room_keyboard_et_bg"
|
||||
android:hint="请输入数量"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:textColor="@color/black"
|
||||
android:maxLength="4"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:maxLines="1" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard_ok"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_weight="81"
|
||||
android:background="@drawable/room_keyboard_ok_bg"
|
||||
android:gravity="center"
|
||||
android:text="确定"
|
||||
android:textColor="@color/white"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_keyboard_row1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
app:layout_constraintTop_toBottomOf="@+id/ll_keyboard_et_layout"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dp_8">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:text="1"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard2"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:text="2"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
android:layout_marginLeft="@dimen/dp_8"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard3"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:text="3"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_keyboard_row2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/ll_keyboard_row1"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="8dp">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard4"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:text="4"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:text="5"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
android:layout_marginLeft="@dimen/dp_8"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard6"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:text="6"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_keyboard_row3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
app:layout_constraintTop_toBottomOf="@+id/ll_keyboard_row2"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dp_8">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard7"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:text="7"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard8"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:text="8"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
android:layout_marginLeft="@dimen/dp_8"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard9"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:text="9"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_keyboard_row4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
app:layout_constraintTop_toBottomOf="@+id/ll_keyboard_row3"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dp_8">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard_null"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:visibility="invisible"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_keyboard0"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:gravity="center"
|
||||
android:text="0"
|
||||
style="?android:attr/borderlessButtonStyle"
|
||||
android:background="@drawable/room_keyboard_num_bt_bg"
|
||||
android:layout_marginLeft="@dimen/dp_8"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_keyboard_cross"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_keyboard_cross"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/room_keyboard_clean"
|
||||
android:layout_centerInParent="true"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
68
moduleUtil/src/main/res/layout/room_dialog_share.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<data>
|
||||
|
||||
</data>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_r16_tb_ffffff"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_43"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_qq"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dp_50"
|
||||
android:drawableTop="@mipmap/real_q"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="QQ"
|
||||
android:textColor="#ffb4b4b4"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_weixin"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableTop="@mipmap/wx_zf"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="微信"
|
||||
android:textColor="#ffb4b4b4"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginTop="@dimen/dp_26"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="#14FFFFFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_clean"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_55"
|
||||
android:gravity="center"
|
||||
android:text="取消"
|
||||
android:textColor="#ffb4b4b4"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
</LinearLayout>
|
||||
</layout>
|
||||
80
moduleUtil/src/main/res/layout/room_gv_gift_item.xml
Normal file
@@ -0,0 +1,80 @@
|
||||
<?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"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/cl_gift"
|
||||
android:layout_width="@dimen/dp_70"
|
||||
android:layout_height="@dimen/dp_99"
|
||||
android:background="@drawable/bg_r5_e9e9"
|
||||
>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_iv_down_on"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:ignore="MissingConstraints"
|
||||
android:padding="5dp">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_gift_pic"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:src="@mipmap/default_image"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_down_on"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/room_gift_select_bg"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintDimensionRatio="1:1.2"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_gift_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:singleLine="true"
|
||||
android:text="甜蜜奶酪"
|
||||
android:textColor="@color/color_FFA9A9A9"
|
||||
android:textSize="11sp"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/iv_gift_pic"
|
||||
app:layout_constraintRight_toRightOf="@+id/iv_gift_pic"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_gift_pic" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_gift_price"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="1"
|
||||
android:drawableLeft="@mipmap/jinb"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:textColor="@color/color_FFFFBC00"
|
||||
android:textSize="11sp"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/iv_gift_pic"
|
||||
app:layout_constraintRight_toRightOf="@+id/iv_gift_pic"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_gift_name" />
|
||||
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?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="@dimen/dp_88"
|
||||
android:layout_height="31dp"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<!-- <TextView-->
|
||||
<!-- android:id="@+id/tv_custom"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="match_parent"-->
|
||||
<!-- android:gravity="center_vertical"-->
|
||||
<!-- android:visibility="gone"-->
|
||||
<!-- android:textColor="@color/white"-->
|
||||
<!-- android:textSize="12dp"-->
|
||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
||||
<!-- app:layout_constraintHorizontal_bias="0.22"-->
|
||||
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
|
||||
<!-- app:layout_constraintRight_toRightOf="parent"-->
|
||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
||||
|
||||
<!-- <TextView-->
|
||||
<!-- android:id="@+id/tv_gift_mum"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="match_parent"-->
|
||||
<!-- android:ems="2"-->
|
||||
<!-- android:gravity="center_vertical"-->
|
||||
<!-- android:text="1111"-->
|
||||
<!-- android:textColor="@color/color_FF00F1FF"-->
|
||||
<!-- android:textSize="12dp"-->
|
||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
||||
<!-- app:layout_constraintHorizontal_bias="0.22"-->
|
||||
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
|
||||
<!-- app:layout_constraintRight_toRightOf="parent"-->
|
||||
<!-- app:layout_constraintTop_toTopOf="parent"-->
|
||||
<!-- android:visibility="gone"/>-->
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_gift_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="送个寂寞"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="12dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_split"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:src="#1AFFFFFF"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
18
moduleUtil/src/main/res/layout/room_vp_gift.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
>
|
||||
<data>
|
||||
|
||||
</data>
|
||||
|
||||
<GridView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/rv_gift"
|
||||
android:gravity="center"
|
||||
android:listSelector="#00000000"
|
||||
android:numColumns="4"
|
||||
android:stretchMode="columnWidth"
|
||||
android:verticalSpacing="10dp"
|
||||
/>
|
||||
</layout>
|
||||
23
moduleUtil/src/main/res/layout/room_window_pop_gift.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout 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/ll_cotainer"
|
||||
android:layout_width="@dimen/dp_88"
|
||||
android:background="@drawable/bg_r6_fff"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rv_gift_num_window"
|
||||
android:layout_width="@dimen/dp_72"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:padding="@dimen/dp_8"
|
||||
android:fadingEdge="none"
|
||||
android:overScrollMode="never"
|
||||
tools:itemCount="9"
|
||||
tools:listitem="@layout/room_rv_item_gift_num_windows" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
BIN
moduleUtil/src/main/res/mipmap-hdpi/gift_t.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
moduleUtil/src/main/res/mipmap-mdpi/hua.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
moduleUtil/src/main/res/mipmap-mdpi/huif.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
moduleUtil/src/main/res/mipmap-xxxhdpi/activity_bj.png
Normal file
|
After Width: | Height: | Size: 824 KiB |
BIN
moduleUtil/src/main/res/mipmap-xxxhdpi/cancel.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
moduleUtil/src/main/res/mipmap-xxxhdpi/create_album.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
BIN
moduleUtil/src/main/res/mipmap-xxxhdpi/gsui.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
moduleUtil/src/main/res/mipmap-xxxhdpi/room_gift_select_bg.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
moduleUtil/src/main/res/mipmap-xxxhdpi/room_keyboard_clean.webp
Normal file
|
After Width: | Height: | Size: 862 B |
BIN
moduleUtil/src/main/res/mipmap-xxxhdpi/six.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
moduleUtil/src/main/res/mipmap-xxxhdpi/suo.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
moduleUtil/src/main/res/mipmap-xxxhdpi/sure.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |