62 lines
2.2 KiB
XML
62 lines
2.2 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:id="@+id/rootView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical"
|
||
|
>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="65dp"
|
||
|
android:background="@color/white"
|
||
|
android:paddingTop="19dp"
|
||
|
>
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/titleView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_centerHorizontal="true"
|
||
|
android:gravity="center"
|
||
|
android:textColor="@color/textColor"
|
||
|
android:textSize="18sp"
|
||
|
android:textStyle="bold"
|
||
|
/>
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/btn_back"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:onClick="backClick"
|
||
|
android:padding="9dp"
|
||
|
android:src="@mipmap/icon_back"
|
||
|
android:tint="@color/textColor"
|
||
|
/>
|
||
|
<ImageView
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:id="@+id/btn_question"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:onClick="questionClick"
|
||
|
android:padding="9dp"
|
||
|
android:src="@drawable/question_medal"
|
||
|
android:tint="@color/textColor"
|
||
|
/>
|
||
|
</RelativeLayout>
|
||
|
</FrameLayout>
|
||
|
<ProgressBar
|
||
|
android:id="@+id/progressbar"
|
||
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="3dp"
|
||
|
android:progressDrawable="@drawable/bg_horizontal_progressbar"
|
||
|
/>
|
||
|
</LinearLayout>
|