fragment_layout_home.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. <com.ivalentin.gm.CustomScrollView
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/sh_home_layout"
  4. android:layout_width="fill_parent"
  5. android:layout_height="wrap_content" >
  6. <LinearLayout
  7. android:layout_width="fill_parent"
  8. android:layout_height="wrap_content"
  9. android:orientation="vertical">
  10. <LinearLayout
  11. android:id="@+id/ll_home_section_location"
  12. android:layout_width="fill_parent"
  13. android:layout_height="wrap_content"
  14. android:orientation="vertical"
  15. android:background="@drawable/section"
  16. android:layout_margin="7dp"
  17. android:padding="7dp"
  18. android:visibility="gone">
  19. <TextView
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:text="@string/home_section_location"
  23. android:textAppearance="?android:attr/textAppearanceLarge"/>
  24. <LinearLayout
  25. android:id="@+id/ll_home_section_location_content"
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:layout_margin="10dp"
  29. android:orientation="vertical"
  30. android:background="@drawable/entry"
  31. android:padding="7dp">
  32. <TextView
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:textAppearance="@android:style/TextAppearance.Medium"
  36. android:text="@string/home_section_location_text_0"
  37. android:id="@+id/textView9"/>
  38. <LinearLayout
  39. android:orientation="horizontal"
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent"
  42. android:gravity="center_horizontal"
  43. android:layout_marginTop="10dp"
  44. android:layout_marginBottom="10dp">
  45. <ImageView
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:contentDescription="@string/app_cdesc"
  49. android:src="@drawable/pinpoint_gm"
  50. android:layout_margin="7dp"
  51. android:layout_gravity="center_vertical"/>
  52. <TextView
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:textAppearance="@android:style/TextAppearance.Medium"
  56. android:text="Medium Text"
  57. android:id="@+id/tv_home_section_location_distance"
  58. android:layout_gravity="center_vertical"
  59. android:layout_margin="7dp"/>
  60. </LinearLayout>
  61. </LinearLayout>
  62. </LinearLayout>
  63. <LinearLayout
  64. android:id="@+id/ll_home_section_lablanca"
  65. android:layout_width="fill_parent"
  66. android:layout_height="wrap_content"
  67. android:orientation="vertical"
  68. android:background="@drawable/section"
  69. android:layout_margin="7dp"
  70. android:padding="7dp"
  71. android:visibility="gone">
  72. <TextView
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:text="@string/home_section_lablanca"
  76. android:textAppearance="?android:attr/textAppearanceLarge"/>
  77. <LinearLayout
  78. android:id="@+id/ll_home_section_lablanca_content"
  79. android:layout_width="match_parent"
  80. android:layout_height="wrap_content"
  81. android:layout_margin="10dp"
  82. android:orientation="vertical"
  83. android:background="@drawable/entry"
  84. android:padding="7dp">
  85. </LinearLayout>
  86. </LinearLayout>
  87. <LinearLayout
  88. android:id="@+id/ll_home_section_gmschedule"
  89. android:layout_width="fill_parent"
  90. android:layout_height="wrap_content"
  91. android:orientation="vertical"
  92. android:background="@drawable/section"
  93. android:layout_margin="7dp"
  94. android:padding="7dp"
  95. android:visibility="gone">
  96. <TextView
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content"
  99. android:text="@string/home_section_gmschedule"
  100. android:textAppearance="?android:attr/textAppearanceLarge"
  101. android:layout_marginBottom="10dp"/>
  102. <LinearLayout
  103. android:orientation="vertical"
  104. android:layout_width="match_parent"
  105. android:layout_height="match_parent"
  106. android:background="@drawable/entry"
  107. android:id="@+id/ll_home_section_gmschedule_now_content"
  108. android:padding="7dp"
  109. android:layout_margin="10dp">
  110. <TextView
  111. android:layout_width="wrap_content"
  112. android:layout_height="wrap_content"
  113. android:textAppearance="@android:style/TextAppearance.Medium"
  114. android:text="@string/schedule_now"
  115. />
  116. <LinearLayout
  117. android:id="@+id/ll_home_section_gmschedule_now_list"
  118. android:layout_width="match_parent"
  119. android:layout_height="wrap_content"
  120. android:orientation="vertical"
  121. android:padding="7dp">
  122. </LinearLayout>
  123. </LinearLayout>
  124. <LinearLayout
  125. android:orientation="vertical"
  126. android:layout_width="match_parent"
  127. android:layout_height="match_parent"
  128. android:background="@drawable/entry"
  129. android:id="@+id/ll_home_section_gmschedule_later_content"
  130. android:padding="7dp"
  131. android:layout_margin="10dp">
  132. <TextView
  133. android:layout_width="wrap_content"
  134. android:layout_height="wrap_content"
  135. android:textAppearance="@android:style/TextAppearance.Medium"
  136. android:text="@string/schedule_later"
  137. />
  138. <LinearLayout
  139. android:id="@+id/ll_home_section_gmschedule_later_list"
  140. android:layout_width="match_parent"
  141. android:layout_height="wrap_content"
  142. android:orientation="vertical"
  143. android:padding="7dp">
  144. </LinearLayout>
  145. </LinearLayout>
  146. </LinearLayout>
  147. <LinearLayout
  148. android:id="@+id/ll_home_section_cityschedule"
  149. android:layout_width="fill_parent"
  150. android:layout_height="wrap_content"
  151. android:orientation="vertical"
  152. android:background="@drawable/section"
  153. android:layout_margin="7dp"
  154. android:padding="7dp"
  155. android:visibility="gone">
  156. <TextView
  157. android:layout_width="wrap_content"
  158. android:layout_height="wrap_content"
  159. android:text="@string/home_section_cityschedule"
  160. android:textAppearance="?android:attr/textAppearanceLarge"
  161. android:layout_marginBottom="10dp"/>
  162. <LinearLayout
  163. android:orientation="vertical"
  164. android:layout_width="match_parent"
  165. android:layout_height="match_parent"
  166. android:background="@drawable/entry"
  167. android:id="@+id/ll_home_section_cityschedule_now_content"
  168. android:padding="7dp"
  169. android:layout_margin="10dp">
  170. <TextView
  171. android:layout_width="wrap_content"
  172. android:layout_height="wrap_content"
  173. android:textAppearance="@android:style/TextAppearance.Medium"
  174. android:text="@string/schedule_now"
  175. />
  176. <LinearLayout
  177. android:id="@+id/ll_home_section_cityschedule_now_list"
  178. android:layout_width="match_parent"
  179. android:layout_height="wrap_content"
  180. android:orientation="vertical"
  181. android:padding="7dp">
  182. </LinearLayout>
  183. </LinearLayout>
  184. <LinearLayout
  185. android:orientation="vertical"
  186. android:layout_width="match_parent"
  187. android:layout_height="match_parent"
  188. android:background="@drawable/entry"
  189. android:id="@+id/ll_home_section_cityschedule_later_content"
  190. android:padding="7dp"
  191. android:layout_margin="10dp">
  192. <TextView
  193. android:layout_width="wrap_content"
  194. android:layout_height="wrap_content"
  195. android:textAppearance="@android:style/TextAppearance.Medium"
  196. android:text="@string/schedule_later"
  197. />
  198. <LinearLayout
  199. android:id="@+id/ll_home_section_cityschedule_later_list"
  200. android:layout_width="match_parent"
  201. android:layout_height="wrap_content"
  202. android:orientation="vertical"
  203. android:padding="7dp">
  204. </LinearLayout>
  205. </LinearLayout>
  206. </LinearLayout>
  207. <LinearLayout
  208. android:id="@+id/ll_home_section_around"
  209. android:layout_width="fill_parent"
  210. android:layout_height="wrap_content"
  211. android:orientation="vertical"
  212. android:background="@drawable/section"
  213. android:layout_margin="7dp"
  214. android:padding="7dp"
  215. android:visibility="gone">
  216. <TextView
  217. android:layout_width="wrap_content"
  218. android:layout_height="wrap_content"
  219. android:text="@string/home_section_around"
  220. android:textAppearance="?android:attr/textAppearanceLarge"/>
  221. <LinearLayout
  222. android:id="@+id/ll_home_section_around_content"
  223. android:layout_width="match_parent"
  224. android:layout_height="wrap_content"
  225. android:layout_margin="10dp"
  226. android:orientation="vertical"
  227. android:background="@drawable/entry"
  228. android:padding="7dp">
  229. </LinearLayout>
  230. </LinearLayout>
  231. <LinearLayout
  232. android:id="@+id/ll_home_section_activities_future"
  233. android:layout_width="fill_parent"
  234. android:layout_height="wrap_content"
  235. android:orientation="vertical"
  236. android:background="@drawable/section"
  237. android:layout_margin="7dp"
  238. android:padding="7dp"
  239. android:visibility="gone">
  240. <TextView
  241. android:layout_width="wrap_content"
  242. android:layout_height="wrap_content"
  243. android:text="@string/home_section_activities_future"
  244. android:textAppearance="?android:attr/textAppearanceLarge"/>
  245. <LinearLayout
  246. android:id="@+id/ll_home_section_activities_future_content"
  247. android:layout_width="match_parent"
  248. android:layout_height="wrap_content"
  249. android:layout_margin="10dp"
  250. android:orientation="vertical">
  251. </LinearLayout>
  252. </LinearLayout>
  253. <LinearLayout
  254. android:id="@+id/ll_home_section_blog"
  255. android:layout_width="fill_parent"
  256. android:layout_height="wrap_content"
  257. android:orientation="vertical"
  258. android:background="@drawable/section"
  259. android:layout_margin="7dp"
  260. android:padding="7dp">
  261. <TextView
  262. android:layout_width="wrap_content"
  263. android:layout_height="wrap_content"
  264. android:text="@string/home_section_blog"
  265. android:textAppearance="?android:attr/textAppearanceLarge"/>
  266. <LinearLayout
  267. android:id="@+id/ll_home_section_blog_content"
  268. android:layout_width="match_parent"
  269. android:layout_height="wrap_content"
  270. android:layout_margin="10dp"
  271. android:orientation="vertical">
  272. </LinearLayout>
  273. </LinearLayout>
  274. <LinearLayout
  275. android:id="@+id/ll_home_section_gallery"
  276. android:layout_width="fill_parent"
  277. android:layout_height="wrap_content"
  278. android:orientation="vertical"
  279. android:background="@drawable/section"
  280. android:layout_margin="7dp"
  281. android:padding="7dp">
  282. <TextView
  283. android:layout_width="wrap_content"
  284. android:layout_height="wrap_content"
  285. android:text="@string/home_section_gallery"
  286. android:textAppearance="?android:attr/textAppearanceLarge"/>
  287. <LinearLayout
  288. android:id="@+id/ll_home_section_gallery_content"
  289. android:layout_width="match_parent"
  290. android:layout_height="wrap_content"
  291. android:layout_margin="10dp"
  292. android:orientation="vertical"
  293. android:background="@drawable/entry"
  294. android:padding="7dp">
  295. <LinearLayout
  296. android:baselineAligned="true"
  297. android:orientation="horizontal"
  298. android:layout_width="match_parent"
  299. android:layout_height="match_parent">
  300. <LinearLayout
  301. android:orientation="horizontal"
  302. android:layout_width="fill_parent"
  303. android:layout_height="match_parent"
  304. android:layout_weight=".5"
  305. android:gravity="center_vertical|center_horizontal">
  306. <ImageView
  307. android:layout_width="wrap_content"
  308. android:layout_height="wrap_content"
  309. android:id="@+id/iv_home_section_gallery_0"
  310. android:contentDescription="@string/app_cdesc"
  311. android:layout_margin="7dp"
  312. android:padding="1dp"
  313. android:background="@color/album_border" />
  314. </LinearLayout>
  315. <LinearLayout
  316. android:orientation="horizontal"
  317. android:layout_width="fill_parent"
  318. android:layout_height="match_parent"
  319. android:layout_weight=".5"
  320. android:gravity="center_vertical|center_horizontal">
  321. <ImageView
  322. android:layout_width="wrap_content"
  323. android:layout_height="wrap_content"
  324. android:id="@+id/iv_home_section_gallery_1"
  325. android:contentDescription="@string/app_cdesc"
  326. android:layout_margin="7dp"
  327. android:background="@color/album_border"
  328. android:padding="1dp" />
  329. </LinearLayout>
  330. </LinearLayout>
  331. <LinearLayout
  332. android:baselineAligned="false"
  333. android:orientation="horizontal"
  334. android:layout_width="match_parent"
  335. android:layout_height="match_parent" >
  336. <LinearLayout
  337. android:orientation="horizontal"
  338. android:layout_width="fill_parent"
  339. android:layout_height="match_parent"
  340. android:layout_weight=".5"
  341. android:gravity="center_vertical|center_horizontal">
  342. <ImageView
  343. android:layout_width="wrap_content"
  344. android:layout_height="wrap_content"
  345. android:id="@+id/iv_home_section_gallery_2"
  346. android:contentDescription="@string/app_cdesc"
  347. android:layout_margin="7dp"
  348. android:padding="1dp"
  349. android:background="@color/album_border" />
  350. </LinearLayout>
  351. <LinearLayout
  352. android:orientation="horizontal"
  353. android:layout_width="fill_parent"
  354. android:layout_height="match_parent"
  355. android:layout_weight=".5"
  356. android:gravity="center_vertical|center_horizontal">
  357. <ImageView
  358. android:layout_width="wrap_content"
  359. android:layout_height="wrap_content"
  360. android:id="@+id/iv_home_section_gallery_3"
  361. android:contentDescription="@string/app_cdesc"
  362. android:layout_margin="7dp"
  363. android:background="@color/album_border"
  364. android:padding="1dp" />
  365. </LinearLayout>
  366. </LinearLayout>
  367. <TextView
  368. android:layout_width="wrap_content"
  369. android:layout_height="wrap_content"
  370. android:textAppearance="?android:attr/textAppearanceMedium"
  371. android:text="Medium Text"
  372. android:id="@+id/tv_home_section_gallery_hidden_0"
  373. android:visibility="gone" />
  374. <TextView
  375. android:layout_width="wrap_content"
  376. android:layout_height="wrap_content"
  377. android:textAppearance="?android:attr/textAppearanceMedium"
  378. android:text="Medium Text"
  379. android:id="@+id/tv_home_section_gallery_hidden_1"
  380. android:visibility="gone" />
  381. <TextView
  382. android:layout_width="wrap_content"
  383. android:layout_height="wrap_content"
  384. android:textAppearance="?android:attr/textAppearanceMedium"
  385. android:text="Medium Text"
  386. android:id="@+id/tv_home_section_gallery_hidden_2"
  387. android:visibility="gone" />
  388. <TextView
  389. android:layout_width="wrap_content"
  390. android:layout_height="wrap_content"
  391. android:textAppearance="?android:attr/textAppearanceMedium"
  392. android:text="Medium Text"
  393. android:id="@+id/tv_home_section_gallery_hidden_3"
  394. android:visibility="gone" />
  395. </LinearLayout>
  396. </LinearLayout>
  397. <LinearLayout
  398. android:id="@+id/ll_home_section_activities_past"
  399. android:layout_width="fill_parent"
  400. android:layout_height="wrap_content"
  401. android:orientation="vertical"
  402. android:background="@drawable/section"
  403. android:layout_margin="7dp"
  404. android:padding="7dp"
  405. android:visibility="gone">
  406. <TextView
  407. android:layout_width="wrap_content"
  408. android:layout_height="wrap_content"
  409. android:text="@string/home_section_activities_past"
  410. android:textAppearance="?android:attr/textAppearanceLarge"/>
  411. <LinearLayout
  412. android:id="@+id/ll_home_section_activities_past_content"
  413. android:layout_width="match_parent"
  414. android:layout_height="wrap_content"
  415. android:layout_margin="10dp"
  416. android:orientation="vertical">
  417. </LinearLayout>
  418. </LinearLayout>
  419. <LinearLayout
  420. android:id="@+id/ll_home_section_social"
  421. android:layout_width="fill_parent"
  422. android:layout_height="wrap_content"
  423. android:orientation="vertical"
  424. android:background="@drawable/section"
  425. android:layout_margin="7dp"
  426. android:padding="7dp">
  427. <TextView
  428. android:layout_width="wrap_content"
  429. android:layout_height="wrap_content"
  430. android:text="@string/home_section_social"
  431. android:textAppearance="?android:attr/textAppearanceLarge"/>
  432. <LinearLayout
  433. android:id="@+id/ll_home_section_social_content"
  434. android:layout_width="match_parent"
  435. android:layout_height="wrap_content"
  436. android:layout_margin="10dp"
  437. android:orientation="vertical"
  438. android:background="@drawable/entry"
  439. android:padding="7dp">
  440. <LinearLayout
  441. android:layout_width="fill_parent"
  442. android:layout_height="wrap_content"
  443. android:gravity="center_horizontal" >
  444. <ImageView
  445. android:id="@+id/iv_home_section_social_phone"
  446. android:layout_width="wrap_content"
  447. android:layout_height="wrap_content"
  448. android:layout_margin="10dp"
  449. android:adjustViewBounds="true"
  450. android:contentDescription="@string/social_mail"
  451. android:maxWidth="50dp"
  452. android:src="@drawable/social_phone"/>
  453. <ImageView
  454. android:id="@+id/iv_home_section_social_mail"
  455. android:layout_width="wrap_content"
  456. android:layout_height="wrap_content"
  457. android:layout_margin="10dp"
  458. android:adjustViewBounds="true"
  459. android:contentDescription="@string/social_web"
  460. android:maxWidth="50dp"
  461. android:src="@drawable/social_mail" />
  462. <ImageView
  463. android:id="@+id/iv_home_section_social_whatsapp"
  464. android:layout_width="wrap_content"
  465. android:layout_height="wrap_content"
  466. android:layout_margin="10dp"
  467. android:adjustViewBounds="true"
  468. android:contentDescription="@string/social_web"
  469. android:maxWidth="50dp"
  470. android:src="@drawable/social_whatsapp" />
  471. <ImageView
  472. android:id="@+id/iv_home_section_social_facebook"
  473. android:layout_width="wrap_content"
  474. android:layout_height="wrap_content"
  475. android:layout_margin="10dp"
  476. android:adjustViewBounds="true"
  477. android:contentDescription="@string/social_facebook"
  478. android:maxWidth="50dp"
  479. android:src="@drawable/social_facebook" />
  480. </LinearLayout>
  481. <LinearLayout
  482. android:layout_width="fill_parent"
  483. android:layout_height="wrap_content"
  484. android:gravity="center_horizontal" >
  485. <ImageView
  486. android:id="@+id/iv_home_section_social_twitter"
  487. android:layout_width="wrap_content"
  488. android:layout_height="wrap_content"
  489. android:layout_margin="10dp"
  490. android:adjustViewBounds="true"
  491. android:contentDescription="@string/social_twitter"
  492. android:maxWidth="50dp"
  493. android:src="@drawable/social_twitter" />
  494. <ImageView
  495. android:id="@+id/iv_home_section_social_googleplus"
  496. android:layout_width="wrap_content"
  497. android:layout_height="wrap_content"
  498. android:layout_margin="10dp"
  499. android:adjustViewBounds="true"
  500. android:contentDescription="@string/social_googleplus"
  501. android:maxWidth="50dp"
  502. android:src="@drawable/social_googleplus" />
  503. <ImageView
  504. android:id="@+id/iv_home_section_social_youtube"
  505. android:layout_width="wrap_content"
  506. android:layout_height="wrap_content"
  507. android:layout_margin="10dp"
  508. android:adjustViewBounds="true"
  509. android:contentDescription="@string/social_youtube"
  510. android:maxWidth="50dp"
  511. android:src="@drawable/social_youtube" />
  512. <ImageView
  513. android:id="@+id/iv_home_section_social_instagram"
  514. android:layout_width="wrap_content"
  515. android:layout_height="wrap_content"
  516. android:layout_margin="10dp"
  517. android:adjustViewBounds="true"
  518. android:contentDescription="@string/social_instagram"
  519. android:maxWidth="50dp"
  520. android:src="@drawable/social_instagram" />
  521. </LinearLayout>
  522. </LinearLayout>
  523. </LinearLayout>
  524. </LinearLayout>
  525. </com.ivalentin.gm.CustomScrollView>