fragment_layout_home.xml 24 KB

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