Skip to content

Commit

Permalink
release of leleDroid 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
forfolias committed Mar 18, 2011
1 parent f5fefb2 commit eb0838f
Show file tree
Hide file tree
Showing 23 changed files with 2,075 additions and 183 deletions.
10 changes: 6 additions & 4 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.forfolias.leleDroid" android:versionCode="3"
android:versionName="1.3">
package="com.forfolias.leleDroid" android:versionCode="4"
android:versionName="1.4">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<receiver android:name=".StrWidget" android:label="@string/app_name">
<intent-filter>
Expand All @@ -10,7 +10,7 @@
<meta-data android:name="android.appwidget.provider"
android:resource="@xml/widget" />
</receiver>
<activity android:name=".StrWidgetConfig">
<activity android:name=".StrWidgetConfig" android:label="@string/widgetTitle">>
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
Expand All @@ -24,7 +24,9 @@
<activity android:name=".Str" android:label="str"></activity>
<activity android:name=".Info" android:label="@string/info"></activity>
<activity android:name=".Properties" android:label="@string/str"></activity>
<activity android:name=".Details" android:label="@string/details"></activity>
<activity android:name=".Details" android:label="@string/detailsTitle"></activity>
<activity android:name=".ChartView" android:label="@string/chart"
android:theme="@android:style/Theme.Dialog"></activity>
</application>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<supports-screens android:resizeable="true"
Expand Down
22 changes: 19 additions & 3 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
Changelog

leleDroid 1.4 - 18/3/2011
-------------------------
Add chart dialog at ContextMenu
Add configuration dialog for widget
Add widget on click actions
Add color picker for the text of widget
Add progress bar component for widget
Can select the components of the widget
Bug fix (FC) when adding the widget without the data file
Bug fix (chart disappear) when total service days are <2

leleDroid 1.3 - 12/3/2011
Add a home screen widget
Clear code
-------------------------
Add a simple home screen widget
Code clear

leleDroid 1.2 - 28/2/2011
-------------------------
Complete code rewrite - 400% reduced size of apk
Remove joda-time jar, use GregorianCalendar instead
All data store at sdcard
Creation of Str class
Better listview
Add ContextMenu
Expand All @@ -15,9 +29,11 @@ Removed landscape layouts
Add scrollview on portrait layouts

leleDroid 1.1 - 28/01/2011
--------------------------
Bug fixes
Different layouts on portrait/landscape
Add english translation

leleDroid 1.0 - 15/01/2011
Initial release
--------------------------
Initial release
64 changes: 32 additions & 32 deletions res/layout/chart.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@+id/LL1"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="wrap_content"
android:gravity="center_horizontal" android:background="@layout/tooltip"
android:layout_height="wrap_content" xmlns:android1="http://schemas.android.com/apk/res/android"
android:padding="15dip">
<LinearLayout android:orientation="horizontal" android:layout_margin="2dip"
android:padding="5dip" android:gravity="center" android:background="#00FF00"
android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:id="@+id/ipiretithike" android:text="@string/ipiretithike"
android:layout_width="wrap_content" android:textColor="#000000"
android:textStyle="bold" android:layout_height="wrap_content"></TextView>
<!-- <TextView android:id="@+id/meresPan" android:text="0"-->
<!-- android:layout_width="wrap_content" android:textColor="#000000"-->
<!-- android:textStyle="bold" android:layout_height="wrap_content"></TextView>-->
<RelativeLayout android:layout_width="fill_parent"
android:layout_margin="5dip" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent">
<TextView android:id="@+id/ChartTvName" android:gravity="center_horizontal"
android:layout_alignParentTop="true" android:textSize="16dp"
android:layout_width="fill_parent" android:layout_height="wrap_content"></TextView>
<LinearLayout android:id="@+id/pieChartActivity"
android:layout_below="@+id/ChartTvName" android:layout_height="250dp"
android:layout_width="wrap_content">
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_margin="2dip"
android:padding="5dip" android:gravity="center" android:background="#FF0000"
android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:id="@+id/ipolipo" android:text="@string/ipolipo"
<RelativeLayout android:id="@+id/ChartLlAdeia"
android:layout_margin="1dip" android:layout_alignParentBottom="true"
android:padding="5dip" android:background="#0000FF" android:gravity="center"
android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:id="@+id/ChartTvAdeia" android:text="@string/adeia"
android:textColor="#000000" android:textStyle="bold"
android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
<!-- <TextView android:id="@+id/meresAkoma" android:text="0"-->
<!-- android:layout_width="wrap_content" android:textColor="#000000"-->
<!-- android:textStyle="bold" android:layout_height="wrap_content"></TextView>-->
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_margin="2dip"
android:padding="5dip" android:background="#0000FF" android:gravity="center"
android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:id="@+id/adeia" android:text="@string/adeia"
</RelativeLayout>
<RelativeLayout android:id="@+id/ChartLlIpolipo"
android:layout_margin="1dip" android:layout_above="@+id/ChartLlAdeia"
android:padding="5dip" android:gravity="center" android:background="#FF0000"
android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:id="@+id/ChartTvIpolipo" android:text="@string/ipolipo"
android:textColor="#000000" android:textStyle="bold"
android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
<!-- <TextView android:id="@+id/meresAdeias" android:text="0"-->
<!-- android:layout_width="wrap_content" android:textColor="#000000"-->
<!-- android:textStyle="bold" android:layout_height="wrap_content"></TextView>-->
</LinearLayout>
</LinearLayout>
</RelativeLayout>
<RelativeLayout android:layout_above="@+id/ChartLlIpolipo"
android:id="@+id/ChartLlIpiretithike" android:layout_margin="1dip"
android:padding="5dip" android:gravity="center" android:background="#00FF00"
android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:id="@+id/ChartTvIpiretithike" android:text="@string/ipiretithike"
android:layout_width="wrap_content" android:textColor="#000000"
android:textStyle="bold" android:layout_height="wrap_content"></TextView>
</RelativeLayout>


</RelativeLayout>
32 changes: 32 additions & 0 deletions res/layout/chart_tooltip.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@+id/LL1"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="wrap_content"
android:gravity="center_horizontal" android:background="@layout/tooltip"
android:layout_height="wrap_content" xmlns:android1="http://schemas.android.com/apk/res/android"
android:padding="15dip">
<LinearLayout android:orientation="horizontal"
android:layout_margin="2dip" android:padding="5dip" android:gravity="center"
android:background="#00FF00" android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView android:id="@+id/ipiretithike" android:text="@string/ipiretithike"
android:layout_width="wrap_content" android:textColor="#000000"
android:textStyle="bold" android:layout_height="wrap_content"></TextView>
</LinearLayout>
<LinearLayout android:orientation="horizontal"
android:layout_margin="2dip" android:padding="5dip" android:gravity="center"
android:background="#FF0000" android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView android:id="@+id/ipolipo" android:text="@string/ipolipo"
android:textColor="#000000" android:textStyle="bold"
android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
</LinearLayout>
<LinearLayout android:orientation="horizontal"
android:layout_margin="2dip" android:padding="5dip"
android:background="#0000FF" android:gravity="center"
android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:id="@+id/adeia" android:text="@string/adeia"
android:textColor="#000000" android:textStyle="bold"
android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
</LinearLayout>
</LinearLayout>
68 changes: 68 additions & 0 deletions res/layout/dialog_color_picker.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 Daniel Nilsson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

<com.forfolias.leleDroid.views.ColorPickerView
android:id="@+id/color_picker_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
/>


<LinearLayout
android:layout_width="fill_parent"
android:layout_height="40dp"
android:orientation="horizontal"
android:layout_below="@id/color_picker_view"
android:layout_alignLeft="@id/color_picker_view"
android:layout_alignRight="@id/color_picker_view"
android:layout_marginTop="10dp">


<com.forfolias.leleDroid.views.ColorPanelView
android:id="@+id/old_color_panel"
android:layout_width="0px"
android:layout_height="fill_parent"
android:layout_weight="0.5"
/>

<TextView
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:text=""
android:textSize="20sp"
android:gravity="center"
android:textColor="#ffffff"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
/>

<com.forfolias.leleDroid.views.ColorPanelView
android:id="@+id/new_color_panel"
android:layout_width="0px"
android:layout_height="fill_parent"
android:layout_weight="0.5"
/>

</LinearLayout>

</RelativeLayout>
28 changes: 18 additions & 10 deletions res/layout/widget.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/widg"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:background="@layout/widget_color">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widg" android:layout_width="wrap_content"
android:paddingBottom="5dp" android:paddingTop="5dp"
android:layout_height="wrap_content" android:clickable="true"
android:focusable="true" android:orientation="vertical"
android:background="@layout/widget_color">
<TextView android:text="" android:id="@+id/strVathmos"
android:textColor="#000" android:layout_gravity="center"
android:layout_width="wrap_content" android:layout_marginRight="10dp"
android:layout_marginLeft="10dp" android:layout_height="wrap_content"></TextView>
<TextView android:text="" android:id="@+id/strName"
android:textColor="#000" android:layout_gravity="center"
android:layout_width="wrap_content" android:layout_marginRight="10dp"
android:layout_marginLeft="10dp" android:textStyle="bold"
android:textSize="16dp"
android:layout_marginLeft="10dp" android:layout_marginBottom="3dp"
android:textStyle="bold" android:textSize="16dp"
android:layout_height="wrap_content"></TextView>
<ImageView android:id="@+id/strImg" android:layout_height="100dp"
<ImageView android:id="@+id/strImg" android:layout_height="90dp"
android:layout_gravity="center_horizontal" android:layout_marginRight="10dp"
android:layout_marginLeft="10dp" android:layout_width="100dp"
android:src="@drawable/icon"></ImageView>
android:layout_marginLeft="10dp" android:layout_width="90dp"
android:src="@drawable/icon" android:clickable="true"></ImageView>
<TextView android:text="" android:id="@+id/strMeres"
android:textColor="#000" android:layout_gravity="center"
android:layout_width="wrap_content" android:layout_marginRight="10dp"
android:layout_marginLeft="10dp" android:layout_marginBottom="5dp"
android:layout_height="wrap_content"></TextView>
android:layout_marginLeft="10dp" android:layout_height="wrap_content"></TextView>
<ProgressBar android:id="@+id/strProg"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:max="100" android:progress="0" android:layout_marginTop="5dp"
android:layout_marginRight="10dp" android:layout_marginLeft="10dp"
style="?android:attr/progressBarStyleHorizontal" android:maxHeight="15dip"
android:minHeight="12dip" android:minWidth="80dip"/>
</LinearLayout>
Loading

0 comments on commit eb0838f

Please sign in to comment.