DT @17.12.2015: Sehr viele Design-Changes.. ProfileActivityFragments ebenfalls übearbeitet
This commit is contained in:
143
app/src/main/res/layout/fragment_profile_stats.xml
Normal file
143
app/src/main/res/layout/fragment_profile_stats.xml
Normal file
@@ -0,0 +1,143 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:padding="10dp"
|
||||
android:background="@drawable/layout_bg_gradient"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:gravity="center"
|
||||
android:layout_centerInParent="true">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_main_txt1"
|
||||
android:text="You have currently..."
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="#aa999999"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_points"
|
||||
android:text="0"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/lbl_main_txt1"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/llb_fff"
|
||||
android:text="points"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:paddingLeft="5dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="#aa999999"
|
||||
android:textSize="15sp"
|
||||
android:layout_alignBottom="@+id/txt_profile_points"
|
||||
android:layout_toRightOf="@+id/txt_profile_points"
|
||||
android:layout_toEndOf="@+id/txt_profile_points" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_main_txt2"
|
||||
android:text="from a total of..."
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@id/txt_profile_points"
|
||||
android:textColor="#aa999999"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_numberposts"
|
||||
android:text="0"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/lbl_main_txt2"
|
||||
android:textSize="30sp"
|
||||
android:layout_marginTop="10dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/llb_ffff"
|
||||
android:text="reported incidents"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="#aa999999"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="5dp"
|
||||
android:layout_alignBottom="@+id/txt_profile_numberposts"
|
||||
android:layout_toRightOf="@+id/txt_profile_numberposts"
|
||||
android:layout_toEndOf="@+id/txt_profile_numberposts" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_main_txt3"
|
||||
android:text="and your rank is..."
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@id/txt_profile_numberposts"
|
||||
android:textColor="#aa999999"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_ranking"
|
||||
android:text="0"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="30sp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@+id/lbl_main_txt3"
|
||||
android:layout_marginTop="10dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_main_txt4"
|
||||
android:text="You are supporting RiskAhead since"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:layout_marginTop="50dp"
|
||||
android:layout_above="@+id/txt_profile_membersince"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:textColor="#aa999999"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_membersince"
|
||||
android:text="0"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="20sp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_above="@+id/lbl_main_txt5"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_main_txt5"
|
||||
android:text="Thank you!"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="#aa999999"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user