Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Inicio

  • Loading branch information...
commit a1f51ff909b1aa58e9db992c94c17cea15373331 0 parents
@JesusM authored
Showing with 2,929 additions and 0 deletions.
  1. +7 −0 .classpath
  2. +33 −0 .project
  3. +27 −0 AndroidManifest.xml
  4. BIN  bin/Diaspora (Copia conflictiva de jesus-Aspire-5742G 2011-06-11).apk
  5. BIN  bin/Diaspora.apk
  6. BIN  bin/classes.dex
  7. BIN  bin/resources (Copia conflictiva de jesus-Aspire-5742G 2011-06-11).ap_
  8. BIN  bin/resources.ap_
  9. +11 −0 default.properties
  10. +36 −0 proguard.cfg
  11. +7 −0 res/drawable-hdpi/all_circle_notif.xml
  12. BIN  res/drawable-hdpi/arrow_right.PNG
  13. BIN  res/drawable-hdpi/asterisk.png
  14. +11 −0 res/drawable-hdpi/background_with_alpha.xml
  15. +7 −0 res/drawable-hdpi/circle_shape.xml
  16. BIN  res/drawable-hdpi/custom_photo.png
  17. BIN  res/drawable-hdpi/fondo.png
  18. BIN  res/drawable-hdpi/fondo2.png
  19. BIN  res/drawable-hdpi/fondo3.png
  20. BIN  res/drawable-hdpi/ic_search_category_default.png
  21. BIN  res/drawable-hdpi/icon.png
  22. BIN  res/drawable-hdpi/list_white.png
  23. BIN  res/drawable-hdpi/logo_caps.png
  24. BIN  res/drawable-hdpi/logo_large.png
  25. +6 −0 res/drawable-hdpi/my_border_all_open.xml
  26. +7 −0 res/drawable-hdpi/my_border_button.xml
  27. +6 −0 res/drawable-hdpi/my_border_button_blue.xml
  28. +6 −0 res/drawable-hdpi/my_border_button_search.xml
  29. +7 −0 res/drawable-hdpi/my_border_edittext_open_bottom.xml
  30. +7 −0 res/drawable-hdpi/my_border_edittext_open_bottom_selected.xml
  31. +7 −0 res/drawable-hdpi/my_border_edittext_open_top.xml
  32. +8 −0 res/drawable-hdpi/my_border_edittext_open_top_selected.xml
  33. +7 −0 res/drawable-hdpi/my_border_gray_open_all.xml
  34. +5 −0 res/drawable-hdpi/my_border_not_open.xml
  35. +5 −0 res/drawable-hdpi/my_border_not_open_selected.xml
  36. +6 −0 res/drawable-hdpi/my_border_open_bottom_black.xml
  37. +7 −0 res/drawable-hdpi/my_border_open_bottom_log_in.xml
  38. +7 −0 res/drawable-hdpi/my_border_open_top_log_in.xml
  39. +9 −0 res/drawable-hdpi/my_border_orange_open_all.xml
  40. +4 −0 res/drawable-hdpi/my_border_simple_selected.xml
  41. +5 −0 res/drawable-hdpi/my_border_white_not_open.xml
  42. +7 −0 res/drawable-hdpi/my_border_white_open_all.xml
  43. +6 −0 res/drawable-hdpi/my_border_white_open_all_selected.xml
  44. +7 −0 res/drawable-hdpi/my_border_white_open_bottom.xml
  45. +7 −0 res/drawable-hdpi/my_border_white_open_top.xml
  46. BIN  res/drawable-hdpi/patrond.png
  47. BIN  res/drawable-hdpi/photo.png
  48. BIN  res/drawable-hdpi/photo_large.png
  49. BIN  res/drawable-hdpi/search_white.png
  50. +5 −0 res/drawable-hdpi/square_notification.xml
  51. BIN  res/drawable-hdpi/thumb_small_80b0c1784f47c6e99984.jpg
  52. BIN  res/drawable-hdpi/white_2x.png
  53. BIN  res/drawable-ldpi/icon.png
  54. BIN  res/drawable-mdpi/icon.png
  55. +42 −0 res/layout/comentario.xml
  56. +97 −0 res/layout/conversation.xml
  57. +59 −0 res/layout/inbox.xml
  58. +56 −0 res/layout/main.xml
  59. +57 −0 res/layout/new_message.xml
  60. +55 −0 res/layout/principal.xml
  61. +98 −0 res/layout/view_aspects.xml
  62. +62 −0 res/layout/view_notifications.xml
  63. +63 −0 res/layout/vista_busqueda.xml
  64. +106 −0 res/layout/vista_comment.xml
  65. +67 −0 res/layout/vista_escribir.xml
  66. +38 −0 res/layout/vista_recuperacion_contrasena.xml
  67. +16 −0 res/values/color.xml
  68. +6 −0 res/values/strings.xml
  69. +67 −0 src/org/jesus/Diaspora/Comentario.java
  70. +95 −0 src/org/jesus/Diaspora/Conversation.java
  71. +67 −0 src/org/jesus/Diaspora/Inicio.java
  72. +16 −0 src/org/jesus/Diaspora/NewMessage.java
  73. +32 −0 src/org/jesus/Diaspora/Notify.java
  74. +212 −0 src/org/jesus/Diaspora/PantallaBonita.java
  75. +186 −0 src/org/jesus/Diaspora/PantallaPrincipal.java
  76. +291 −0 src/org/jesus/Diaspora/ViewInbox.java
  77. +353 −0 src/org/jesus/Diaspora/ViewNotifications.java
  78. +44 −0 src/org/jesus/Diaspora/VistaBusqueda.java
  79. +278 −0 src/org/jesus/Diaspora/VistaComentarios.java
  80. +173 −0 src/org/jesus/Diaspora/VistaEscribir.java
  81. +13 −0 src/org/jesus/Diaspora/VistaRecuperarContrasena.java
7 .classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
33 .project
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>Diaspora</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
27 AndroidManifest.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.jesus.Diaspora" android:versionCode="1"
+ android:versionName="1.0">
+ <application android:icon="@drawable/asterisk"
+ android:label="@string/app_name">
+ <activity android:name=".Inicio" android:label="@string/app_name"
+ android:windowSoftInputMode="adjustResize|stateHidden">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ <activity android:name=".PantallaPrincipal" android:label="@string/app_name"
+ android:windowSoftInputMode="adjustResize"></activity>
+ <activity android:name=".PantallaBonita"></activity>
+ <activity android:name=".VistaBusqueda"></activity>
+ <activity android:name=".VistaEscribir"></activity>
+ <activity android:name=".VistaComentarios"></activity>
+ <activity android:name=".VistaRecuperarContrasena"></activity>
+ <activity android:name=".ViewNotifications"></activity>
+ <activity android:name=".ViewInbox"></activity>
+ <activity android:name=".NewMessage"></activity>
+ <activity android:name=".Conversation"
+ android:windowSoftInputMode="adjustResize|stateHidden"></activity>
+ </application>
+</manifest>
BIN  bin/Diaspora (Copia conflictiva de jesus-Aspire-5742G 2011-06-11).apk
Binary file not shown
BIN  bin/Diaspora.apk
Binary file not shown
BIN  bin/classes.dex
Binary file not shown
BIN  bin/resources (Copia conflictiva de jesus-Aspire-5742G 2011-06-11).ap_
Binary file not shown
BIN  bin/resources.ap_
Binary file not shown
11 default.properties
@@ -0,0 +1,11 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system use,
+# "build.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=android-8
36 proguard.cfg
@@ -0,0 +1,36 @@
+-optimizationpasses 5
+-dontusemixedcaseclassnames
+-dontskipnonpubliclibraryclasses
+-dontpreverify
+-verbose
+-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
+
+-keep public class * extends android.app.Activity
+-keep public class * extends android.app.Application
+-keep public class * extends android.app.Service
+-keep public class * extends android.content.BroadcastReceiver
+-keep public class * extends android.content.ContentProvider
+-keep public class * extends android.app.backup.BackupAgentHelper
+-keep public class * extends android.preference.Preference
+-keep public class com.android.vending.licensing.ILicensingService
+
+-keepclasseswithmembernames class * {
+ native <methods>;
+}
+
+-keepclasseswithmembernames class * {
+ public <init>(android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembernames class * {
+ public <init>(android.content.Context, android.util.AttributeSet, int);
+}
+
+-keepclassmembers enum * {
+ public static **[] values();
+ public static ** valueOf(java.lang.String);
+}
+
+-keep class * implements android.os.Parcelable {
+ public static final android.os.Parcelable$Creator *;
+}
7 res/drawable-hdpi/all_circle_notif.xml
@@ -0,0 +1,7 @@
+<shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='@color/white'></solid>
+ <padding android:left="7dp" android:right="7dp" />
+ <stroke android:width="2dip" android:color="@color/dkgray" />
+ <corners android:topLeftRadius="9dip" android:topRightRadius="9dip"
+ android:bottomLeftRadius="9dip" android:bottomRightRadius="9dip" />
+</shape>
BIN  res/drawable-hdpi/arrow_right.PNG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/asterisk.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 res/drawable-hdpi/background_with_alpha.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+
+ <solid android:color="#60F2F2F2"></solid>
+ <padding android:left="7dp"
+ android:top="7dp"
+ android:right="7dp"
+ android:bottom="7dp" />
+ <corners android:radius="10dp" />
+</shape>
7 res/drawable-hdpi/circle_shape.xml
@@ -0,0 +1,7 @@
+<shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color="@color/white" ></solid>
+ <padding android:left="6dp" android:right="6dp" />
+ <stroke android:width="1dip" android:color="@color/dkgray" />
+ <corners android:topLeftRadius="15dip" android:topRightRadius="15dip"
+ android:bottomLeftRadius="15dip" android:bottomRightRadius="15dip" />
+</shape>
BIN  res/drawable-hdpi/custom_photo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/fondo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/fondo2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/fondo3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/ic_search_category_default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/list_white.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/logo_caps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/logo_large.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 res/drawable-hdpi/my_border_all_open.xml
@@ -0,0 +1,6 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <gradient android:startColor="#FFFFFF" android:endColor="#E6E6E6" android:angle="270"></gradient>
+ <stroke android:width="2dip" android:color="@color/gray" />
+ <corners android:topLeftRadius="10dip" android:topRightRadius="10dip"
+ android:bottomLeftRadius="10dip" android:bottomRightRadius="10dip" />
+</shape>
7 res/drawable-hdpi/my_border_button.xml
@@ -0,0 +1,7 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='@color/black'></solid>
+
+ <padding android:left="7dp" android:top="7dp" android:right="7dp"
+ android:bottom="7dp" />
+ <corners android:radius="4dp" />
+</shape>
6 res/drawable-hdpi/my_border_button_blue.xml
@@ -0,0 +1,6 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='#045FB4'></solid>
+ <padding android:top="4px" android:bottom="4px" android:left="4dip" android:right="4dip"></padding>
+ <corners android:topLeftRadius="13dip" android:topRightRadius="13dip"
+ android:bottomLeftRadius="13dip" android:bottomRightRadius="13dip" />
+</shape>
6 res/drawable-hdpi/my_border_button_search.xml
@@ -0,0 +1,6 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <gradient android:endColor="#FFFFFF" android:startColor="#E6E6E6" android:angle="90"></gradient>
+ <stroke android:width="2dip" android:color="@color/gray" />
+ <corners android:topLeftRadius="19dip" android:topRightRadius="19dip"
+ android:bottomLeftRadius="19dip" android:bottomRightRadius="19dip" />
+</shape>
7 res/drawable-hdpi/my_border_edittext_open_bottom.xml
@@ -0,0 +1,7 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <gradient android:endColor="#FFFFFF" android:startColor="#E6E6E6" android:angle="90"></gradient>
+ <stroke android:width="2dip" android:color="@color/gray" />
+ <corners android:topLeftRadius="15dip" android:topRightRadius="15dip"
+ />
+
+</shape>
7 res/drawable-hdpi/my_border_edittext_open_bottom_selected.xml
@@ -0,0 +1,7 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <gradient android:startColor='#2E9AFE' android:endColor="#A9F5F2" android:angle="270"></gradient>
+ <stroke android:width="2dip" android:color="@color/gray" />
+ <corners android:topLeftRadius="15dip" android:topRightRadius="15dip"
+ />
+
+</shape>
7 res/drawable-hdpi/my_border_edittext_open_top.xml
@@ -0,0 +1,7 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <gradient android:endColor="#FFFFFF" android:startColor="#E6E6E6" android:angle="90"></gradient>
+ <stroke android:width="2dip" android:color="@color/gray" />
+ <corners
+ android:bottomLeftRadius="15dip" android:bottomRightRadius="15dip" />
+
+</shape>
8 res/drawable-hdpi/my_border_edittext_open_top_selected.xml
@@ -0,0 +1,8 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <gradient android:startColor='#2E9AFE' android:endColor="#A9F5F2"
+ android:angle="90"></gradient>
+ <stroke android:width="2dip" android:color="@color/gray" />
+ <corners android:bottomLeftRadius="15dip"
+ android:bottomRightRadius="15dip" />
+
+</shape>
7 res/drawable-hdpi/my_border_gray_open_all.xml
@@ -0,0 +1,7 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='#E6E6E6'></solid>
+ <stroke android:width="1dip" android:color="@color/dkgray" />
+ <padding android:bottom="5dp" />
+ <corners android:topLeftRadius="4dip" android:topRightRadius="4dip"
+ android:bottomLeftRadius="4dip" android:bottomRightRadius="4dip" />
+</shape>
5 res/drawable-hdpi/my_border_not_open.xml
@@ -0,0 +1,5 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <gradient android:endColor="#FFFFFF" android:startColor="#E6E6E6" android:angle="90"></gradient>
+ <stroke android:width="2dip" android:color="@color/gray" />
+
+</shape>
5 res/drawable-hdpi/my_border_not_open_selected.xml
@@ -0,0 +1,5 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color="@color/AzulLetras"></solid>
+ <stroke android:width="2dip" android:color="@color/gray" />
+
+</shape>
6 res/drawable-hdpi/my_border_open_bottom_black.xml
@@ -0,0 +1,6 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color="@color/black" ></solid>
+ <corners android:topLeftRadius="15dip" android:topRightRadius="15dip"
+ />
+
+</shape>
7 res/drawable-hdpi/my_border_open_bottom_log_in.xml
@@ -0,0 +1,7 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='@color/white'></solid>
+ <stroke android:width="2dip" android:color="@color/dkgray" />
+ <corners android:topLeftRadius="15dip" android:topRightRadius="15dip"
+ />
+
+</shape>
7 res/drawable-hdpi/my_border_open_top_log_in.xml
@@ -0,0 +1,7 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='@color/white'></solid>
+ <stroke android:width="2dip" android:color="@color/dkgray" />
+ <corners
+ android:bottomLeftRadius="15dip" android:bottomRightRadius="15dip" />
+
+</shape>
9 res/drawable-hdpi/my_border_orange_open_all.xml
@@ -0,0 +1,9 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='#ff6600'></solid>
+ <gradient android:endColor="#ff6600" android:startColor="#ff8800" android:angle="270"></gradient>
+
+ <padding android:bottom="5dp" />
+ <stroke android:width="1dip" android:color="@color/gray" />
+ <corners android:topLeftRadius="10dip" android:topRightRadius="10dip"
+ android:bottomLeftRadius="10dip" android:bottomRightRadius="10dip" />
+</shape>
4 res/drawable-hdpi/my_border_simple_selected.xml
@@ -0,0 +1,4 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <gradient android:startColor='#2E9AFE' android:endColor="#A9F5F2" android:angle="90"></gradient>
+ <stroke android:width="2dip" android:color="@color/gray" />
+</shape>
5 res/drawable-hdpi/my_border_white_not_open.xml
@@ -0,0 +1,5 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='@color/white'></solid>
+ <stroke android:width="2dip" android:color="@color/gray" />
+
+</shape>
7 res/drawable-hdpi/my_border_white_open_all.xml
@@ -0,0 +1,7 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='@color/white'></solid>
+ <stroke android:width="1dip" android:color="@color/dkgray" />
+ <padding android:bottom="5dp" />
+ <corners android:topLeftRadius="10dip" android:topRightRadius="10dip"
+ android:bottomLeftRadius="10dip" android:bottomRightRadius="10dip" />
+</shape>
6 res/drawable-hdpi/my_border_white_open_all_selected.xml
@@ -0,0 +1,6 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <gradient android:startColor='#2E9AFE' android:endColor="#A9F5F2" android:angle="90"></gradient>
+ <padding android:bottom="5dp" />
+ <corners android:topLeftRadius="10dip" android:topRightRadius="10dip"
+ android:bottomLeftRadius="10dip" android:bottomRightRadius="10dip" />
+</shape>
7 res/drawable-hdpi/my_border_white_open_bottom.xml
@@ -0,0 +1,7 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='@color/white'></solid>
+ <stroke android:width="2dip" android:color="@color/gray" />
+ <corners android:topLeftRadius="10dip" android:topRightRadius="10dip"
+ />
+
+</shape>
7 res/drawable-hdpi/my_border_white_open_top.xml
@@ -0,0 +1,7 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color='@color/white'></solid>
+ <stroke android:width="2dip" android:color="@color/gray" />
+ <corners android:bottomLeftRadius="10dip"
+ android:bottomRightRadius="10dip" />
+
+</shape>
BIN  res/drawable-hdpi/patrond.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/photo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/photo_large.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/search_white.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 res/drawable-hdpi/square_notification.xml
@@ -0,0 +1,5 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color="@color/gray"></solid>
+ <corners android:topLeftRadius="9dip" android:topRightRadius="9dip"
+ android:bottomLeftRadius="9dip" android:bottomRightRadius="9dip" />
+</shape>
BIN  res/drawable-hdpi/thumb_small_80b0c1784f47c6e99984.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-hdpi/white_2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-ldpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  res/drawable-mdpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 res/layout/comentario.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/white">
+ <LinearLayout android:layout_width="wrap_content"
+ android:id="@+id/LayoutPhotoProfile" android:layout_alignParentLeft="true"
+ android:layout_height="fill_parent" android:layout_marginTop="15px">
+ <ImageView android:layout_width="45px"
+ android:layout_alignParentLeft="true" android:layout_marginLeft="10px"
+ android:id="@+id/PhotoProfile" android:gravity="center"
+ android:layout_marginBottom="15px" android:layout_height="45px"
+ android:src="@drawable/list_white"></ImageView>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent" android:layout_marginRight="4dip"
+ android:layout_marginLeft="7px" android:orientation="vertical"
+ android:layout_toRightOf="@id/LayoutPhotoProfile"
+ android:layout_alignTop="@id/LayoutPhotoProfile"
+ android:layout_height="fill_parent">
+ <TextView android:layout_width="fill_parent" android:id="@+id/NameProfile"
+ android:layout_height="wrap_content" android:textStyle="bold"
+ android:textColor="@color/black" android:gravity="left" android:text="Jesus"></TextView>
+ <ImageView android:layout_width="fill_parent" android:id="@+id/UploadPhoto"
+ android:gravity="left" android:adjustViewBounds="true" android:background="@color/black"
+ android:layout_height="wrap_content"></ImageView>
+ <TextView android:layout_width="fill_parent" android:id="@+id/comentario"
+ android:layout_height="wrap_content" android:textColor="@color/black"
+ android:gravity="left" android:text="Jesus"></TextView>
+ <LinearLayout android:layout_width="fill_parent" android:layout_marginTop="7dip"
+ android:orientation="horizontal" android:layout_height="fill_parent">
+ <TextView android:layout_width="fill_parent" android:id="@+id/comentarioSince"
+ android:layout_weight="1.0" android:layout_height="wrap_content"
+ android:textColor="@color/dkgray" android:gravity="left"
+ android:text="Jesus"></TextView>
+ <TextView android:layout_width="fill_parent" android:id="@+id/comentarioResponses"
+ android:layout_marginRight="3px" android:layout_weight="1.0"
+ android:layout_height="wrap_content" android:textColor="#0174DF"
+ android:gravity="right" android:text="Jesus"></TextView>
+ </LinearLayout>
+
+ </LinearLayout>
+
+</RelativeLayout>
97 res/layout/conversation.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:background="@color/lightgray">
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="fill_parent" android:orientation="vertical"
+ android:focusable="true" android:focusableInTouchMode="true">
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/black">
+ <RelativeLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:layout_marginBottom="10px">
+ <ImageView android:layout_width="35px"
+ android:layout_alignParentLeft="true" android:layout_marginLeft="10px"
+ android:id="@+id/iconolista" android:gravity="center"
+ android:layout_marginTop="15px" android:layout_marginBottom="15px"
+ android:layout_height="35px" android:src="@drawable/list_white"></ImageView>
+ <ImageView android:layout_width="35px" android:id="@+id/iconobusqueda"
+ android:layout_marginRight="15px" android:layout_marginBottom="15px"
+ android:layout_alignParentRight="true" android:layout_marginTop="15px"
+ android:layout_gravity="center" android:layout_height="35px"
+ android:src="@drawable/search_white"></ImageView>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_alignTop="@id/iconolista" android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/iconolista" android:layout_toLeftOf="@id/iconobusqueda">
+ <ImageView android:layout_width="fill_parent" android:id="@+id/letrero"
+ android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
+ android:src="@drawable/white_2x" />
+ </LinearLayout>
+
+
+ </RelativeLayout>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginTop="10dip" android:layout_height="fill_parent"
+ android:orientation="vertical">
+ <RelativeLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:layout_marginLeft="15dip"
+ android:layout_marginRight="15dip">
+ <TextView android:layout_width="wrap_content"
+ android:textSize="18dip" android:layout_alignParentLeft="true"
+ android:textColor="@color/black" android:layout_height="wrap_content"
+ android:text="Asunto" android:gravity="left"></TextView>
+ <ImageView android:layout_width="50dip"
+ android:layout_alignParentRight="true" android:layout_height="55dip"
+ android:src="@drawable/custom_photo"></ImageView>
+ </RelativeLayout>
+ <RelativeLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:layout_marginLeft="15dip"
+ android:layout_marginRight="15dip">
+ <Button android:layout_width="wrap_content" android:id="@+id/response"
+ android:textSize="18dip" android:layout_alignParentLeft="true"
+ android:textColor="@color/black" android:layout_height="wrap_content"
+ android:text="Responder" android:gravity="left"></Button>
+ <Button android:layout_width="wrap_content" android:id="@+id/erase"
+ android:textSize="18dip" android:layout_alignParentRight="true"
+ android:textColor="@color/black" android:layout_height="wrap_content"
+ android:text="Eliminar" android:gravity="right"></Button>
+
+ </RelativeLayout>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginBottom="15dip" android:layout_height="2dip"
+ android:background="@color/gray"></LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:id="@+id/rellenar"
+ android:orientation="vertical"></LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:paddingLeft="5dip" android:paddingRight="5dip"
+ android:layout_marginTop="12dip" android:layout_height="wrap_content"
+ android:layout_marginBottom="10dip">
+ <ImageView android:layout_width="45dip"
+ android:layout_height="45dip" android:src="@drawable/custom_photo"></ImageView>
+ <EditText android:layout_width="fill_parent" android:id="@+id/respon"
+ android:layout_marginLeft="7dip" android:paddingLeft="5dip"
+ android:layout_height="wrap_content" android:lines="4"></EditText>
+ </LinearLayout>
+ <RelativeLayout android:layout_width="fill_parent"
+ android:paddingRight="5dip" android:paddingLeft="7dip"
+ android:layout_height="wrap_content" android:layout_marginBottom="10dip">
+ <Button android:layout_width="wrap_content" android:id="@+id/a"
+ android:layout_alignParentRight="true" android:layout_height="wrap_content"
+ android:paddingLeft="8dip" android:paddingRight="8dip"
+ android:paddingTop="3dip" android:paddingBottom="3dip"
+ android:textColor="@color/black" android:background="@drawable/my_border_all_open"
+ android:text="Aceptar"></Button>
+ <Button android:layout_width="wrap_content"
+ android:layout_marginRight="15dip" android:layout_toLeftOf="@id/a"
+ android:layout_height="wrap_content" android:paddingLeft="8dip"
+ android:paddingRight="8dip" android:paddingTop="3dip"
+ android:paddingBottom="3dip"
+ android:background="@drawable/my_border_all_open" android:textColor="@color/black"
+ android:text="Cancelar"></Button>
+ </RelativeLayout>
+ </LinearLayout>
+</ScrollView>
59 res/layout/inbox.xml
@@ -0,0 +1,59 @@
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:background="#A4A4A4">
+ <LinearLayout android:orientation="vertical"
+ android:layout_width="fill_parent" android:layout_height="fill_parent">
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/black">
+ <RelativeLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:layout_marginBottom="10px">
+ <ImageView android:layout_width="35px"
+ android:layout_alignParentLeft="true" android:layout_marginLeft="10px"
+ android:id="@+id/iconolista" android:gravity="center"
+ android:layout_marginTop="15px" android:layout_marginBottom="15px"
+ android:layout_height="35px" android:src="@drawable/list_white"></ImageView>
+ <ImageView android:layout_width="35px" android:id="@+id/iconobusqueda"
+ android:layout_marginRight="15px" android:layout_marginBottom="15px"
+ android:layout_alignParentRight="true" android:layout_marginTop="15px"
+ android:layout_gravity="center" android:layout_height="35px"
+ android:src="@drawable/search_white"></ImageView>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_alignTop="@id/iconolista" android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/iconolista"
+ android:layout_toLeftOf="@id/iconobusqueda">
+ <ImageView android:layout_width="fill_parent" android:id="@+id/letrero"
+ android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
+ android:src="@drawable/white_2x" />
+ </LinearLayout>
+
+
+ </RelativeLayout>
+ </LinearLayout>
+ <RelativeLayout android:layout_width="fill_parent"
+ android:layout_marginLeft="5dip" android:layout_marginTop="14dip"
+ android:layout_marginRight="5dip" android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <TextView android:layout_width="fill_parent" android:layout_alignParentLeft="true"
+ android:layout_centerInParent="true"
+ android:gravity="left" android:layout_marginLeft="7dip"
+ android:layout_height="wrap_content" android:textStyle="bold"
+ android:textSize="20dip" android:textColor="@color/black"
+ android:text="Inbox"></TextView>
+ <Button android:layout_width="wrap_content" android:id="@+id/new_message"
+ android:layout_alignParentRight="true"
+ android:layout_centerInParent="true" android:layout_height="wrap_content"
+ android:text="New Message" android:paddingLeft="9dip"
+ android:paddingTop="5dip" android:paddingRight="9dip"
+ android:paddingBottom="5dip" android:textColor="@color/black"
+ android:textStyle="bold" android:background="@drawable/my_border_not_open"></Button>
+ </RelativeLayout>
+ <LinearLayout android:layout_width="fill_parent" android:layout_marginTop="15dip"
+ android:layout_height="wrap_content" android:id="@+id/messages"
+ android:orientation="vertical"></LinearLayout>
+
+
+ </LinearLayout>
+</ScrollView>
56 res/layout/main.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical" android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+ <ImageView android:layout_width="fill_parent" android:scaleType="fitXY"
+ android:layout_height="fill_parent" android:src="@drawable/fondo"></ImageView>
+ <LinearLayout
+ android:orientation="vertical" android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/black">
+ <ImageView android:layout_width="fill_parent"
+ android:layout_marginTop="15px" android:layout_marginBottom="15px"
+ android:layout_height="wrap_content" android:src="@drawable/logo_large"></ImageView>
+ </LinearLayout>
+ <LinearLayout android:orientation="vertical"
+ android:gravity="center" android:layout_width="fill_parent"
+ android:layout_marginLeft='17dip' android:layout_marginRight='17dip'
+ android:layout_height="fill_parent">
+ <LinearLayout android:orientation="vertical"
+ android:gravity="center" android:layout_width="fill_parent"
+ android:padding="12dip" android:layout_height="wrap_content"
+ android:background="@drawable/background_with_alpha">
+ <EditText android:id="@+id/user" android:layout_width="fill_parent"
+ android:layout_height="41dip" android:hint='User name'
+ android:background="@drawable/my_border_open_bottom_log_in"
+ android:layout_gravity="center" android:gravity="center">
+ </EditText>
+ <EditText android:id="@+id/pass" android:layout_width="fill_parent"
+ android:layout_height="41dip" android:password='true' android:hint='Password'
+ android:background="@drawable/my_border_open_top_log_in"
+ android:gravity="center">
+ </EditText>
+
+ <TextView android:layout_width="fill_parent" android:id='@+id/cartel2'
+ android:text="¿Don't remember your password?"
+ android:layout_height="wrap_content" android:gravity="center"
+ android:textSize='14dip' android:layout_marginRight='17dip'
+ android:layout_marginLeft='17dip' android:layout_marginTop='14dip'
+ android:layout_marginBottom='7dip' android:textColor='@color/white'
+ android:textStyle="bold">
+ </TextView>
+ <Button android:id="@+id/Entrar" android:layout_width="wrap_content"
+ android:layout_marginTop="15dip" android:paddingTop="5dip"
+ android:paddingBottom="5dip" android:layout_height="wrap_content"
+ android:paddingLeft="28px" android:paddingRight="28px"
+ android:text="Log in" android:textSize='16px' android:textStyle="bold"
+ android:gravity='center_horizontal' android:textColor='@color/black'
+ android:background="@drawable/my_border_orange_open_all">
+ </Button>
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+</FrameLayout>
57 res/layout/new_message.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:background="@color/lightgray" android:layout_marginLeft="5dip"
+ android:layout_marginRight="5dip">
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="fill_parent" android:orientation="vertical">
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginLeft="5dip" android:layout_marginRight="5dip"
+ android:layout_height="wrap_content" android:background="@drawable/my_border_open_bottom_black"
+ android:layout_marginTop="5dip">
+ <TextView android:layout_width="fill_parent"
+ android:paddingLeft="10dip" android:textSize="20dip"
+ android:paddingTop="13dip" android:paddingBottom="13dip"
+ android:layout_height="wrap_content" android:text="New Message"
+ android:textColor="@color/white" android:gravity="left"></TextView>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginTop="15dip" android:layout_height="wrap_content"
+ android:layout_marginLeft="10dip">
+ <EditText android:layout_width="fill_parent" android:hint="To"
+ android:shadowColor="@color/blue"
+ android:shadowDx="3.5" android:paddingTop="6dip"
+ android:paddingBottom="6dip" android:layout_marginRight="10dip"
+ android:layout_height="wrap_content" android:gravity="left|center_vertical"></EditText>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginTop="15dip" android:layout_height="wrap_content"
+ android:paddingBottom="10dip" android:layout_marginLeft="10dip">
+
+ <EditText android:layout_width="fill_parent" android:hint="Asunto"
+ android:paddingTop="6dip"
+ android:paddingBottom="6dip" android:layout_marginRight="10dip"
+ android:layout_height="wrap_content" android:gravity="left|center_vertical"></EditText>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+
+ android:layout_marginTop="15dip" android:layout_height="fill_parent"
+ android:paddingTop="10dip" android:paddingBottom="10dip"
+ android:layout_marginLeft="10dip">
+
+ <EditText android:layout_width="fill_parent" android:hint="Message"
+ android:paddingBottom="6dip" android:layout_marginRight="10dip"
+ android:layout_marginBottom="10dip" android:layout_height="fill_parent"
+ android:lines="6" android:gravity="top|left"></EditText>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginRight="10dip" android:layout_height="wrap_content"
+ android:gravity="right">
+ <Button android:layout_width="wrap_content" android:textColor="@color/black"
+ android:paddingLeft="18dip" android:paddingTop="8dip"
+ android:paddingBottom="8dip" android:layout_height="wrap_content"
+ android:paddingRight="18dip" android:background="@drawable/my_border_orange_open_all"
+ android:text="Send" android:layout_gravity="right"></Button>
+ </LinearLayout>
+ </LinearLayout>
+</ScrollView>
55 res/layout/principal.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent"
+ android:layout_height="fill_parent" android:background="#A4A4A4">
+ <LinearLayout
+ android:orientation="vertical" android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/black">
+ <RelativeLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:layout_marginBottom="10px">
+ <ImageView android:layout_width="35px"
+ android:layout_alignParentLeft="true" android:layout_marginLeft="10px"
+ android:id="@+id/iconolista" android:gravity="center"
+ android:layout_marginTop="15px" android:layout_marginBottom="15px"
+ android:layout_height="35px" android:src="@drawable/list_white"></ImageView>
+ <ImageView android:layout_width="35px" android:id="@+id/iconobusqueda"
+ android:layout_marginRight="15px" android:layout_marginBottom="15px"
+ android:layout_alignParentRight="true" android:layout_marginTop="15px"
+ android:layout_gravity="center" android:layout_height="35px"
+ android:src="@drawable/search_white"></ImageView>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_alignTop="@id/iconolista" android:layout_height="wrap_content"
+ android:id="@+id/letrero" android:layout_toRightOf="@id/iconolista"
+ android:layout_toLeftOf="@id/iconobusqueda">
+ <ImageView android:layout_width="fill_parent"
+ android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
+ android:src="@drawable/white_2x" />
+ </LinearLayout>
+
+
+ </RelativeLayout>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:background="@color/dkgray">
+ <TextView android:layout_width="fill_parent" android:id="@+id/aspect"
+ android:layout_height="wrap_content" android:textStyle="bold"
+ android:textColor="@color/white" android:gravity="center_horizontal"
+ android:text="all aspects "></TextView>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:background="@color/gray">
+ <TextView android:layout_width="fill_parent" android:id="@+id/write"
+ android:layout_height="wrap_content" android:textStyle="bold"
+ android:textColor="@color/black" android:gravity="left"
+ android:textSize="15px" android:text="post a message >>"></TextView>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:id="@+id/comentarios"
+ android:orientation="vertical"></LinearLayout>
+
+
+ </LinearLayout>
+</ScrollView>
98 res/layout/view_aspects.xml
@@ -0,0 +1,98 @@
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:background="@color/lightgray">
+ <LinearLayout android:orientation="vertical"
+ android:layout_width="fill_parent" android:layout_height="fill_parent">
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/black">
+ <RelativeLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:layout_marginBottom="10px">
+
+ <ImageView android:layout_width="35px" android:id="@+id/iconobusqueda"
+ android:layout_marginRight="15px" android:layout_marginBottom="15px"
+ android:layout_alignParentRight="true" android:layout_marginTop="15px"
+ android:layout_gravity="center" android:layout_height="35px"
+ android:src="@drawable/search_white"></ImageView>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_alignTop="@id/iconobusqueda" android:layout_height="wrap_content"
+ android:layout_toLeftOf="@id/iconobusqueda">
+ <ImageView android:layout_width="fill_parent" android:id="@+id/letrero"
+ android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
+ android:src="@drawable/white_2x" />
+ </LinearLayout>
+
+
+ </RelativeLayout>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:id="@+id/a" android:layout_marginLeft="15px"
+ android:layout_marginTop="15px" android:layout_marginRight="15px"
+ android:layout_height="wrap_content" android:orientation="vertical">
+ <TextView android:layout_width="fill_parent" android:id="@+id/NombreProfile"
+ android:layout_height="wrap_content" android:textStyle="bold"
+ android:textColor="@color/black" android:gravity="left" android:textSize="24dip"
+ android:text="Jesus" android:layout_marginBottom="20px"></TextView>
+ <RelativeLayout android:layout_width="fill_parent" android:id="@+id/notify"
+ android:padding="7dip" android:gravity="center" android:paddingTop="2dip"
+ android:layout_height="wrap_content" android:background="@drawable/my_border_edittext_open_bottom"
+ >
+ <ImageView android:layout_width="wrap_content" android:id="@+id/b"
+ android:textColor="@color/black" android:src="@drawable/arrow_right" android:paddingTop="8px" android:paddingBottom="8px"
+ android:layout_centerInParent="true" android:layout_marginRight="7px"
+ android:layout_marginLeft="7px" android:layout_alignParentRight="true"
+ android:gravity="left" android:layout_height="wrap_content" />
+
+ <TextView android:layout_width="wrap_content" android:text="10" android:textStyle="bold" android:id="@+id/number_of_notifications"
+ android:background="@drawable/circle_shape" android:gravity="right|center_vertical" android:layout_centerVertical="true"
+ android:textColor="@color/black" android:layout_marginLeft="7px"
+ android:layout_marginRight="7px" android:layout_toLeftOf="@id/b"
+ android:layout_height="wrap_content"></TextView>
+
+ <TextView android:layout_width="wrap_content"
+ android:layout_alignParentLeft="true" android:id="@+id/a2"
+ android:textStyle="bold" android:layout_centerInParent="true"
+ android:layout_marginLeft="7px" android:textColor="@color/black"
+ android:text="Notifications" android:layout_height="fill_parent"></TextView>
+
+
+
+ </RelativeLayout>
+ <RelativeLayout android:layout_width="fill_parent" android:id="@+id/inbox"
+ android:padding="7dip" android:gravity="center"
+ android:layout_height="wrap_content" android:background="@drawable/my_border_edittext_open_top"
+ android:layout_marginBottom="10dip">
+ <ImageView android:layout_width="wrap_content" android:id="@+id/b"
+ android:textColor="@color/black" android:src="@drawable/arrow_right" android:paddingTop="8px" android:paddingBottom="8px"
+ android:layout_centerInParent="true" android:layout_marginRight="7px"
+ android:layout_marginLeft="7px" android:layout_alignParentRight="true"
+ android:gravity="left" android:layout_height="wrap_content" />
+
+ <TextView android:layout_width="wrap_content" android:text="5" android:textStyle="bold"
+ android:background="@drawable/circle_shape" android:gravity="right" android:layout_centerInParent="true"
+ android:textColor="@color/black" android:layout_marginLeft="7px"
+ android:layout_marginRight="7px" android:layout_toLeftOf="@id/b"
+ android:layout_height="wrap_content"></TextView>
+
+ <TextView android:layout_width="wrap_content"
+ android:layout_alignParentLeft="true" android:id="@+id/a2"
+ android:textStyle="bold" android:layout_centerInParent="true"
+ android:layout_marginLeft="7px" android:textColor="@color/black"
+ android:text="Message Inbox" android:layout_height="fill_parent"></TextView>
+
+
+
+ </RelativeLayout>
+ <TextView android:layout_width="fill_parent" android:id="@+id/NombreProfile"
+ android:layout_height="wrap_content" android:textStyle="bold"
+ android:textColor="@color/black" android:gravity="left"
+ android:text="Your aspects" android:layout_marginBottom="20px"></TextView>
+ </LinearLayout>
+
+
+
+
+ </LinearLayout>
+
+</ScrollView>
62 res/layout/view_notifications.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:background="@color/lightgray">
+ <LinearLayout android:orientation="vertical"
+ android:layout_width="fill_parent" android:layout_height="wrap_content">
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/black">
+ <RelativeLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:layout_marginBottom="10px">
+
+ <ImageView android:layout_width="35px" android:id="@+id/iconobusqueda"
+ android:layout_marginRight="15px" android:layout_marginBottom="15px"
+ android:layout_alignParentRight="true" android:layout_marginTop="15px"
+ android:layout_gravity="center" android:layout_height="35px"
+ android:src="@drawable/search_white"></ImageView>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_alignTop="@id/iconobusqueda" android:layout_height="wrap_content"
+ android:layout_toLeftOf="@id/iconobusqueda">
+ <ImageView android:layout_width="fill_parent" android:id="@+id/letrero"
+ android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
+ android:src="@drawable/white_2x" />
+ </LinearLayout>
+
+
+ </RelativeLayout>
+ </LinearLayout>
+ <RelativeLayout android:layout_width="fill_parent"
+ android:layout_marginLeft="5dip" android:layout_marginTop="14dip"
+ android:layout_marginRight="5dip" android:layout_height="wrap_content"
+ android:orientation="horizontal">
+ <TextView android:layout_width="wrap_content"
+ android:layout_centerInParent="true" android:paddingLeft="10dip"
+ android:paddingRight="10dip" android:layout_alignParentLeft="true"
+ android:id="@+id/number_of_notifications" android:background="@drawable/square_notification"
+ android:layout_height="wrap_content" android:textSize="25dip"
+ android:textColor="@color/dkgray" android:text="0"></TextView>
+ <TextView android:layout_width="fill_parent"
+ android:layout_centerInParent="true" android:layout_toRightOf="@id/number_of_notifications"
+ android:gravity="left" android:layout_marginLeft="7dip"
+ android:layout_height="wrap_content" android:textStyle="bold"
+ android:textSize="20dip" android:textColor="@color/black"
+ android:text="Notifications"></TextView>
+ <Button android:layout_width="wrap_content" android:id="@+id/Mark_as_read"
+ android:layout_alignParentRight="true"
+ android:layout_centerInParent="true" android:layout_height="wrap_content"
+ android:text="Mark all as read" android:paddingLeft="3dip"
+ android:paddingTop="5dip" android:paddingRight="3dip"
+ android:paddingBottom="5dip" android:textColor="@color/black"
+ android:textStyle="bold" android:background="@drawable/my_border_not_open"></Button>
+ </RelativeLayout>
+ <LinearLayout android:orientation="vertical"
+ android:layout_marginTop="14dip"
+ android:layout_width="fill_parent" android:layout_height="1dip" android:background="@color/gray"></LinearLayout>
+ <LinearLayout android:orientation="vertical"
+ android:id="@+id/layout_notif_a_rellenar"
+ android:layout_marginTop="14dip"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"></LinearLayout>
+ </LinearLayout>
+</ScrollView>
63 res/layout/vista_busqueda.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical" android:layout_width="fill_parent"
+ android:layout_height="fill_parent" android:background="@color/lightgray">
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/black">
+ <RelativeLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:layout_marginBottom="10px">
+ <ImageView android:layout_width="35px"
+ android:layout_alignParentLeft="true" android:layout_marginLeft="10px"
+ android:id="@+id/iconolista" android:gravity="center"
+ android:layout_marginTop="15px" android:layout_marginBottom="15px"
+ android:layout_height="35px" android:src="@drawable/list_white"></ImageView>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_alignTop="@id/iconolista" android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/iconolista">
+ <ImageView android:layout_width="fill_parent" android:id="@+id/letrero"
+ android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
+ android:src="@drawable/white_2x" />
+ </LinearLayout>
+
+
+ </RelativeLayout>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginLeft="1dip" android:layout_marginRight="1dip"
+ android:layout_height="wrap_content" android:orientation="vertical"
+ android:layout_marginTop="45dip" android:layout_marginBottom="15dip">
+ <EditText android:id="@+id/Button07" android:layout_width="fill_parent"
+ android:paddingTop="3dip" android:paddingBottom="3dip"
+ android:layout_marginTop="5px" android:layout_marginRight="5px"
+ android:background="@drawable/my_border_all_open"
+ android:layout_height="wrap_content" android:gravity="center"
+ android:drawableLeft="@drawable/ic_search_category_default" />
+
+ <Button android:id="@+id/Buscar" android:layout_width="wrap_content"
+ android:layout_marginLeft="7px" android:layout_marginRight="7px"
+ android:layout_marginTop="15px" android:layout_height="wrap_content"
+ android:paddingLeft="25px" android:paddingRight="25px" android:text="Buscar"
+ android:paddingTop="6dip" android:paddingBottom="6dip"
+ android:textSize='16px' android:gravity='center_horizontal'
+ android:textStyle="bold" android:textColor='@color/black'
+ android:layout_gravity="center" android:background="@drawable/my_border_button_search">
+ </Button>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginTop="35dip" android:layout_height="1dip"
+ android:background="@color/gray"></LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:orientation="vertical"
+ android:background="@color/lightgray" android:layout_marginTop="15dip"
+ android:layout_marginBottom="15dip">
+ <TextView android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:textSize="16dip"
+ android:text="Hey, you need to look for something!" android:textColor="@color/black"
+ android:textStyle="bold"></TextView>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="1dip" android:background="@color/gray"></LinearLayout>
+
+</LinearLayout>
106 res/layout/vista_comment.xml
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView android:layout_width="fill_parent"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_height="wrap_content">
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:background="@color/white"
+ android:orientation="vertical">
+
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/black">
+ <RelativeLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:layout_marginBottom="10px">
+ <ImageView android:layout_width="35px"
+ android:layout_alignParentLeft="true" android:layout_marginLeft="10px"
+ android:id="@+id/iconolista" android:gravity="center"
+ android:layout_marginTop="15px" android:layout_marginBottom="15px"
+ android:layout_height="35px" android:src="@drawable/list_white"></ImageView>
+ <ImageView android:layout_width="35px" android:id="@+id/iconobusqueda"
+ android:layout_marginRight="15px" android:layout_marginBottom="15px"
+ android:layout_alignParentRight="true" android:layout_marginTop="15px"
+ android:layout_gravity="center" android:layout_height="35px"
+ android:src="@drawable/search_white"></ImageView>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_alignTop="@id/iconolista" android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/iconolista" android:layout_toLeftOf="@id/iconobusqueda">
+ <ImageView android:layout_width="fill_parent" android:id="@+id/letrero"
+ android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
+ android:src="@drawable/white_2x" />
+ </LinearLayout>
+
+
+ </RelativeLayout>
+ </LinearLayout>
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_marginTop="10px" android:layout_marginLeft="10px"
+ android:orientation="horizontal" android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ <ImageView android:layout_width="35px"
+ android:layout_height="35px" android:id="@+id/Photo" android:src="@drawable/photo"></ImageView>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginLeft="5px" android:layout_height="wrap_content"
+ android:orientation="vertical">
+ <TextView android:layout_width="fill_parent"
+ android:textStyle="bold" android:layout_height="wrap_content"
+ android:textColor="@color/black" android:text="User name"></TextView>
+ <TextView android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:textColor="@color/gray"
+ android:text="Nombre de usuario@joindiaspora.com"></TextView>
+ </LinearLayout>
+
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginLeft="10px" android:layout_height="wrap_content"
+ android:layout_marginTop="20px">
+ <TextView android:layout_width="fill_parent"
+ android:textSize="15px" android:textStyle="bold" android:textColor="@color/dkgray"
+ android:text="orem ipsum dolor sit amet, consectetuer adipiscing elit.
+ Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes,
+ nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis,
+ sem. "
+ android:layout_height="wrap_content"></TextView>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginLeft="10px" android:layout_height="wrap_content"
+ android:layout_marginTop="20px" android:id="@+id/minutos">
+ <TextView android:layout_width="fill_parent"
+ android:textStyle="bold" android:textColor="@color/gray"
+ android:text="yesterday" android:layout_height="wrap_content"></TextView>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginLeft="10px" android:layout_height="wrap_content"
+ android:layout_marginTop="30px">
+ <TextView android:layout_width="fill_parent" android:id="@+id/Ocultar"
+ android:textColor="@color/AzulLetras" android:text="Hide"
+ android:layout_height="wrap_content"></TextView>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="2px" android:background="@color/gray"
+ android:orientation="vertical">
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:id="@+id/LayoutRellenar2"
+ android:background="@color/FondoComentarios" android:orientation="vertical">
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_marginTop="15px" android:layout_marginRight="5px"
+ android:layout_marginLeft="5px" android:layout_height="wrap_content"
+ android:background="@color/FondoComentarios" android:orientation="vertical">
+ <EditText android:layout_width="fill_parent"
+ android:layout_height="65px" android:hint="comment" />
+
+ </LinearLayout>
+ <RelativeLayout android:layout_width="fill_parent"
+ android:layout_marginBottom="15px" android:layout_marginTop="15px"
+ android:layout_marginRight="15px" android:layout_height="wrap_content">
+ <Button android:layout_width="wrap_content" android:padding="5dip"
+ android:layout_height="wrap_content" android:text="comment"
+ android:background="@drawable/my_border_button_blue"
+ android:textStyle="bold" android:textColor="@color/white"
+ android:paddingLeft="4dip" android:paddingRight="4dip"
+ android:layout_alignParentRight="true"></Button>
+ </RelativeLayout>
+ </LinearLayout>
+</ScrollView>
67 res/layout/vista_escribir.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical" android:layout_width="fill_parent"
+ android:layout_height="fill_parent" android:background="@color/lightgray">
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/black">
+ <RelativeLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:layout_marginBottom="10px">
+ <ImageView android:layout_width="35px"
+ android:layout_alignParentLeft="true" android:layout_marginLeft="10px"
+ android:id="@+id/iconolista" android:gravity="center"
+ android:layout_marginTop="15px" android:layout_marginBottom="15px"
+ android:layout_height="35px" android:src="@drawable/list_white"></ImageView>
+ <ImageView android:layout_width="55px" android:id="@+id/iconobusqueda"
+ android:layout_marginRight="15px" android:layout_marginBottom="15px"
+ android:layout_alignParentRight="true" android:layout_marginTop="15px"
+ android:layout_gravity="center" android:layout_height="35px"
+ android:src="@drawable/search_white"></ImageView>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_alignTop="@id/iconolista" android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/iconolista" android:layout_toLeftOf="@id/iconobusqueda">
+ <ImageView android:layout_width="fill_parent" android:id="@+id/letrero"
+ android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
+ android:src="@drawable/white_2x" />
+ </LinearLayout>
+
+
+ </RelativeLayout>
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:orientation="vertical" android:layout_height="wrap_content"
+ android:layout_marginLeft="10px" android:layout_marginRight="10px" android:layout_marginTop="20dip">
+ <EditText android:layout_width="fill_parent" android:hint="..y qué te cuentas?"
+ android:layout_marginTop="3px" android:lines="4"
+ android:layout_height="80px"></EditText>
+ <LinearLayout android:layout_width="fill_parent"
+ android:background="@drawable/my_border_white_open_all" android:id="@+id/make_public_layout"
+ android:orientation="horizontal" android:layout_height="wrap_content">
+ <CheckBox android:layout_width="fill_parent" android:text="make public" android:layout_gravity="center_vertical"
+ android:id="@+id/make_public" android:textColor="@color/black"
+ android:layout_height="wrap_content"></CheckBox>
+ </LinearLayout>
+
+ <TextView android:layout_width="fill_parent"
+ android:layout_marginTop="20px" android:layout_height="wrap_content"
+ android:textColor="@color/dkgray" android:textStyle="bold"
+ android:gravity="left" android:text="Elegir servicios"
+ android:layout_marginBottom="10dip"></TextView>
+ <LinearLayout android:layout_width="fill_parent"
+ android:id="@+id/layoutaAnadir" android:orientation="vertical"
+ android:layout_height="wrap_content">
+ </LinearLayout>
+ <Button android:layout_width="100dip" android:gravity="center"
+ android:layout_marginLeft="20dip" android:layout_marginRight="20dip"
+ android:background="@drawable/my_border_orange_open_all"
+ android:padding="7px" android:layout_marginTop="30px"
+ android:layout_height="35px" android:paddingLeft="45dip"
+ android:paddingRight="45dip" android:text="Share" android:textStyle='bold'
+ android:layout_gravity='center' android:textColor='@color/black'>
+ </Button>
+ </LinearLayout>
+
+
+
+</LinearLayout>
38 res/layout/vista_recuperacion_contrasena.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:background="@color/lightgray" android:orientation="vertical">
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:background="@color/black">
+ <ImageView android:layout_width="fill_parent"
+ android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
+ android:src="@drawable/white_2x" />
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:orientation="vertical" android:layout_height="fill_parent"
+ android:layout_marginLeft="7px" android:layout_marginRight="7px"
+ android:gravity="center_vertical">
+ <TextView android:layout_width="fill_parent" android:gravity="center"
+ android:layout_height="wrap_content" android:textSize="22px"
+ android:textStyle="bold" android:textColor="@color/black"
+ android:text="¿Forgot your password?"></TextView>
+ <EditText android:layout_width="fill_parent" android:layout_marginLeft="20dip" android:layout_marginRight="20dip"
+ android:layout_marginTop="7dip" android:background="@drawable/my_border_white_not_open"
+ android:gravity="center" android:layout_height="wrap_content"
+ android:paddingTop="4dip" android:paddingBottom="4dip"></EditText>
+ <Button android:layout_width="fill_parent" android:layout_marginLeft="20dip" android:layout_marginRight="20dip"
+ android:layout_marginTop="15dip" android:layout_marginBottom="7dip"
+ android:paddingBottom="4dip" android:paddingTop="4dip" android:textColor="@color/black"
+ android:layout_gravity="center" android:layout_height="wrap_content"
+ android:text="Send me instruccions to re-establish my password"
+ android:textStyle="bold"></Button>
+ <Button android:id="@+id/Entrar" android:layout_width="wrap_content" android:layout_gravity="center"
+ android:layout_marginTop="15dip" android:paddingTop="5dip"
+ android:paddingBottom="5dip" android:layout_height="wrap_content"
+ android:paddingLeft="28px" android:paddingRight="28px" android:text="Log in"
+ android:textSize='16px' android:textStyle="bold" android:gravity='center_horizontal'
+ android:textColor='#084B8A' android:background="@drawable/my_border_orange_open_all">
+ </Button>
+ </LinearLayout>
+</LinearLayout>
16 res/values/color.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+<color name="red">#ff0000</color>
+<color name="green">#ff00ff00</color>
+<color name="blue">#ff00ffff</color>
+<color name="black">#000000</color>
+<color name="gray">#ff888888</color>
+<color name="dkgray">#ff444444</color>
+<color name="white">#ffffffff</color>
+<color name="pink">#EF55E2</color>
+<color name="dkblue">#2614D3</color>
+<color name="AzulLetras">#2EFEF7</color>
+<color name="FondoComentarios">#EFFBFB</color>
+<color name="lightgray">#D8D8D8</color>
+
+</resources>
6 res/values/strings.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="hello">Hello World, Inicio!</string>
+ <string name="app_name">Diaspora</string>
+ <string name="arrowright">\u2192</string>
+</resources>
67 src/org/jesus/Diaspora/Comentario.java
@@ -0,0 +1,67 @@
+package org.jesus.Diaspora;
+
+import java.util.Date;
+
+import android.graphics.Bitmap;
+
+public class Comentario {
+ private String nombreUsuario;
+ private String comentario;
+ private Bitmap imagenUsuario;
+ private Date time;
+ public Comentario(String nombreU,String coment,Bitmap image,Date time){
+ this.setNombreUsuario(nombreU);
+ this.setTime(time);
+ this.setComentario(coment);
+ this.setImagenUsuario(image);
+ }
+ /**
+ * @param nombreUsuario the nombreUsuario to set
+ */
+ public void setNombreUsuario(String nombreUsuario) {
+ this.nombreUsuario = nombreUsuario;
+ }
+ /**
+ * @return the nombreUsuario
+ */
+ public String getNombreUsuario() {
+ return nombreUsuario;
+ }
+ /**
+ * @param comentario the comentario to set
+ */
+ public void setComentario(String comentario) {
+ this.comentario = comentario;
+ }
+ /**
+ * @return the comentario
+ */
+ public String getComentario() {
+ return comentario;
+ }
+ /**
+ * @param imagenUsuario the imagenUsuario to set
+ */
+ public void setImagenUsuario(Bitmap imagenUsuario) {
+ this.imagenUsuario = imagenUsuario;
+ }
+ /**
+ * @return the imagenUsuario
+ */
+ public Bitmap getImagenUsuario() {
+ return imagenUsuario;
+ }
+ /**
+ * @param time the time to set
+ */
+ public void setTime(Date time) {
+ this.time = time;
+ }
+ /**
+ * @return the time
+ */
+ public Date getTime() {
+ return time;
+ }
+
+}
95 src/org/jesus/Diaspora/Conversation.java
@@ -0,0 +1,95 @@
+package org.jesus.Diaspora;
+
+import android.app.Activity;
+import android.graphics.Color;
+import android.os.Bundle;
+import android.view.Gravity;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.EditText;
+import android.widget.ImageView;
+import android.widget.LinearLayout;
+import android.widget.TextView;
+import android.widget.LinearLayout.LayoutParams;
+
+public class Conversation extends Activity {
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.conversation);
+ loadInterface();
+
+ ((TextView)findViewById(R.id.response)).setOnClickListener(new OnClickListener(){
+
+ @Override
+ public void onClick(View arg0) {
+ // TODO Auto-generated method stub
+ arg0.setFocusable(true);
+ //((EditText)findViewById(R.id.respon)).setFocusable(true);
+ }});
+ ((TextView)findViewById(R.id.erase)).setOnClickListener(new OnClickListener(){
+
+ @Override
+ public void onClick(View arg0) {
+ // TODO Auto-generated method stub
+ ((LinearLayout) findViewById(R.id.rellenar)).removeAllViews();
+ }});
+ }
+
+ private void loadInterface() {
+ // TODO Auto-generated method stub
+ LinearLayout lP ;
+ lP = new LinearLayout(this);
+ lP.setOrientation(LinearLayout.VERTICAL);
+ LinearLayout.LayoutParams p2;
+ for (int i = 0; i < 5; i++) {
+ lP = new LinearLayout(this);
+ lP.setOrientation(LinearLayout.VERTICAL);
+ p2 = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.FILL_PARENT,
+ LinearLayout.LayoutParams.WRAP_CONTENT);
+ lP = new LinearLayout(this);
+ lP.setLayoutParams(p2);
+ ImageView imag = new ImageView(this);
+ imag.setLayoutParams(new LinearLayout.LayoutParams(45, 45));
+ imag.setImageResource(R.drawable.custom_photo);
+ lP.addView(imag);
+ LinearLayout lSecun = new LinearLayout(this);
+ lSecun.setLayoutParams(p2);
+ lSecun.setOrientation(LinearLayout.VERTICAL);
+ LinearLayout lter = new LinearLayout(this);
+ lter.setLayoutParams(p2);
+ TextView t1 = new TextView(this);
+ TextView t2 = new TextView(this);
+ t1.setLayoutParams(new LinearLayout.LayoutParams(
+ LinearLayout.LayoutParams.FILL_PARENT,
+ LinearLayout.LayoutParams.WRAP_CONTENT, (float) 1.0));
+ t2.setLayoutParams(new LinearLayout.LayoutParams(
+ LinearLayout.LayoutParams.FILL_PARENT,
+ LinearLayout.LayoutParams.WRAP_CONTENT, (float) 1.0));
+ t1.setText("Name User");
+ t1.setTextColor(Color.BLACK);
+ t2.setText("yesterday");
+ t2.setTextColor(Color.GRAY);
+ t2.setGravity(Gravity.RIGHT);
+ lter.addView(t1);
+ lter.addView(t2);
+ lSecun.addView(lter);
+ lSecun.setPadding(6, 0, 6, 0);
+ TextView edit = new TextView(this);
+ edit.setLayoutParams(p2);
+ edit.setText("This is an example of a user message");
+ edit.setTextColor(Color.BLACK);
+ lSecun.addView(edit);
+ lP.addView(lSecun);
+ lP.setPadding(5, 6, 5, 6);
+ //lP.setBackgroundColor(Color.BLUE);
+ LinearLayout rGris = new LinearLayout(this);
+ rGris.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.FILL_PARENT,2));
+ rGris.setBackgroundColor(Color.GRAY);
+ ((LinearLayout) findViewById(R.id.rellenar)).addView(lP);
+ ((LinearLayout) findViewById(R.id.rellenar)).addView(rGris);
+ }
+ //((LinearLayout) findViewById(R.id.rellenar)).setBackgroundColor(Color.BLUE);
+
+ }
+}
67 src/org/jesus/Diaspora/Inicio.java
@@ -0,0 +1,67 @@
+package org.jesus.Diaspora;
+
+import org.jesus.Diaspora.R;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.content.SharedPreferences;
+import android.os.Bundle;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.TextView;
+
+public class Inicio extends Activity {
+ /** Called when the activity is first created. */
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.main);
+ ((Button) findViewById(R.id.Entrar))
+ .setOnClickListener(new OnClickListener() {
+ @Override
+ public void onClick(View arg0) {
+ // TODO Auto-generated method stub
+ /*
+ * if (!((EditText)
+ * findViewById(R.id.user)).getText().toString()
+ * .equals("") &&
+ * !((EditText)findViewById(R.id.pass)).getText
+ * ().toString().equals("")) { SharedPreferences
+ * settings = getSharedPreferences( "entrada de datos",
+ * MODE_PRIVATE); SharedPreferences.Editor editor =
+ * settings .edit();
+ *
+ * editor.putString("Contraseña", ((EditText)
+ * findViewById(R.id.user)) .getText().toString());
+ * editor.putString("Usuario",
+ * ((EditText)findViewById(R.
+ * id.pass)).getText().toString()); editor.commit();
+ * Intent in = ; startActivity(new Intent(Inicio.this,
+ * PantallaPrincipal.class)); finish(); }
+ */
+ SharedPreferences settings = getSharedPreferences(
+ "entrada de datos", MODE_PRIVATE);
+ SharedPreferences.Editor editor = settings.edit();
+
+ editor.putString("aspecto", "all aspects");
+ editor.commit();
+
+ startActivity(new Intent(Inicio.this,
+ PantallaPrincipal.class));
+
+ }
+ });
+ ((TextView) findViewById(R.id.cartel2))
+ .setOnClickListener(new OnClickListener() {
+
+ @Override
+ public void onClick(View arg0) {
+ // TODO Auto-generated method stub
+ startActivity(new Intent(Inicio.this,
+ VistaRecuperarContrasena.class));
+ }
+ });
+ }
+}
16 src/org/jesus/Diaspora/NewMessage.java
@@ -0,0 +1,16 @@
+package org.jesus.Diaspora;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.ImageView;
+
+public class NewMessage extends Activity {
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.new_message);
+ }
+}
32 src/org/jesus/Diaspora/Notify.java
@@ -0,0 +1,32 @@
+package org.jesus.Diaspora;
+
+import java.sql.Date;
+
+public class Notify {
+ private Date date;
+ private String user_notify;
+ private String type_notify;
+ public Notify(Date date,String user_notify,String type_notify){
+ this.date=date;
+ this.user_notify=user_notify;
+ this.type_notify=type_notify;
+ }
+ public void setDate(Date date) {
+ this.date = date;
+ }
+ public Date getDate() {
+ return date;
+ }
+ public void setUser_notify(String user_notify) {
+ this.user_notify = user_notify;
+ }
+ public String getUser_notify() {
+ return user_notify;
+ }
+ public void setType_notify(String type_notify) {
+ this.type_notify = type_notify;
+ }
+ public String getType_notify() {
+ return type_notify;
+ }
+}
212 src/org/jesus/Diaspora/PantallaBonita.java
@@ -0,0 +1,212 @@
+/**
+ *
+ */
+package org.jesus.Diaspora;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jesus.Diaspora.R;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.content.SharedPreferences;
+import android.graphics.Color;
+import android.graphics.Typeface;
+import android.os.Bundle;
+import android.view.Gravity;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.ImageView;
+import android.widget.LinearLayout;
+import android.widget.RelativeLayout;
+import android.widget.TextView;
+import android.widget.Toast;
+import android.widget.LinearLayout.LayoutParams;
+
+/**
+ * @author jesus
+ *
+ */
+
+public class PantallaBonita extends Activity implements OnClickListener{
+ private List<String> aspectos = new ArrayList<String>();
+ public int ind;
+
+ /** Called when the activity is first created. */
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.view_aspects);
+ Toast.makeText(getBaseContext(), "example of view when we can see the notifications and the aspects", Toast.LENGTH_LONG).show();
+ aspectos.add("Aspect 1");
+ aspectos.add("Aspect 2");
+ aspectos.add("Aspect 3");
+ aspectos.add("Aspect 4");
+ aspectos.add("Aspect 5");
+ if(((TextView)findViewById(R.id.number_of_notifications)).getText().toString().length()>1){
+ //View v = ((View)this.getv)
+ ((TextView)findViewById(R.id.number_of_notifications)).setPadding(4, 2, 4, 2);
+ }
+
+ cargarInterfaz();
+ // LinearLayout l = new LinearLayout(this);
+ ((ImageView) findViewById(R.id.iconobusqueda))
+ .setOnClickListener(new OnClickListener() {
+
+ @Override
+ public void onClick(View arg0) {
+ // TODO Auto-generated method stub
+ startActivity(new Intent(PantallaBonita.this,
+ VistaBusqueda.class));
+ finish();
+ }
+ });
+ ((RelativeLayout)findViewById(R.id.notify)).setOnClickListener(new OnClickListener(){
+
+ @Override
+ public void onClick(View arg0) {
+ // TODO Auto-generated method stub
+ startActivity(new Intent(PantallaBonita.this,ViewNotifications.class));
+ }});
+ ((RelativeLayout)findViewById(R.id.inbox)).setOnClickListener(new OnClickListener(){
+
+ @Override
+ public void onClick(View arg0) {
+ // TODO Auto-generated method stub
+ startActivity(new Intent(PantallaBonita.this,ViewInbox.class));
+ }});
+ ((ImageView)findViewById(R.id.letrero)).setOnClickListener(new OnClickListener(){
+
+ @Override
+ public void onClick(View v) {
+ // TODO Auto-generated method stub
+ startActivity(new Intent(PantallaBonita.this,PantallaPrincipal.class));
+ finish();
+ }});
+
+ }
+
+ private void cargarInterfaz() {
+ // TODO Auto-generated method stub
+ final List<RelativeLayout> list = new ArrayList<RelativeLayout>();
+ for (int i = 0; i < aspectos.size(); i++) {
+
+ ind = i;
+ TextView t1;
+ ImageView t2;
+ t1 = new TextView(getBaseContext());
+ t2 = new ImageView(getBaseContext());
+
+ final RelativeLayout r = new RelativeLayout(getBaseContext());
+ if (i == 0) {
+ r
+ .setBackgroundResource(R.drawable.my_border_edittext_open_bottom);
+ } else if (i == aspectos.size() - 1) {
+ r.setBackgroundResource(R.drawable.my_border_edittext_open_top);
+ } else {
+ r.setBackgroundResource(R.drawable.my_border_not_open);
+ }
+
+ RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(
+ RelativeLayout.LayoutParams.FILL_PARENT,
+ RelativeLayout.LayoutParams.FILL_PARENT);
+ // params.setMargins(15, 0, 15, 0);
+ r.setPadding(7, 7, 7, 7);
+ r.setGravity(Gravity.CENTER);
+ r.setLayoutParams(params);
+
+ params = new RelativeLayout.LayoutParams(
+ RelativeLayout.LayoutParams.WRAP_CONTENT,
+ RelativeLayout.LayoutParams.WRAP_CONTENT);
+ params.addRule(RelativeLayout.ALIGN_PARENT_RIGHT,
+ RelativeLayout.TRUE);
+ // params.setMargins(14, 14, 6, 14);
+ params.addRule(RelativeLayout.CENTER_IN_PARENT);
+ //params.setMargins(10, 10, 0, 6);
+
+ t2.setPadding(5, 5, 5, 5);
+
+ t2.setLayoutParams(params);
+
+
+ // t2.setBackgroundResource(R.drawable.all_circle_notif);
+
+
+ t2.setImageResource(R.drawable.arrow_right);
+ //t2.setBackgroundResource(R.drawable.all_circle_notif);
+ t2.setId(2);
+ r.addView(t2);
+
+ /*
+ * params = new RelativeLayout.LayoutParams(
+ * RelativeLayout.LayoutParams.WRAP_CONTENT,
+ * RelativeLayout.LayoutParams.WRAP_CONTENT); //
+ * params.addRule(RelativeLayout.RIGHT_OF, t1.getId());
+ * params.addRule(RelativeLayout.LEFT_OF, t2.getId());
+ * params.addRule(RelativeLayout.CENTER_IN_PARENT);
+ * t3.setTypeface(null, Typeface.BOLD);
+ * t3.setGravity(Gravity.CENTER); t3.setLayoutParams(params); if (i
+ * > 0) { t3.setTextColor(Color.parseColor("#2E9AFE")); }else{
+ * t3.setTextColor(Color.BLACK); } t3.setText(i + ""); t3.setId(1);
+ * t3.setBackgroundResource(R.drawable.circle_shape); r.addView(t3);
+ */
+
+ params = new RelativeLayout.LayoutParams(
+ RelativeLayout.LayoutParams.FILL_PARENT,
+ RelativeLayout.LayoutParams.WRAP_CONTENT);
+ params.addRule(RelativeLayout.ALIGN_PARENT_LEFT,
+ RelativeLayout.TRUE);
+ // params.setMargins(14, 14, 6, 14);
+ //params.setMargins(10, 10, 0, 6);
+ //params.addRule(RelativeLayout.LEFT_OF, t3.getId());
+ params.addRule(RelativeLayout.CENTER_IN_PARENT);
+ t1.setPadding(0, 5, 0, 5);
+ t1.setLayoutParams(params);
+ t1.setText(aspectos.get(i));
+ t1.setTextColor(Color.BLACK);
+
+ t1.setTypeface(null, Typeface.BOLD);
+ t1.setGravity(Gravity.LEFT);
+ r.addView(t1);
+ list.add(r);
+ list.get(i).setId(i);
+ list.get(i).setOnClickListener(this);
+ ((LinearLayout) findViewById(R.id.a)).addView(r);
+
+
+ }
+
+ }
+
+ public void onBackPressed() {
+ startActivity(new Intent(PantallaBonita.this, PantallaPrincipal.class));
+ finish();
+ }
+
+
+
+ @Override
+ public void onClick(View arg0) {
+ // TODO Auto-generated method stub
+ if (arg0.getId() == 0) {
+ arg0
+ .setBackgroundResource(R.drawable.my_border_edittext_open_bottom_selected);
+ } else if (arg0.getId() == aspectos.size() - 1) {
+ arg0
+ .setBackgroundResource(R.drawable.my_border_edittext_open_top_selected);
+ } else {
+ arg0.setBackgroundResource(R.drawable.my_border_not_open_selected);
+ }
+ SharedPreferences settings = getSharedPreferences(
+ "entrada de datos", MODE_PRIVATE);
+ SharedPreferences.Editor editor = settings.edit();
+
+ editor.putString("aspecto", aspectos.get(arg0.getId()));
+ editor.commit();
+ startActivity(new Intent(PantallaBonita.this,
+ PantallaPrincipal.class));
+ finish();
+ }
+}
186 src/org/jesus/Diaspora/PantallaPrincipal.java
@@ -0,0 +1,186 @@
+package org.jesus.Diaspora;
+