Fixed locale theme issues

pull/14/head
Sam Bosley 13 years ago
parent 9d23ba2c34
commit 0a9e9023d0

@ -25,6 +25,7 @@ import com.todoroo.astrid.api.FilterListItem;
import com.todoroo.astrid.core.PluginServices;
import com.todoroo.astrid.service.StatisticsConstants;
import com.todoroo.astrid.service.StatisticsService;
import com.todoroo.astrid.service.ThemeService;
import com.twofortyfouram.SharedResources;
/**
@ -99,6 +100,7 @@ public final class LocaleEditAlerts extends ListActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
ThemeService.forceTheme(R.style.Theme_White);
super.onCreate(savedInstanceState);
setContentView(R.layout.locale_edit_alerts);

@ -49,6 +49,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingBottom="10dip"
android:textColor="@android:color/black"
android:entries="@array/locale_interval" />
</LinearLayout>

@ -130,4 +130,8 @@ public class ThemeService {
ContextManager.getResources().getResourceName(lightDrawable));
}
public static void forceTheme(int theme) {
currentTheme = theme;
}
}

Loading…
Cancel
Save