123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout 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:layout_width="match_parent"
- android:layout_height="match_parent">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <FrameLayout
- android:id="@+id/background"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/popupwindow_ranklist_window_bg"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"></FrameLayout>
- <FrameLayout
- android:layout_width="1280dp"
- android:layout_height="720dp"
- android:gravity="center"
- android:orientation="vertical"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintDimensionRatio="h,16:9"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="953dp"
- android:layout_height="592dp"
- android:layout_gravity="center"
- android:layout_marginTop="30dp"
- android:background="@drawable/popupwindow_ranklist_bg">
- <LinearLayout
- android:layout_width="860dp"
- android:layout_height="37dp"
- android:orientation="horizontal"
- app:layout_constraintBottom_toTopOf="@+id/roundFrameLayout"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:paddingLeft="20dp"
- android:text="排名"
- android:textColor="#8D4C05"
- android:textSize="26dp"></TextView>
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="4.2"
- android:text="昵称"
- android:textColor="#8D4C05"
- android:textSize="26dp"></TextView>
- <Space
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"></Space>
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:text="点赞"
- android:textColor="#8D4C05"
- android:textSize="26dp"></TextView>
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:text="收藏"
- android:textColor="#8D4C05"
- android:textSize="26dp"></TextView>
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:text="成绩"
- android:textColor="#8D4C05"
- android:textSize="26dp"></TextView>
- <Space
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.2"></Space>
- </LinearLayout>
- <com.edufound.reader.cusview.RoundFrameLayout
- android:id="@+id/roundFrameLayout"
- android:layout_width="860dp"
- android:layout_height="480dp"
- android:layout_gravity="center"
- android:layout_marginTop="24dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.47"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <LinearLayout
- android:id="@+id/popupwindow_ranklist_recyclerview_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/popupwindow_ranklist_recyclerview"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="9"
- android:orientation="vertical"></androidx.recyclerview.widget.RecyclerView>
- <FrameLayout
- android:id="@+id/popupwindow_ranklist_myinfo_layout"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1.5"
- android:background="@drawable/ranklist_my_bg"
- android:visibility="invisible">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="63dp"
- android:layout_gravity="center"
- android:gravity="center"
- android:orientation="horizontal"
- android:paddingLeft="10dp">
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1">
- <TextView
- android:id="@+id/popupwindow_show_ranklist_my_num"
- android:layout_width="wrap_content"
- android:layout_height="36dp"
- android:layout_gravity="center"
- android:text="1"
- android:textColor="#8D4C05"
- android:textSize="22dp"></TextView>
- </FrameLayout>
- <Space
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.9"></Space>
- <TextView
- android:id="@+id/popupwindow_show_ranklist_my_name"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="4.2"
- android:gravity="center|left"
- android:text="昵称"
- android:textColor="#8D4C05"
- android:textSize="22dp"></TextView>
- <Space
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"></Space>
- <TextView
- android:id="@+id/popupwindow_show_ranklist_my_thumb"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
- android:text="点赞"
- android:textColor="#8D4C05"
- android:textSize="22dp"></TextView>
- <TextView
- android:id="@+id/popupwindow_show_ranklist_my_collection"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
- android:text="收藏"
- android:textColor="#8D4C05"
- android:textSize="22dp"></TextView>
- <TextView
- android:id="@+id/popupwindow_show_ranklist_my_score"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
- android:text="成绩"
- android:textColor="#8D4C05"
- android:textSize="22dp"></TextView>
- <Space
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.2"></Space>
- </LinearLayout>
- </FrameLayout>
- </LinearLayout>
- <ImageView
- android:id="@+id/popupwindow_ranklist_recyclerview_layout_nolist"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:scaleX="0.7"
- android:scaleY="0.7"
- android:src="@drawable/ranklist_no_list"
- android:visibility="gone"></ImageView>
- </com.edufound.reader.cusview.RoundFrameLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </FrameLayout>
- <ImageView
- android:id="@+id/popupwindow_ranklist_back"
- android:layout_width="77dp"
- android:layout_height="77dp"
- android:layout_marginLeft="32dp"
- android:layout_marginTop="24dp"
- android:src="@drawable/main_back"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="@+id/background"></ImageView>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </FrameLayout>
|