Skip to content

Commit

Permalink
Merge pull request #152 from akvo/hotfix/2.0.2_locale_change
Browse files Browse the repository at this point in the history
Hotfix/2.0.2 locale change
  • Loading branch information
Mark Westra committed Aug 27, 2014
2 parents 5f98c94 + 00b635b commit 1702481
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 13 deletions.
30 changes: 21 additions & 9 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.akvo.flow"
android:versionCode="1"
android:versionName="2.0.1" >
android:versionName="2.0.1.1" >

<uses-sdk
android:minSdkVersion="8"
Expand All @@ -27,7 +27,9 @@
android:icon="@drawable/app_icon"
android:label="@string/app_name"
android:theme="@style/Flow.Theme" >
<activity android:name=".activity.SurveyGroupListActivity" >
<activity
android:name=".activity.SurveyGroupListActivity"
android:configChanges="locale|layoutDirection">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand All @@ -37,6 +39,7 @@
<activity
android:name=".activity.RecordListActivity"
android:label="@string/record_list_activity"
android:configChanges="locale|layoutDirection"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
Expand All @@ -46,25 +49,34 @@
android:name="android.app.searchable"
android:resource="@xml/searchable" />
</activity>
<activity android:name=".activity.RecordActivity" />
<activity android:name=".activity.RecordActivity"
android:configChanges="locale|layoutDirection" />
<activity
android:name=".activity.SurveyActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:configChanges="keyboardHidden|orientation|screenSize|locale|layoutDirection"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activity.ListUserActivity"
android:configChanges="locale|layoutDirection"
android:label="@string/userlabel" />
<activity android:name=".activity.UserEditActivity" />
<activity
android:name=".activity.UserEditActivity"
android:configChanges="locale|layoutDirection" />
<activity
android:name=".activity.SettingsActivity"
android:configChanges="locale|layoutDirection"
android:label="@string/settingslabel" />
<activity android:name=".activity.PreferencesActivity" />
<activity android:name=".activity.ImageBrowserActivity" />
<activity android:name=".activity.TransmissionHistoryActivity" />
<activity android:name=".activity.PreferencesActivity"
android:configChanges="locale|layoutDirection" />
<activity android:name=".activity.ImageBrowserActivity"
android:configChanges="locale|layoutDirection" />
<activity android:name=".activity.TransmissionHistoryActivity"
android:configChanges="locale|layoutDirection" />
<activity
android:name=".activity.AppUpdateActivity"
android:label="@string/app_update_activity"
android:theme="@style/Flow.Dialog">
android:theme="@style/Flow.Dialog"
android:configChanges="locale|layoutDirection" >
</activity>

<service android:name=".service.DataSyncService" />
Expand Down
13 changes: 9 additions & 4 deletions app/src/main/res/layout/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentRight="true" />
android:layout_alignParentRight="true"
android:saveEnabled="false"/>

<TextView
android:id="@+id/lastuserlabel"
Expand All @@ -44,7 +45,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentRight="true" />
android:layout_alignParentRight="true"
android:saveEnabled="false"/>

<TextView
android:id="@+id/screenopttxt"
Expand Down Expand Up @@ -75,7 +77,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentRight="true" />
android:layout_alignParentRight="true"
android:saveEnabled="false"/>


<TextView
android:id="@+id/uploadoptionlabel"
Expand Down Expand Up @@ -149,7 +153,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentRight="true" />
android:layout_alignParentRight="true"
android:saveEnabled="false"/>

<TextView
android:id="@+id/beaconlabel"
Expand Down

0 comments on commit 1702481

Please sign in to comment.