diff --git a/extras/pandroid_event_viewer/ChangeLog b/extras/pandroid_event_viewer/ChangeLog index 5e50db829f..f51ba060be 100644 --- a/extras/pandroid_event_viewer/ChangeLog +++ b/extras/pandroid_event_viewer/ChangeLog @@ -1,3 +1,10 @@ +2013-11-06 Miguel de Dios + + * src/pandroid_event_viewer/pandorafms/EventList.java, + res/layout/item_list_event_layout.xml, + res/layout/list_view_layout.xml, + res/layout/item_list_event_extended.xml: changes in the themes. + 2013-11-06 Miguel de Dios * src/pandroid_event_viewer/pandorafms/EventList.java, diff --git a/extras/pandroid_event_viewer/res/layout/item_list_event_extended.xml b/extras/pandroid_event_viewer/res/layout/item_list_event_extended.xml index 53669b33e6..c2a3661017 100644 --- a/extras/pandroid_event_viewer/res/layout/item_list_event_extended.xml +++ b/extras/pandroid_event_viewer/res/layout/item_list_event_extended.xml @@ -14,10 +14,19 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. --> - + + android:background="#FFFFFF" + android:padding="5dp" > @@ -139,4 +148,5 @@ android:text="@string/create_incident" /> - \ No newline at end of file + + \ No newline at end of file diff --git a/extras/pandroid_event_viewer/res/layout/item_list_event_layout.xml b/extras/pandroid_event_viewer/res/layout/item_list_event_layout.xml index 6f9568c3ad..58c64391f5 100644 --- a/extras/pandroid_event_viewer/res/layout/item_list_event_layout.xml +++ b/extras/pandroid_event_viewer/res/layout/item_list_event_layout.xml @@ -80,7 +80,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal" - android:visibility="gone" > + android:visibility="gone" + android:background="#242424"> + android:orientation="vertical" + android:background="#242424" > @@ -81,7 +82,8 @@ android:id="@+id/loading_layout" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:orientation="horizontal" > + android:orientation="horizontal" + android:background="#242424" > + android:fadingEdge="none" + android:background="#242424" /> \ No newline at end of file diff --git a/extras/pandroid_event_viewer/src/pandroid_event_viewer/pandorafms/EventList.java b/extras/pandroid_event_viewer/src/pandroid_event_viewer/pandorafms/EventList.java index 1f83267d13..aa2353ed7e 100644 --- a/extras/pandroid_event_viewer/src/pandroid_event_viewer/pandorafms/EventList.java +++ b/extras/pandroid_event_viewer/src/pandroid_event_viewer/pandorafms/EventList.java @@ -244,7 +244,8 @@ public class EventList extends ListActivity { temp = args.getString("group"); if (temp != null) { group = temp; - } else { + } + else { group = ""; } dialog.findViewById(R.id.incident_create_button) @@ -263,7 +264,8 @@ public class EventList extends ListActivity { .getText().toString(); new SetNewIncidentAsyncTask().execute(title, description, group); - } else { + } + else { Toast.makeText(getApplicationContext(), R.string.title_empty, Toast.LENGTH_SHORT).show(); @@ -302,7 +304,8 @@ public class EventList extends ListActivity { item.opened = !item.opened; this.object.eventList.set(position, item); la.notifyDataSetChanged(); - } catch (IndexOutOfBoundsException e) { + } + catch (IndexOutOfBoundsException e) { } } @@ -328,7 +331,8 @@ public class EventList extends ListActivity { R.color.Green)); text = getApplicationContext().getString( R.string.successful_validate_event_str); - } else { + } + else { text = getApplicationContext().getString( R.string.fail_validate_event_str); }