2013-11-06 Miguel de Dios <miguel.dedios@artica.es>
* 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. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
493cedbb2b
commit
da20ca6ee5
|
@ -1,3 +1,10 @@
|
||||||
|
2013-11-06 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* 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 <miguel.dedios@artica.es>
|
2013-11-06 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* src/pandroid_event_viewer/pandorafms/EventList.java,
|
* src/pandroid_event_viewer/pandorafms/EventList.java,
|
||||||
|
|
|
@ -14,10 +14,19 @@
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
// GNU General Public License for more details.
|
// GNU General Public License for more details.
|
||||||
-->
|
-->
|
||||||
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:paddingRight="8dp"
|
||||||
|
android:paddingLeft="4dp"
|
||||||
|
android:background="#242424"
|
||||||
|
>
|
||||||
|
<TableLayout
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:background="#FFFFFF" >
|
android:background="#FFFFFF"
|
||||||
|
android:padding="5dp" >
|
||||||
|
|
||||||
<TableRow style="@style/table_row" >
|
<TableRow style="@style/table_row" >
|
||||||
|
|
||||||
|
@ -140,3 +149,4 @@
|
||||||
</TableRow>
|
</TableRow>
|
||||||
|
|
||||||
</TableLayout>
|
</TableLayout>
|
||||||
|
</LinearLayout>
|
|
@ -80,7 +80,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:visibility="gone" >
|
android:visibility="gone"
|
||||||
|
android:background="#242424">
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
style="?android:attr/progressBarStyleSmall"
|
style="?android:attr/progressBarStyleSmall"
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical"
|
||||||
|
android:background="#242424" >
|
||||||
|
|
||||||
<!-- BEGIN THE HEADER -->
|
<!-- BEGIN THE HEADER -->
|
||||||
|
|
||||||
|
@ -81,7 +82,8 @@
|
||||||
android:id="@+id/loading_layout"
|
android:id="@+id/loading_layout"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal" >
|
android:orientation="horizontal"
|
||||||
|
android:background="#242424" >
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
style="?android:attr/progressBarStyleSmall"
|
style="?android:attr/progressBarStyleSmall"
|
||||||
|
@ -102,6 +104,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
|
android:background="#242424"
|
||||||
android:visibility="gone" >
|
android:visibility="gone" >
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -116,7 +119,8 @@
|
||||||
android:id="@id/android:list"
|
android:id="@id/android:list"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fadingEdge="none" />
|
android:fadingEdge="none"
|
||||||
|
android:background="#242424" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
|
@ -244,7 +244,8 @@ public class EventList extends ListActivity {
|
||||||
temp = args.getString("group");
|
temp = args.getString("group");
|
||||||
if (temp != null) {
|
if (temp != null) {
|
||||||
group = temp;
|
group = temp;
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
group = "";
|
group = "";
|
||||||
}
|
}
|
||||||
dialog.findViewById(R.id.incident_create_button)
|
dialog.findViewById(R.id.incident_create_button)
|
||||||
|
@ -263,7 +264,8 @@ public class EventList extends ListActivity {
|
||||||
.getText().toString();
|
.getText().toString();
|
||||||
new SetNewIncidentAsyncTask().execute(title,
|
new SetNewIncidentAsyncTask().execute(title,
|
||||||
description, group);
|
description, group);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
Toast.makeText(getApplicationContext(),
|
Toast.makeText(getApplicationContext(),
|
||||||
R.string.title_empty,
|
R.string.title_empty,
|
||||||
Toast.LENGTH_SHORT).show();
|
Toast.LENGTH_SHORT).show();
|
||||||
|
@ -302,7 +304,8 @@ public class EventList extends ListActivity {
|
||||||
item.opened = !item.opened;
|
item.opened = !item.opened;
|
||||||
this.object.eventList.set(position, item);
|
this.object.eventList.set(position, item);
|
||||||
la.notifyDataSetChanged();
|
la.notifyDataSetChanged();
|
||||||
} catch (IndexOutOfBoundsException e) {
|
}
|
||||||
|
catch (IndexOutOfBoundsException e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -328,7 +331,8 @@ public class EventList extends ListActivity {
|
||||||
R.color.Green));
|
R.color.Green));
|
||||||
text = getApplicationContext().getString(
|
text = getApplicationContext().getString(
|
||||||
R.string.successful_validate_event_str);
|
R.string.successful_validate_event_str);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
text = getApplicationContext().getString(
|
text = getApplicationContext().getString(
|
||||||
R.string.fail_validate_event_str);
|
R.string.fail_validate_event_str);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue