fragment_layout_home.xml 24 KB

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