Advertisement
Guest User

Untitled

a guest
Sep 5th, 2015
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.38 KB | None | 0 0
  1. <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:id="@+id/drawer_layout"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:fitsSystemWindows="true"
  7. tools:context=".InformacionTienda">
  8.  
  9. <ScrollView
  10. android:id="@+id/scrollView"
  11. android:layout_width="260dp"
  12. android:layout_height="match_parent"
  13. android:layout_marginTop="70dp">
  14.  
  15. <LinearLayout
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:orientation="vertical"
  19. android:paddingLeft="10dp"
  20. android:paddingRight="10dp">
  21.  
  22. <android.support.v7.widget.CardView
  23. android:id="@+id/quienesSomosCv"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content">
  26.  
  27. <RelativeLayout
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content">
  30.  
  31. <TextView
  32. android:id="@+id/quienesSomosCabecera"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:layout_alignParentLeft="true"
  36. android:background="#010001"
  37. android:text="¿Quiénes somos?"
  38. android:textColor="#fffcf7"
  39. android:textSize="@dimen/tamano_localizacion" />
  40.  
  41. <TextView
  42. android:id="@+id/quienesSomosTexto"
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:layout_below="@+id/quienesSomosCabecera"
  46. android:layout_centerHorizontal="true"
  47. android:paddingTop="5dp"
  48. android:text="test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test " />
  49. </RelativeLayout>
  50. </android.support.v7.widget.CardView>
  51.  
  52.  
  53. <android.support.v7.widget.CardView
  54. android:id="@+id/mapaCv"
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content">
  57.  
  58. <RelativeLayout
  59. android:layout_width="match_parent"
  60. android:layout_height="wrap_content">
  61.  
  62. <TextView
  63. android:id="@+id/localizacionCabecera"
  64. android:layout_width="wrap_content"
  65. android:layout_height="wrap_content"
  66. android:layout_alignParentLeft="true"
  67. android:background="#010001"
  68. android:text="Localización"
  69. android:textColor="#fffcf7"
  70. android:textSize="@dimen/tamano_localizacion" />
  71.  
  72. <ImageView
  73. android:id="@+id/mapa"
  74. android:layout_width="match_parent"
  75. android:layout_height="@dimen/tamano_mapa"
  76. android:layout_below="@+id/localizacionCabecera"
  77. android:layout_centerHorizontal="true"
  78. android:scaleType="centerCrop"
  79. android:src="@drawable/empresa_icon" />
  80.  
  81. </RelativeLayout>
  82. </android.support.v7.widget.CardView>
  83.  
  84.  
  85. <android.support.v7.widget.CardView
  86. android:id="@+id/contactoCv"
  87. android:layout_width="match_parent"
  88. android:layout_height="wrap_content">
  89.  
  90. <RelativeLayout
  91. android:layout_width="match_parent"
  92. android:layout_height="wrap_content">
  93.  
  94. <TextView
  95. android:id="@+id/contactoCabecera"
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:layout_alignParentLeft="true"
  99. android:background="#010001"
  100. android:text="Contacto"
  101. android:textColor="#fffcf7"
  102. android:textSize="@dimen/tamano_localizacion" />
  103.  
  104. <TextView
  105. android:id="@+id/telefono"
  106. android:layout_width="match_parent"
  107. android:layout_height="wrap_content"
  108. android:layout_below="@+id/contactoCabecera"
  109. android:paddingTop="5dp"
  110. android:text="Telefono: 666 666 666" />
  111.  
  112. <ImageButton
  113. android:id="@+id/botonLlamar"
  114. android:layout_width="wrap_content"
  115. android:layout_height="wrap_content"
  116. android:layout_alignEnd="@+id/telefono"
  117. android:layout_alignRight="@+id/telefono"
  118. android:background="@drawable/ic_launcher" />
  119.  
  120. <ImageButton
  121. android:id="@+id/botonMail"
  122. android:layout_width="wrap_content"
  123. android:layout_height="wrap_content"
  124. android:layout_alignEnd="@+id/telefono"
  125. android:layout_alignRight="@+id/telefono"
  126. android:layout_below="@+id/botonLlamar"
  127. android:background="@drawable/ic_launcher" />
  128.  
  129. <TextView
  130. android:id="@+id/calle"
  131. android:layout_width="match_parent"
  132. android:layout_height="wrap_content"
  133. android:layout_below="@+id/telefono"
  134. android:paddingTop="5dp"
  135. android:text="Calle: El 742 de Evergreen Terrace" />
  136.  
  137. <TextView
  138. android:id="@+id/facebook"
  139. android:layout_width="match_parent"
  140. android:layout_height="wrap_content"
  141. android:layout_below="@+id/calle"
  142. android:autoLink="web"
  143. android:paddingTop="5dp"
  144. android:text="www.facebook.com" />
  145.  
  146. <TextView
  147. android:id="@+id/mail"
  148. android:layout_width="match_parent"
  149. android:layout_height="wrap_content"
  150. android:layout_below="@+id/facebook"
  151. android:autoLink="email"
  152. android:paddingTop="5dp"
  153. android:text="email@email.com" />
  154.  
  155. </RelativeLayout>
  156.  
  157. </android.support.v7.widget.CardView>
  158. </LinearLayout>
  159. </ScrollView>
  160. <!-- Contenido de la actividad -->
  161. <include layout="@layout/content_layout" />
  162. <!-- Navigation Drawer Layout -->
  163. <include layout="@layout/navdrawer_layout" />
  164.  
  165. </android.support.v4.widget.DrawerLayout>
  166.  
  167. <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  168. xmlns:tools="http://schemas.android.com/tools"
  169. android:id="@+id/drawer_layout"
  170. android:layout_width="match_parent"
  171. android:layout_height="match_parent"
  172. android:fitsSystemWindows="true"
  173. tools:context=".InformacionTienda">
  174.  
  175. <LinearLayout
  176. android:id="@+id/testlayout"
  177. android:layout_width="match_parent"
  178. android:layout_height="match_parent"
  179. android:layout_marginTop="70dp"
  180. android:paddingTop="70dp">
  181.  
  182. <ScrollView
  183. android:id="@+id/scrollView"
  184. android:layout_width="match_parent"
  185. android:layout_height="match_parent">
  186.  
  187. <LinearLayout
  188. android:layout_width="wrap_content"
  189. android:layout_height="wrap_content"
  190. android:orientation="vertical"
  191. android:paddingLeft="10dp"
  192. android:paddingRight="10dp">
  193.  
  194. <android.support.v7.widget.CardView
  195. android:id="@+id/quienesSomosCv"
  196. android:layout_width="match_parent"
  197. android:layout_height="wrap_content">
  198.  
  199. <RelativeLayout
  200. android:layout_width="match_parent"
  201. android:layout_height="wrap_content">
  202.  
  203. <TextView
  204. android:id="@+id/quienesSomosCabecera"
  205. android:layout_width="wrap_content"
  206. android:layout_height="wrap_content"
  207. android:layout_alignParentLeft="true"
  208. android:background="#010001"
  209. android:text="¿Quiénes somos?"
  210. android:textColor="#fffcf7"
  211. android:textSize="@dimen/tamano_localizacion" />
  212.  
  213. <TextView
  214. android:id="@+id/quienesSomosTexto"
  215. android:layout_width="wrap_content"
  216. android:layout_height="wrap_content"
  217. android:layout_below="@+id/quienesSomosCabecera"
  218. android:layout_centerHorizontal="true"
  219. android:paddingTop="5dp"
  220. android:text="test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test " />
  221. </RelativeLayout>
  222. </android.support.v7.widget.CardView>
  223.  
  224.  
  225. <android.support.v7.widget.CardView
  226. android:id="@+id/mapaCv"
  227. android:layout_width="match_parent"
  228. android:layout_height="wrap_content">
  229.  
  230. <RelativeLayout
  231. android:layout_width="match_parent"
  232. android:layout_height="wrap_content">
  233.  
  234. <TextView
  235. android:id="@+id/localizacionCabecera"
  236. android:layout_width="wrap_content"
  237. android:layout_height="wrap_content"
  238. android:layout_alignParentLeft="true"
  239. android:background="#010001"
  240. android:text="Localización"
  241. android:textColor="#fffcf7"
  242. android:textSize="@dimen/tamano_localizacion" />
  243.  
  244. <ImageView
  245. android:id="@+id/mapa"
  246. android:layout_width="match_parent"
  247. android:layout_height="@dimen/tamano_mapa"
  248. android:layout_below="@+id/localizacionCabecera"
  249. android:layout_centerHorizontal="true"
  250. android:scaleType="centerCrop"
  251. android:src="@drawable/empresa_icon" />
  252.  
  253. </RelativeLayout>
  254. </android.support.v7.widget.CardView>
  255.  
  256.  
  257. <android.support.v7.widget.CardView
  258. android:id="@+id/contactoCv"
  259. android:layout_width="match_parent"
  260. android:layout_height="wrap_content">
  261.  
  262. <RelativeLayout
  263. android:layout_width="match_parent"
  264. android:layout_height="wrap_content">
  265.  
  266. <TextView
  267. android:id="@+id/contactoCabecera"
  268. android:layout_width="wrap_content"
  269. android:layout_height="wrap_content"
  270. android:layout_alignParentLeft="true"
  271. android:background="#010001"
  272. android:text="Contacto"
  273. android:textColor="#fffcf7"
  274. android:textSize="@dimen/tamano_localizacion" />
  275.  
  276. <TextView
  277. android:id="@+id/telefono"
  278. android:layout_width="match_parent"
  279. android:layout_height="wrap_content"
  280. android:layout_below="@+id/contactoCabecera"
  281. android:paddingTop="5dp"
  282. android:text="Telefono: 666 666 666" />
  283.  
  284. <ImageButton
  285. android:id="@+id/botonLlamar"
  286. android:layout_width="wrap_content"
  287. android:layout_height="wrap_content"
  288. android:layout_alignEnd="@+id/telefono"
  289. android:layout_alignRight="@+id/telefono"
  290. android:background="@drawable/ic_launcher" />
  291.  
  292. <ImageButton
  293. android:id="@+id/botonMail"
  294. android:layout_width="wrap_content"
  295. android:layout_height="wrap_content"
  296. android:layout_alignEnd="@+id/telefono"
  297. android:layout_alignRight="@+id/telefono"
  298. android:layout_below="@+id/botonLlamar"
  299. android:background="@drawable/ic_launcher" />
  300.  
  301. <TextView
  302. android:id="@+id/calle"
  303. android:layout_width="match_parent"
  304. android:layout_height="wrap_content"
  305. android:layout_below="@+id/telefono"
  306. android:paddingTop="5dp"
  307. android:text="Calle: El 742 de Evergreen Terrace" />
  308.  
  309. <TextView
  310. android:id="@+id/facebook"
  311. android:layout_width="match_parent"
  312. android:layout_height="wrap_content"
  313. android:layout_below="@+id/calle"
  314. android:autoLink="web"
  315. android:paddingTop="5dp"
  316. android:text="www.facebook.com" />
  317.  
  318. <TextView
  319. android:id="@+id/mail"
  320. android:layout_width="match_parent"
  321. android:layout_height="wrap_content"
  322. android:layout_below="@+id/facebook"
  323. android:autoLink="email"
  324. android:paddingTop="5dp"
  325. android:text="email@email.com" />
  326.  
  327. </RelativeLayout>
  328.  
  329. </android.support.v7.widget.CardView>
  330. </LinearLayout>
  331. </ScrollView>
  332. </LinearLayout>
  333. <!-- Contenido de la actividad -->
  334. <include layout="@layout/content_layout" />
  335. <!-- Navigation Drawer Layout -->
  336. <include layout="@layout/navdrawer_layout" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement