|
@@ -0,0 +1,439 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/translucent_background">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="738dp"
|
|
|
+ android:layout_height="630dp"
|
|
|
+ android:layout_gravity="center">
|
|
|
+
|
|
|
+ <!-- 评测完成-->
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/popupwindow_record_status_over_frame"
|
|
|
+ android:layout_width="718dp"
|
|
|
+ android:layout_height="630dp"
|
|
|
+ android:layout_gravity="center|left"
|
|
|
+ android:background="@drawable/popup_record_status_over"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/popupwindow_record_status_over_layout"
|
|
|
+ android:layout_width="685dp"
|
|
|
+ android:layout_height="400dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginTop="100dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/popupwindow_record_status_over_start_layout"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="59dp"
|
|
|
+ android:layout_gravity="center|top"
|
|
|
+ android:divider="@drawable/popup_record_status_over_stars_divider"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:showDividers="middle">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="58dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:src="@drawable/popup_record_status_over_stars_true"></ImageView>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="58dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:src="@drawable/popup_record_status_over_stars_true"></ImageView>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="58dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:src="@drawable/popup_record_status_over_stars_true"></ImageView>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="58dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:src="@drawable/popup_record_status_over_stars_true"></ImageView>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="58dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:src="@drawable/popup_record_status_over_stars_true"></ImageView>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <GridLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="150dp"
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:columnCount="2"
|
|
|
+ android:paddingLeft="20dp"
|
|
|
+ android:paddingRight="20dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_rowWeight="1"
|
|
|
+ android:layout_columnWeight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="17dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:src="#CDA069"></ImageView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="140dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:text="完成度:"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="34dp"></TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/popupwindow_record_status_over_completion_text"
|
|
|
+ android:layout_width="130dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:text="100/100"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="34dp"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_rowWeight="1"
|
|
|
+ android:layout_columnWeight="1"
|
|
|
+ android:layout_marginLeft="40dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="17dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:src="#CDA069"></ImageView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="140dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:text="正确率:"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="34dp"></TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/popupwindow_record_status_over_correctrate_text"
|
|
|
+ android:layout_width="130dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:text="100/100"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="34dp"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_rowWeight="1"
|
|
|
+ android:layout_columnWeight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="17dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:src="#CDA069"></ImageView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="140dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:text="语速:"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="34dp"></TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/popupwindow_record_status_over_speed_text"
|
|
|
+ android:layout_width="130dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:text="100/100"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="34dp"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_rowWeight="1"
|
|
|
+ android:layout_columnWeight="1"
|
|
|
+ android:layout_marginLeft="40dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="17dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:src="#CDA069"></ImageView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="140dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:text="语调:"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="34dp"></TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/popupwindow_record_status_over_intonation_text"
|
|
|
+ android:layout_width="130dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:text="100/100"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="34dp"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
+ </GridLayout>
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="80dp"></Space>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/popupwindow_record_status_over_replay"
|
|
|
+ android:layout_width="182dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/main_ok_btn_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="点击重录"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="31dp"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/popupwindow_record_status_over_upload"
|
|
|
+ android:layout_width="182dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/main_cancel_btn_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="上传作品"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="31dp"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+ </FrameLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 上传中-->
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/popupwindow_record_status_uploading_frame"
|
|
|
+ android:layout_width="718dp"
|
|
|
+ android:layout_height="630dp"
|
|
|
+ android:layout_gravity="center|left"
|
|
|
+ android:background="@drawable/popup_record_status_upload_start"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="54dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginBottom="30dp"
|
|
|
+ android:text="请耐心等候···"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="40dp"></TextView>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="197dp"
|
|
|
+ android:layout_height="197dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginTop="120dp">
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ android:layout_width="170dp"
|
|
|
+ android:layout_height="170dp"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:indeterminateDrawable="@drawable/popup_record_uploading_loading_anim"></ProgressBar>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="loading..."
|
|
|
+ android:textColor="#6CBDFE"
|
|
|
+ android:textSize="20dp"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 上传成功-->
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/popupwindow_record_status_uploading_success_frame"
|
|
|
+ android:layout_width="718dp"
|
|
|
+ android:layout_height="630dp"
|
|
|
+ android:layout_gravity="center|left"
|
|
|
+ android:background="@drawable/popup_record_status_upload_success"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:lineHeight="54dp"
|
|
|
+ android:text="恭喜您的作品上传成功\n快去听听自己的作品吧!"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="40dp"></TextView>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/popup_record_status_upload_success_btn"
|
|
|
+ android:layout_width="182dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:layout_gravity="center|bottom"
|
|
|
+ android:layout_marginBottom="30dp"
|
|
|
+ android:background="@drawable/main_cancel_btn_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="去听听"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="31dp"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 上传失败-->
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/popupwindow_record_status_uploading_error_frame"
|
|
|
+ android:layout_width="718dp"
|
|
|
+ android:layout_height="630dp"
|
|
|
+ android:layout_gravity="center|left"
|
|
|
+ android:background="@drawable/popup_record_status_upload_error"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="300dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:gravity="center"
|
|
|
+ android:lineHeight="54dp"
|
|
|
+ android:text="作品上传失败!"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="40dp"></TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:lineHeight="54dp"
|
|
|
+ android:text="请重新上传!"
|
|
|
+ android:textColor="#AB722D"
|
|
|
+ android:textSize="40dp"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:layout_gravity="center|bottom"
|
|
|
+ android:layout_marginBottom="30dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/popupwindow_record_status_uploading_error_cancel_upload"
|
|
|
+ android:layout_width="182dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/main_ok_btn_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="取消上传"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="31dp"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/popupwindow_record_status_uploading_error_re_upload"
|
|
|
+ android:layout_width="182dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/main_cancel_btn_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="重新上传"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="31dp"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+ </FrameLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/popupwindow_record_status_close"
|
|
|
+ android:layout_width="77dp"
|
|
|
+ android:layout_height="77dp"
|
|
|
+ android:layout_gravity="top|right"
|
|
|
+ android:layout_marginTop="80dp"
|
|
|
+ android:src="@drawable/activity_loginalert_close"></ImageView>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+</FrameLayout>
|