Last active
December 4, 2020 08:34
-
-
Save Dmuasya/c49fb3fede428dcb3f449e7eaa814e91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<dennis.pull.widget.PullScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/main_root" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<dennis.pull.widget.HeaderRelativeLayout | |
android:id="@+id/main_header" | |
android:layout_width="match_parent" | |
android:layout_height="275dp"> | |
<ImageView | |
android:id="@+id/main_header_icon" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:scaleType="centerCrop" | |
android:src="@drawable/header2" /> | |
<ImageView | |
android:id="@+id/main_header_mask" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:scaleType="fitXY" | |
android:src="@drawable/bk_vediomask_bottom" /> | |
</dennis.pull.widget.HeaderRelativeLayout> | |
<dennis.pull.widget.BodyRelativeLayout | |
android:id="@+id/main_body" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="200dp"> | |
<RelativeLayout | |
android:id="@+id/main_content" | |
android:background="@android:color/white" | |
android:layout_width="match_parent" | |
android:layout_height="1000dp" | |
android:layout_marginTop="75dp"> | |
<TextView | |
android:textStyle="bold" | |
android:textColor="#bb000000" | |
android:textSize="20sp" | |
android:text="This is UP" | |
android:layout_marginTop="120dp" | |
android:layout_centerHorizontal="true" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" /> | |
<TextView | |
android:textStyle="bold" | |
android:textColor="#bb000000" | |
android:textSize="20sp" | |
android:text="This is CENTER" | |
android:layout_centerInParent="true" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" /> | |
<TextView | |
android:textStyle="bold" | |
android:textColor="#bb000000" | |
android:textSize="20sp" | |
android:text="This is BOTTOM" | |
android:layout_marginBottom="150dp" | |
android:layout_alignParentBottom="true" | |
android:layout_centerHorizontal="true" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" /> | |
</RelativeLayout> | |
<ImageView | |
android:id="@+id/main_haibao" | |
android:layout_width="100dp" | |
android:layout_height="150dp" | |
android:layout_marginLeft="15dp" | |
android:scaleType="centerCrop" | |
android:src="@drawable/haibao2" /> | |
<LinearLayout | |
android:id="@+id/main_info" | |
android:layout_width="wrap_content" | |
android:layout_height="150dp" | |
android:layout_toRightOf="@id/main_haibao" | |
android:orientation="vertical" | |
android:paddingLeft="20dp"> | |
<LinearLayout | |
android:layout_gravity="center_vertical" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal"> | |
<ImageView | |
android:layout_width="18dp" | |
android:layout_height="14dp" | |
android:scaleType="centerCrop" | |
android:src="@drawable/rating_bigger_select" /> | |
<ImageView | |
android:layout_width="18dp" | |
android:layout_height="14dp" | |
android:scaleType="centerCrop" | |
android:src="@drawable/rating_bigger_select" /> | |
<ImageView | |
android:layout_width="18dp" | |
android:layout_height="14dp" | |
android:scaleType="centerCrop" | |
android:src="@drawable/rating_bigger_select" /> | |
<ImageView | |
android:layout_width="18dp" | |
android:layout_height="14dp" | |
android:scaleType="centerCrop" | |
android:src="@drawable/rating_bigger_select" /> | |
<ImageView | |
android:layout_width="18dp" | |
android:layout_height="14dp" | |
android:scaleType="centerCrop" | |
android:src="@drawable/rating_bigger_select" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="10dp" | |
android:gravity="center" | |
android:text="9.9" | |
android:textColor="#ff5021" | |
android:textSize="15sp" | |
android:textStyle="bold" /> | |
</LinearLayout> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="10dp" | |
android:text="A KENYAN FILM" | |
android:textColor="@android:color/white" | |
android:textSize="21sp" /> | |
</LinearLayout> | |
</dennis.pull.widget.BodyRelativeLayout> | |
</RelativeLayout> | |
</dennis.pull.widget.PullScrollView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment