Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout
- android:id="@+id/wish_detailView_Background"
- android:layout_height="match_parent"
- android:layout_width="match_parent"
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:background="@color/Primary_White"
- xmlns:fab="http://schemas.android.com/apk/res-auto">
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <ImageView
- android:id="@+id/wish_detailView_image"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_launcher"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:id="@+id/wish_detail_title_background"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:background="@color/Primary_Blue_500">
- <TextView
- android:id="@+id/wishSettings_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Wish Title"
- android:ellipsize="end"
- android:layout_marginTop="10dp"
- android:layout_marginLeft="15dp"
- android:layout_marginBottom="10dp"
- android:textSize="22sp"/>
- </LinearLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishSettings_dueDate"
- android:layout_margin="15dp"
- android:layout_gravity="center|right"
- android:layout_marginLeft="10dp"
- android:text="Due Date:22/01/15"
- android:textSize="18sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishSettings_noteAdded"
- android:layout_margin="15dp"
- android:layout_marginLeft="10dp"
- android:text="Note:"
- android:textSize="18sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishSettings_time"
- android:layout_margin="15dp"
- android:layout_marginLeft="10dp"
- android:text="Reminder Time:"
- android:textSize="18sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishSettings_savedOn"
- android:layout_gravity="center|right"
- android:layout_margin="15dp"
- android:layout_marginLeft="10dp"
- android:text="Saved On:"
- android:textSize="14sp"/>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/wish_detailView_divider1"
- android:layout_width="match_parent"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:layout_height="2dp"
- android:orientation="vertical"
- android:background="@color/Primary_Blue_500">
- </LinearLayout>
- <TextView
- android:id="@+id/wishSettings_analytics"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Analytics"
- android:layout_gravity="center"
- android:layout_marginTop="15dp"
- android:layout_marginBottom="15dp"
- android:textSize="22sp"
- android:textColor="@color/Primary_Blue_500"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="15dp"
- android:layout_marginLeft="10dp"
- android:id="@+id/totalAmount"
- android:layout_weight="1"
- android:text="Total Amount:"
- android:textSize="18sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishSettings_price"
- android:text="2000"
- android:gravity="right"
- android:layout_weight="1"
- android:layout_margin="15dp"
- android:textSize="18sp"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="15dp"
- android:id="@+id/savePerDay"
- android:layout_marginLeft="10dp"
- android:text="Installment:"
- android:textSize="18sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishSettings_savingsEmi"
- android:text="500"
- android:gravity="right"
- android:layout_weight="1"
- android:layout_margin="15dp"
- android:textSize="18sp"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="15dp"
- android:id="@+id/amountSaved"
- android:layout_marginLeft="10dp"
- android:text="Amount Saved: "
- android:textSize="18sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishAnalytics_saved"
- android:text="500"
- android:gravity="right"
- android:layout_weight="1"
- android:layout_margin="15dp"
- android:textSize="18sp"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="15dp"
- android:id="@+id/amountLeft"
- android:layout_marginLeft="10dp"
- android:text="Amount Left: "
- android:textSize="18sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishAnalytics_left"
- android:text="500"
- android:gravity="right"
- android:layout_weight="1"
- android:layout_margin="15dp"
- android:textSize="18sp"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="15dp"
- android:layout_marginLeft="10dp"
- android:id="@+id/daysLeft"
- android:text="Days Left:"
- android:textSize="18sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishAnalytics_daysLeft"
- android:text="500"
- android:gravity="right"
- android:layout_weight="1"
- android:layout_margin="15dp"
- android:textSize="18sp"/>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/wish_detailView_divider2"
- android:layout_width="match_parent"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:layout_height="2dp"
- android:orientation="vertical"
- android:background="@color/Primary_Blue_500">
- </LinearLayout>
- <TextView
- android:id="@+id/wishSettings_milestones"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Milestones"
- android:layout_gravity="center"
- android:layout_marginTop="15dp"
- android:layout_marginBottom="15dp"
- android:textSize="22sp"
- android:textColor="@color/Primary_Blue_500"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:id="@+id/milestone_background"
- android:layout_width="match_parent"
- android:layout_height="7dp"
- android:layout_margin="3dp"
- android:layout_weight="0.2"
- android:baselineAligned="true"
- android:background="@color/Primary_Red_600">
- <!--THIS LAYOUT WILL SHOW THE MILESTONES -->
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="0dp"
- android:id="@+id/milestone1"
- android:layout_weight="0.20"
- android:layout_height="match_parent"
- android:layout_margin="1dp"
- android:background="@color/Primary_Red_600">
- </LinearLayout>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="0dp"
- android:layout_weight="0.20"
- android:id="@+id/milestone2"
- android:layout_height="match_parent"
- android:layout_margin="1dp"
- android:background="@color/Primary_Red_600">
- </LinearLayout>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="0dp"
- android:layout_weight="0.20"
- android:id="@+id/milestone3"
- android:layout_height="match_parent"
- android:layout_margin="1dp"
- android:background="@color/Primary_Red_200">
- </LinearLayout>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="0dp"
- android:layout_weight="0.20"
- android:id="@+id/milestone4"
- android:layout_height="match_parent"
- android:layout_margin="1dp"
- android:background="@color/Primary_White">
- </LinearLayout>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="0dp"
- android:layout_weight="0.20"
- android:id="@+id/milestone5"
- android:layout_height="match_parent"
- android:layout_margin="1dp"
- android:background="@color/Primary_White">
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="15dp"
- android:layout_weight="1"
- android:id="@+id/mile1Value"
- android:layout_marginLeft="10dp"
- android:text="Milestone 1(1080): Achieved "
- android:textSize="14sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishAnalytics_milestone1"
- android:text="500"
- android:gravity="right"
- android:layout_weight="1"
- android:textSize="14sp"
- android:layout_margin="15dp"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="15dp"
- android:id="@+id/mile2Value"
- android:layout_weight="1"
- android:layout_marginLeft="10dp"
- android:text="Milestone 2(5000): Achieved "
- android:textSize="14sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishAnalytics_milestone2"
- android:text="500"
- android:gravity="right"
- android:layout_weight="1"
- android:layout_margin="15dp"
- android:textSize="14sp"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/mile3Value"
- android:layout_margin="15dp"
- android:layout_weight="1"
- android:layout_marginLeft="10dp"
- android:text="Milestone 3(15000): Ongoing "
- android:textSize="14sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishAnalytics_milestone3"
- android:text="500"
- android:gravity="right"
- android:layout_weight="1"
- android:layout_margin="15dp"
- android:textSize="14sp"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="15dp"
- android:id="@+id/mile4Value"
- android:layout_weight="1"
- android:layout_marginLeft="10dp"
- android:text="Milestone 4(30000): Not Achieved "
- android:textSize="14sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishAnalytics_milestone4"
- android:text="500"
- android:gravity="right"
- android:layout_weight="1"
- android:layout_margin="15dp"
- android:textSize="14sp"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="15dp"
- android:id="@+id/mile5Value"
- android:layout_weight="1"
- android:layout_marginLeft="10dp"
- android:text="Milestone 5(45000): Not Achieved "
- android:textSize="14sp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/wishAnalytics_milestone5"
- android:text="500"
- android:gravity="right"
- android:layout_weight="1"
- android:layout_margin="15dp"
- android:textSize="14sp"/>
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- <com.getbase.floatingactionbutton.FloatingActionsMenu
- android:id="@+id/detail_multiple_actions"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- fab:fab_addButtonColorNormal="@color/Primary_White"
- fab:fab_addButtonColorPressed="@color/Primary_Grey_300"
- fab:fab_addButtonPlusIconColor="@color/Primary_Grey_600"
- android:layout_alignParentRight="true"
- android:layout_alignParentEnd="true"
- android:layout_marginBottom="16dp"
- android:layout_marginRight="16dp"
- android:layout_marginEnd="16dp">
- <com.getbase.floatingactionbutton.FloatingActionButton
- android:id="@+id/normal_plus"
- android:onClick="chooseAction"
- fab:fab_colorNormal="@color/Primary_White"
- fab:fab_icon="@drawable/ic_add_white_18dp"
- fab:fab_colorPressed="@color/Primary_Grey_300"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- />
- <com.getbase.floatingactionbutton.FloatingActionButton
- android:id="@+id/edit"
- android:onClick="editWish"
- fab:fab_icon="@drawable/ic_create_white_18dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- />
- </com.getbase.floatingactionbutton.FloatingActionsMenu>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement