Advertisement
Guest User

Untitled

a guest
Apr 25th, 2015
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.01 KB | None | 0 0
  1. <RelativeLayout
  2. android:id="@+id/wish_detailView_Background"
  3. android:layout_height="match_parent"
  4. android:layout_width="match_parent"
  5. xmlns:android="http://schemas.android.com/apk/res/android"
  6. android:orientation="vertical"
  7. android:background="@color/Primary_White"
  8. xmlns:fab="http://schemas.android.com/apk/res-auto">
  9.  
  10. <ScrollView
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent">
  13. <LinearLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"
  16. android:orientation="vertical">
  17.  
  18. <ImageView
  19. android:id="@+id/wish_detailView_image"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:src="@drawable/ic_launcher"/>
  23.  
  24. <LinearLayout
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:orientation="vertical">
  28.  
  29. <LinearLayout
  30.  
  31. android:id="@+id/wish_detail_title_background"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:orientation="horizontal"
  35. android:background="@color/Primary_Blue_500">
  36. <TextView
  37. android:id="@+id/wishSettings_title"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:text="Wish Title"
  41. android:ellipsize="end"
  42. android:layout_marginTop="10dp"
  43. android:layout_marginLeft="15dp"
  44. android:layout_marginBottom="10dp"
  45. android:textSize="22sp"/>
  46.  
  47. </LinearLayout>
  48.  
  49.  
  50.  
  51.  
  52. <TextView
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:id="@+id/wishSettings_dueDate"
  56. android:layout_margin="15dp"
  57. android:layout_gravity="center|right"
  58. android:layout_marginLeft="10dp"
  59. android:text="Due Date:22/01/15"
  60. android:textSize="18sp"/>
  61.  
  62.  
  63.  
  64.  
  65.  
  66. <TextView
  67. android:layout_width="wrap_content"
  68. android:layout_height="wrap_content"
  69. android:id="@+id/wishSettings_noteAdded"
  70. android:layout_margin="15dp"
  71. android:layout_marginLeft="10dp"
  72. android:text="Note:"
  73. android:textSize="18sp"/>
  74.  
  75. <TextView
  76. android:layout_width="wrap_content"
  77. android:layout_height="wrap_content"
  78. android:id="@+id/wishSettings_time"
  79. android:layout_margin="15dp"
  80. android:layout_marginLeft="10dp"
  81. android:text="Reminder Time:"
  82. android:textSize="18sp"/>
  83.  
  84. <TextView
  85. android:layout_width="wrap_content"
  86. android:layout_height="wrap_content"
  87. android:id="@+id/wishSettings_savedOn"
  88. android:layout_gravity="center|right"
  89. android:layout_margin="15dp"
  90. android:layout_marginLeft="10dp"
  91. android:text="Saved On:"
  92. android:textSize="14sp"/>
  93.  
  94.  
  95.  
  96.  
  97. </LinearLayout>
  98.  
  99. <LinearLayout
  100. android:id="@+id/wish_detailView_divider1"
  101. android:layout_width="match_parent"
  102. android:layout_marginLeft="20dp"
  103. android:layout_marginRight="20dp"
  104. android:layout_height="2dp"
  105. android:orientation="vertical"
  106. android:background="@color/Primary_Blue_500">
  107.  
  108. </LinearLayout>
  109.  
  110.  
  111.  
  112. <TextView
  113. android:id="@+id/wishSettings_analytics"
  114. android:layout_width="wrap_content"
  115. android:layout_height="wrap_content"
  116. android:text="Analytics"
  117. android:layout_gravity="center"
  118. android:layout_marginTop="15dp"
  119. android:layout_marginBottom="15dp"
  120. android:textSize="22sp"
  121. android:textColor="@color/Primary_Blue_500"/>
  122.  
  123.  
  124. <LinearLayout
  125. android:layout_width="match_parent"
  126. android:layout_height="wrap_content"
  127. android:orientation="vertical">
  128.  
  129. <LinearLayout
  130. android:layout_width="match_parent"
  131. android:layout_height="wrap_content"
  132. android:orientation="horizontal">
  133.  
  134. <TextView
  135. android:layout_width="wrap_content"
  136. android:layout_height="wrap_content"
  137. android:layout_margin="15dp"
  138. android:layout_marginLeft="10dp"
  139. android:id="@+id/totalAmount"
  140. android:layout_weight="1"
  141. android:text="Total Amount:"
  142. android:textSize="18sp"/>
  143.  
  144. <TextView
  145. android:layout_width="wrap_content"
  146. android:layout_height="wrap_content"
  147. android:id="@+id/wishSettings_price"
  148. android:text="2000"
  149. android:gravity="right"
  150. android:layout_weight="1"
  151. android:layout_margin="15dp"
  152. android:textSize="18sp"/>
  153.  
  154.  
  155. </LinearLayout>
  156.  
  157.  
  158.  
  159. <LinearLayout
  160. android:layout_width="match_parent"
  161. android:layout_height="wrap_content"
  162. android:orientation="horizontal">
  163.  
  164. <TextView
  165. android:layout_width="wrap_content"
  166. android:layout_height="wrap_content"
  167. android:layout_margin="15dp"
  168. android:id="@+id/savePerDay"
  169. android:layout_marginLeft="10dp"
  170. android:text="Installment:"
  171. android:textSize="18sp"/>
  172.  
  173. <TextView
  174. android:layout_width="wrap_content"
  175. android:layout_height="wrap_content"
  176. android:id="@+id/wishSettings_savingsEmi"
  177. android:text="500"
  178. android:gravity="right"
  179. android:layout_weight="1"
  180. android:layout_margin="15dp"
  181. android:textSize="18sp"/>
  182.  
  183.  
  184. </LinearLayout>
  185.  
  186. <LinearLayout
  187. android:layout_width="match_parent"
  188. android:layout_height="wrap_content"
  189. android:orientation="horizontal">
  190.  
  191. <TextView
  192. android:layout_width="wrap_content"
  193. android:layout_height="wrap_content"
  194. android:layout_margin="15dp"
  195. android:id="@+id/amountSaved"
  196. android:layout_marginLeft="10dp"
  197. android:text="Amount Saved: "
  198. android:textSize="18sp"/>
  199.  
  200. <TextView
  201. android:layout_width="wrap_content"
  202. android:layout_height="wrap_content"
  203. android:id="@+id/wishAnalytics_saved"
  204. android:text="500"
  205. android:gravity="right"
  206. android:layout_weight="1"
  207. android:layout_margin="15dp"
  208. android:textSize="18sp"/>
  209.  
  210.  
  211. </LinearLayout>
  212.  
  213.  
  214.  
  215. <LinearLayout
  216. android:layout_width="match_parent"
  217. android:layout_height="wrap_content"
  218. android:orientation="horizontal">
  219.  
  220. <TextView
  221. android:layout_width="wrap_content"
  222. android:layout_height="wrap_content"
  223. android:layout_margin="15dp"
  224. android:id="@+id/amountLeft"
  225. android:layout_marginLeft="10dp"
  226. android:text="Amount Left: "
  227. android:textSize="18sp"/>
  228.  
  229. <TextView
  230. android:layout_width="wrap_content"
  231. android:layout_height="wrap_content"
  232. android:id="@+id/wishAnalytics_left"
  233. android:text="500"
  234. android:gravity="right"
  235. android:layout_weight="1"
  236. android:layout_margin="15dp"
  237. android:textSize="18sp"/>
  238.  
  239.  
  240. </LinearLayout>
  241.  
  242. <LinearLayout
  243. android:layout_width="match_parent"
  244. android:layout_height="wrap_content"
  245. android:orientation="horizontal">
  246.  
  247. <TextView
  248. android:layout_width="wrap_content"
  249. android:layout_height="wrap_content"
  250. android:layout_margin="15dp"
  251. android:layout_marginLeft="10dp"
  252. android:id="@+id/daysLeft"
  253. android:text="Days Left:"
  254. android:textSize="18sp"/>
  255.  
  256. <TextView
  257. android:layout_width="wrap_content"
  258. android:layout_height="wrap_content"
  259. android:id="@+id/wishAnalytics_daysLeft"
  260. android:text="500"
  261. android:gravity="right"
  262. android:layout_weight="1"
  263. android:layout_margin="15dp"
  264. android:textSize="18sp"/>
  265.  
  266.  
  267. </LinearLayout>
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275. </LinearLayout>
  276.  
  277.  
  278.  
  279. <LinearLayout
  280. android:id="@+id/wish_detailView_divider2"
  281. android:layout_width="match_parent"
  282. android:layout_marginLeft="20dp"
  283. android:layout_marginRight="20dp"
  284. android:layout_height="2dp"
  285. android:orientation="vertical"
  286. android:background="@color/Primary_Blue_500">
  287.  
  288. </LinearLayout>
  289.  
  290.  
  291.  
  292. <TextView
  293. android:id="@+id/wishSettings_milestones"
  294. android:layout_width="wrap_content"
  295. android:layout_height="wrap_content"
  296. android:text="Milestones"
  297. android:layout_gravity="center"
  298. android:layout_marginTop="15dp"
  299. android:layout_marginBottom="15dp"
  300. android:textSize="22sp"
  301. android:textColor="@color/Primary_Blue_500"/>
  302.  
  303. <LinearLayout
  304. android:layout_width="match_parent"
  305. android:layout_height="wrap_content"
  306. android:orientation="vertical">
  307.  
  308. <LinearLayout
  309. android:id="@+id/milestone_background"
  310. android:layout_width="match_parent"
  311. android:layout_height="7dp"
  312. android:layout_margin="3dp"
  313. android:layout_weight="0.2"
  314. android:baselineAligned="true"
  315. android:background="@color/Primary_Red_600">
  316. <!--THIS LAYOUT WILL SHOW THE MILESTONES -->
  317. <LinearLayout
  318. android:orientation="horizontal"
  319. android:layout_width="0dp"
  320. android:id="@+id/milestone1"
  321. android:layout_weight="0.20"
  322. android:layout_height="match_parent"
  323. android:layout_margin="1dp"
  324. android:background="@color/Primary_Red_600">
  325.  
  326. </LinearLayout>
  327.  
  328. <LinearLayout
  329. android:orientation="horizontal"
  330. android:layout_width="0dp"
  331. android:layout_weight="0.20"
  332. android:id="@+id/milestone2"
  333. android:layout_height="match_parent"
  334. android:layout_margin="1dp"
  335. android:background="@color/Primary_Red_600">
  336.  
  337. </LinearLayout>
  338. <LinearLayout
  339. android:orientation="horizontal"
  340. android:layout_width="0dp"
  341. android:layout_weight="0.20"
  342. android:id="@+id/milestone3"
  343. android:layout_height="match_parent"
  344. android:layout_margin="1dp"
  345. android:background="@color/Primary_Red_200">
  346.  
  347. </LinearLayout>
  348. <LinearLayout
  349. android:orientation="horizontal"
  350. android:layout_width="0dp"
  351. android:layout_weight="0.20"
  352. android:id="@+id/milestone4"
  353. android:layout_height="match_parent"
  354. android:layout_margin="1dp"
  355. android:background="@color/Primary_White">
  356.  
  357. </LinearLayout>
  358. <LinearLayout
  359. android:orientation="horizontal"
  360. android:layout_width="0dp"
  361. android:layout_weight="0.20"
  362. android:id="@+id/milestone5"
  363. android:layout_height="match_parent"
  364. android:layout_margin="1dp"
  365. android:background="@color/Primary_White">
  366.  
  367. </LinearLayout>
  368.  
  369.  
  370. </LinearLayout>
  371. </LinearLayout>
  372.  
  373. <LinearLayout
  374. android:layout_width="match_parent"
  375. android:layout_height="wrap_content"
  376. android:orientation="vertical">
  377.  
  378. <LinearLayout
  379. android:layout_width="match_parent"
  380. android:layout_height="wrap_content"
  381. android:orientation="horizontal">
  382.  
  383. <TextView
  384. android:layout_width="wrap_content"
  385. android:layout_height="wrap_content"
  386. android:layout_margin="15dp"
  387. android:layout_weight="1"
  388. android:id="@+id/mile1Value"
  389. android:layout_marginLeft="10dp"
  390. android:text="Milestone 1(1080): Achieved "
  391. android:textSize="14sp"/>
  392.  
  393. <TextView
  394. android:layout_width="wrap_content"
  395. android:layout_height="wrap_content"
  396. android:id="@+id/wishAnalytics_milestone1"
  397. android:text="500"
  398. android:gravity="right"
  399. android:layout_weight="1"
  400. android:textSize="14sp"
  401. android:layout_margin="15dp"
  402. />
  403.  
  404.  
  405. </LinearLayout>
  406.  
  407. <LinearLayout
  408. android:layout_width="match_parent"
  409. android:layout_height="wrap_content"
  410. android:orientation="horizontal">
  411.  
  412. <TextView
  413. android:layout_width="wrap_content"
  414. android:layout_height="wrap_content"
  415. android:layout_margin="15dp"
  416. android:id="@+id/mile2Value"
  417. android:layout_weight="1"
  418. android:layout_marginLeft="10dp"
  419. android:text="Milestone 2(5000): Achieved "
  420. android:textSize="14sp"/>
  421.  
  422. <TextView
  423. android:layout_width="wrap_content"
  424. android:layout_height="wrap_content"
  425. android:id="@+id/wishAnalytics_milestone2"
  426. android:text="500"
  427. android:gravity="right"
  428. android:layout_weight="1"
  429. android:layout_margin="15dp"
  430. android:textSize="14sp"/>
  431.  
  432.  
  433. </LinearLayout>
  434.  
  435. <LinearLayout
  436. android:layout_width="match_parent"
  437. android:layout_height="wrap_content"
  438. android:orientation="horizontal">
  439.  
  440. <TextView
  441. android:layout_width="wrap_content"
  442. android:layout_height="wrap_content"
  443. android:id="@+id/mile3Value"
  444. android:layout_margin="15dp"
  445. android:layout_weight="1"
  446. android:layout_marginLeft="10dp"
  447. android:text="Milestone 3(15000): Ongoing "
  448. android:textSize="14sp"/>
  449.  
  450. <TextView
  451. android:layout_width="wrap_content"
  452. android:layout_height="wrap_content"
  453. android:id="@+id/wishAnalytics_milestone3"
  454. android:text="500"
  455. android:gravity="right"
  456. android:layout_weight="1"
  457. android:layout_margin="15dp"
  458. android:textSize="14sp"/>
  459.  
  460.  
  461. </LinearLayout>
  462.  
  463. <LinearLayout
  464. android:layout_width="match_parent"
  465. android:layout_height="wrap_content"
  466. android:orientation="horizontal">
  467.  
  468. <TextView
  469. android:layout_width="wrap_content"
  470. android:layout_height="wrap_content"
  471. android:layout_margin="15dp"
  472. android:id="@+id/mile4Value"
  473. android:layout_weight="1"
  474. android:layout_marginLeft="10dp"
  475. android:text="Milestone 4(30000): Not Achieved "
  476. android:textSize="14sp"/>
  477.  
  478. <TextView
  479. android:layout_width="wrap_content"
  480. android:layout_height="wrap_content"
  481. android:id="@+id/wishAnalytics_milestone4"
  482. android:text="500"
  483. android:gravity="right"
  484. android:layout_weight="1"
  485. android:layout_margin="15dp"
  486. android:textSize="14sp"/>
  487.  
  488.  
  489. </LinearLayout>
  490.  
  491. <LinearLayout
  492. android:layout_width="match_parent"
  493. android:layout_height="wrap_content"
  494. android:orientation="horizontal">
  495.  
  496. <TextView
  497. android:layout_width="wrap_content"
  498. android:layout_height="wrap_content"
  499. android:layout_margin="15dp"
  500. android:id="@+id/mile5Value"
  501. android:layout_weight="1"
  502. android:layout_marginLeft="10dp"
  503. android:text="Milestone 5(45000): Not Achieved "
  504. android:textSize="14sp"/>
  505.  
  506. <TextView
  507. android:layout_width="wrap_content"
  508. android:layout_height="wrap_content"
  509. android:id="@+id/wishAnalytics_milestone5"
  510. android:text="500"
  511. android:gravity="right"
  512. android:layout_weight="1"
  513. android:layout_margin="15dp"
  514. android:textSize="14sp"/>
  515.  
  516.  
  517. </LinearLayout>
  518.  
  519.  
  520.  
  521.  
  522. </LinearLayout>
  523.  
  524.  
  525. </LinearLayout>
  526.  
  527. </ScrollView>
  528.  
  529. <com.getbase.floatingactionbutton.FloatingActionsMenu
  530. android:id="@+id/detail_multiple_actions"
  531. android:layout_width="wrap_content"
  532. android:layout_height="wrap_content"
  533. android:layout_alignParentBottom="true"
  534. fab:fab_addButtonColorNormal="@color/Primary_White"
  535. fab:fab_addButtonColorPressed="@color/Primary_Grey_300"
  536. fab:fab_addButtonPlusIconColor="@color/Primary_Grey_600"
  537. android:layout_alignParentRight="true"
  538. android:layout_alignParentEnd="true"
  539. android:layout_marginBottom="16dp"
  540. android:layout_marginRight="16dp"
  541. android:layout_marginEnd="16dp">
  542.  
  543. <com.getbase.floatingactionbutton.FloatingActionButton
  544. android:id="@+id/normal_plus"
  545. android:onClick="chooseAction"
  546. fab:fab_colorNormal="@color/Primary_White"
  547. fab:fab_icon="@drawable/ic_add_white_18dp"
  548. fab:fab_colorPressed="@color/Primary_Grey_300"
  549. android:layout_width="wrap_content"
  550. android:layout_height="wrap_content"
  551. />
  552.  
  553.  
  554. <com.getbase.floatingactionbutton.FloatingActionButton
  555. android:id="@+id/edit"
  556. android:onClick="editWish"
  557. fab:fab_icon="@drawable/ic_create_white_18dp"
  558. android:layout_width="wrap_content"
  559. android:layout_height="wrap_content"
  560. />
  561.  
  562. </com.getbase.floatingactionbutton.FloatingActionsMenu>
  563.  
  564.  
  565.  
  566.  
  567.  
  568. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement