| | |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="20dp" |
| | | app:cardCornerRadius="8dp"> |
| | | app:cardCornerRadius="18dp"> |
| | | |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/invitationsuccessRecyclerView" |
| | |
| | | |
| | | <!-- 邀请按钮区域 --> |
| | | <Button |
| | | android:id="@+id/btnInvite" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="26dp" |
| | | android:layout_marginBottom="10dp" |
| | | android:backgroundTint="#FF0000" |
| | | android:insetTop="0dp" |
| | | android:insetBottom="0dp" |
| | |
| | | android:textColor="#FFFFFF" |
| | | android:textSize="16sp" |
| | | app:cornerRadius="10dp" /> |
| | | |
| | | <!-- 邀请码区域 --> |
| | | <androidx.cardview.widget.CardView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="50dp" |
| | | android:layout_marginBottom="8dp" |
| | | app:cardCornerRadius="8dp" |
| | | app:cardPreventCornerOverlap="true" |
| | | app:cardElevation="0dp" |
| | | app:cardBackgroundColor="#FFFFFF"> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:orientation="horizontal" |
| | | android:paddingStart="16dp" |
| | | android:paddingEnd="16dp" |
| | | android:gravity="center_vertical"> |
| | | |
| | | <TextView |
| | | android:id="@+id/invitationCodeText" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="A1B2" |
| | | android:textAlignment="center" |
| | | android:textColor="#000000" |
| | | android:textSize="30sp" /> |
| | | |
| | | <Button |
| | | android:id="@+id/copyButton" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="复制邀请码" |
| | | android:textColor="#FF0000" |
| | | android:backgroundTint="#FFFFFF" |
| | | android:textSize="12sp" |
| | | android:paddingStart="12dp" |
| | | android:paddingEnd="12dp"/> |
| | | </LinearLayout> |
| | | </androidx.cardview.widget.CardView> |
| | | |
| | | <!-- 邀请任务表格区域 --> |
| | | <androidx.cardview.widget.CardView |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:padding="6dp" |
| | | android:text="免广告特权 (7天)" |
| | | android:text="15天会员" |
| | | android:textAlignment="center" |
| | | android:textColor="#333333" |
| | | android:textSize="12sp" /> |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:padding="6dp" |
| | | android:text="7天会员" |
| | | android:text="30天会员" |
| | | android:textAlignment="center" |
| | | android:textColor="#333333" |
| | | android:textSize="12sp" /> |