include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-subdir-java-files)
-LOCAL_SRC_FILES += $(call all-java-files-under, themes/src)
LOCAL_SRC_FILES += $(call all-java-files-under, libs/android-syntax-highlight/src)
LOCAL_SRC_FILES += $(call all-java-files-under, libs/color-picker-view/src)
-LOCAL_AAPT_FLAGS := --auto-add-overlay
-
LOCAL_STATIC_JAVA_LIBRARIES += libtruezip
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4
-LOCAL_RESOURCE_DIR += $(addprefix $(LOCAL_PATH)/, themes/res res)
-
-LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true
-
LOCAL_PACKAGE_NAME := CMFileManager
LOCAL_CERTIFICATE := platform
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
</activity>
<activity
- android:name=".themes.ThemeActivity"
- android:label="@string/app_name"
- android:permission="com.cyanogenmod.filemanager.permissions.READ_THEME"
- android:exported="true">
- <intent-filter>
- <action android:name="com.cyanogenmod.filemanager.actions.MAIN_THEME" />
- <category android:name="com.cyanogenmod.filemanager.categories.THEME" />
- </intent-filter>
- </activity>
-
- <activity
android:name=".console.secure.SecureStorageKeyPromptDialog$SecureStorageKeyPromptActivity"
android:label="@string/app_name"
android:uiOptions="none"
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
- <!-- Use default theme color scheme -->
- <SwitchPreference
- android:key="cm_filemanager_editor_sh_use_theme_default"
- android:title="@string/pref_syntax_sh_use_theme_default"
- android:summary="@string/pref_syntax_sh_use_theme_default_desc"
- android:persistent="true"
- android:defaultValue="true" />
-
<!-- Editor behaviour -->
<PreferenceCategory
android:key="editor_sh_items_category"
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 The CyanogenMod Project
-
- 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.
- -->
-
-<PreferenceScreen
- xmlns:android="http://schemas.android.com/apk/res/android">
-
- <!-- Search Results -->
- <PreferenceCategory
- android:key="themes_selection"
- android:title="@string/pref_themes_selection_category">
-
- <!-- Themes selector -->
- <com.cyanogenmod.filemanager.ui.preferences.ThemeSelectorPreference
- android:key="cm_filemanager_theme"
- android:persistent="true"
- android:defaultValue="com.cyanogenmod.filemanager:light" />
-
- </PreferenceCategory>
-
-</PreferenceScreen>
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.Configuration;
-import android.graphics.Color;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.net.Uri;
});
}
- } else if (key.compareTo(FileManagerSettings.SETTINGS_EDITOR_SH_USE_THEME_DEFAULT.getId()) == 0 ||
- key.compareTo(FileManagerSettings.SETTINGS_EDITOR_SH_COLOR_SCHEME.getId()) == 0 ) {
+ } else if (key.compareTo(FileManagerSettings.SETTINGS_EDITOR_SH_COLOR_SCHEME.getId()) == 0 ) {
// Ignore in binary files
if (activity.mBinary) return;
public int getColor(String id, String resid, int def) {
final Context ctx = EditorActivity.this;
try {
- // Is default theme color scheme enabled?
- if (isDefaultThemeColorScheme()) {
- return ThemeManager.getCurrentTheme(ctx).getColor(ctx, resid);
- }
-
// Use the user-defined settings
int[] colors = getUserColorScheme();
HighlightColors[] schemeColors = HighlightColors.values();
}
/**
- * Method that returns if we should return the default theme color scheme or not
- *
- * @return boolean Whether return the default theme color scheme or not
- */
- private boolean isDefaultThemeColorScheme() {
- Boolean defaultValue =
- (Boolean)FileManagerSettings.
- SETTINGS_EDITOR_SH_USE_THEME_DEFAULT.getDefaultValue();
- return Preferences.getSharedPreferences().getBoolean(
- FileManagerSettings.SETTINGS_EDITOR_SH_USE_THEME_DEFAULT.getId(),
- defaultValue.booleanValue());
- }
-
- /**
* Method that returns the user-defined color scheme
*
* @return int[] The user-defined color scheme
import android.preference.Preference;
import android.preference.Preference.OnPreferenceChangeListener;
import android.preference.Preference.OnPreferenceClickListener;
-import android.preference.SwitchPreference;
import android.text.TextUtils;
import android.util.Log;
private static final String KEY_RESET_COLOR_SCHEME = "ash_reset_color_scheme"; //$NON-NLS-1$
- private SwitchPreference mUseThemeDefault;
private Preference mResetColorScheme;
private ColorPickerPreference[] mColorScheme;
String.valueOf(newValue)));
}
- // Use theme default
- if (key.compareTo(
- FileManagerSettings.SETTINGS_EDITOR_SH_USE_THEME_DEFAULT.getId()) == 0) {
- boolean enabled = ((Boolean)newValue).booleanValue();
- setColorSchemeEnabled(!enabled);
-
- } else if (isColorSchemePreference(preference)) {
+ if (isColorSchemePreference(preference)) {
// Unify the color schemes property. Save the property here
int color = ((Integer)newValue).intValue();
try {
// Color scheme (need to resolver color scheme prior to use theme default)
loadDefaultColorScheme(false);
- // Use Theme default
- this.mUseThemeDefault =
- (SwitchPreference)findPreference(
- FileManagerSettings.SETTINGS_EDITOR_SH_USE_THEME_DEFAULT.getId());
- Boolean defaultValue = ((Boolean)FileManagerSettings.
- SETTINGS_EDITOR_SH_USE_THEME_DEFAULT.getDefaultValue());
- Boolean value =
- Boolean.valueOf(
- Preferences.getSharedPreferences().getBoolean(
- FileManagerSettings.SETTINGS_EDITOR_SH_USE_THEME_DEFAULT.getId(),
- defaultValue.booleanValue()));
-
// Reset to default theme color scheme
this.mResetColorScheme = findPreference(KEY_RESET_COLOR_SCHEME);
// Now the listeners
- this.mOnChangeListener.onPreferenceChange(this.mUseThemeDefault, value);
- this.mUseThemeDefault.setOnPreferenceChangeListener(this.mOnChangeListener);
this.mResetColorScheme.setOnPreferenceClickListener(this.mOnClickListener);
// Loaded
}
/**
- * Method that set the enabled status of the color schemes preferences
- *
- * @param enable If the color scheme preferences should be enabled or not.
- * @hide
- */
- void setColorSchemeEnabled(final boolean enable) {
- int cc = this.mColorScheme.length;
- for (int i = 0; i < cc; i++) {
- this.mColorScheme[i].setEnabled(enable);
- }
- this.mResetColorScheme.setEnabled(enable);
- }
-
- /**
* Method that set a color scheme (use setting or theme default)
*
* @param color The color reference
+++ /dev/null
-/*
- * Copyright (C) 2012 The CyanogenMod Project
- *
- * 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.
- */
-
-package com.cyanogenmod.filemanager.activities.preferences;
-
-import android.content.Context;
-import android.os.Bundle;
-import android.preference.Preference;
-import android.preference.Preference.OnPreferenceChangeListener;
-import android.util.Log;
-
-import com.cyanogenmod.filemanager.R;
-import com.cyanogenmod.filemanager.preferences.FileManagerSettings;
-import com.cyanogenmod.filemanager.preferences.Preferences;
-import com.cyanogenmod.filemanager.ui.preferences.ThemeSelectorPreference;
-
-/**
- * A class that manages the theme selection
- */
-public class ThemesPreferenceFragment extends TitlePreferenceFragment {
-
- private static final String TAG = "ThemesPreferenceFragment"; //$NON-NLS-1$
-
- private static final boolean DEBUG = false;
-
- private ThemeSelectorPreference mThemeSelector;
-
- private final OnPreferenceChangeListener mOnChangeListener =
- new OnPreferenceChangeListener() {
- @Override
- public boolean onPreferenceChange(Preference preference, Object newValue) {
- String key = preference.getKey();
- if (DEBUG) {
- Log.d(TAG,
- String.format("New value for %s: %s", //$NON-NLS-1$
- key,
- String.valueOf(newValue)));
- }
- return true;
- }
- };
-
- /**
- * {@inheritDoc}
- */
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
-
- // Change the preference manager
- getPreferenceManager().setSharedPreferencesName(Preferences.SETTINGS_FILENAME);
- getPreferenceManager().setSharedPreferencesMode(Context.MODE_PRIVATE);
-
- // Add the preferences
- addPreferencesFromResource(R.xml.preferences_themes);
- getActivity().getActionBar().setIcon(R.drawable.ic_launcher_themes);
-
- // Theme selector
- this.mThemeSelector =
- (ThemeSelectorPreference)findPreference(
- FileManagerSettings.SETTINGS_THEME.getId());
- this.mThemeSelector.setOnPreferenceChangeListener(this.mOnChangeListener);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public CharSequence getTitle() {
- return getString(R.string.pref_themes);
- }
-}
* When to editor should use the default color scheme of the theme for syntax highlight
* @hide
*/
- SETTINGS_EDITOR_SH_USE_THEME_DEFAULT(
- "cm_filemanager_editor_sh_use_theme_default", Boolean.TRUE), //$NON-NLS-1$
-
- /**
- * When to editor should use the default color scheme of the theme for syntax highlight
- * @hide
- */
SETTINGS_EDITOR_SH_COLOR_SCHEME(
"cm_filemanager_editor_sh_color_scheme", ""), //$NON-NLS-1$ //$NON-NLS-2$
+++ /dev/null
-/*
- * Copyright (C) 2012 The CyanogenMod Project
- *
- * 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.
- */
-
-package com.cyanogenmod.filemanager.ui.preferences;
-
-import android.content.Context;
-import android.graphics.Paint;
-import android.graphics.drawable.Drawable;
-import android.util.AttributeSet;
-import android.view.MotionEvent;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.HorizontalScrollView;
-import android.widget.ImageView;
-import android.widget.LinearLayout;
-import android.widget.TextView;
-
-import com.cyanogenmod.filemanager.R;
-import com.cyanogenmod.filemanager.ui.ThemeManager.Theme;
-
-import java.util.List;
-
-/**
- * A view that allow view all installed themes by scrolling horizontally.
- */
-public class ThemeRoulette extends HorizontalScrollView {
-
- /**
- * An interface for raise theme selection events
- */
- public interface OnThemeScrollSelectionListener {
- /**
- * Method invoked when the scroll selection of a theme start
- */
- void onScrollSelectionStart();
- /**
- * Method invoked when a new scroll selection of a theme was made
- *
- * @param theme The new theme
- */
- void onScrollSelectionChanged(Theme theme);
- }
-
- /**
- * @hide
- */
- ViewGroup mRouletteLayout;
- private View mSpacer1;
- private View mSpacer2;
-
- /**
- * @hide
- */
- int mSpacerWidth;
- /**
- * @hide
- */
- int mThemeWidth;
-
- /**
- * @hide
- */
- int mCurrentThemePosition;
-
- /**
- * @hide
- */
- OnThemeScrollSelectionListener mOnThemeScrollSelectionListener;
-
- /**
- * Constructor of <code>ThemeRoulette</code>.
- *
- * @param context The current context
- */
- public ThemeRoulette(Context context) {
- super(context);
- init();
- }
-
- /**
- * Constructor of <code>ThemeRoulette</code>.
- *
- * @param context The current context
- * @param attrs The attributes of the XML tag that is inflating the view.
- */
- public ThemeRoulette(Context context, AttributeSet attrs) {
- super(context, attrs);
- init();
- }
-
- /**
- * Constructor of <code>ThemeRoulette</code>.
- *
- * @param context The current context
- * @param attrs The attributes of the XML tag that is inflating the view.
- * @param defStyle The default style to apply to this view. If 0, no style
- * will be applied (beyond what is included in the theme). This may
- * either be an attribute resource, whose value will be retrieved
- * from the current theme, or an explicit style resource.
- */
- public ThemeRoulette(Context context, AttributeSet attrs, int defStyle) {
- super(context, attrs, defStyle);
- init();
- }
-
- /**
- * Method that initializes the view
- */
- private void init() {
- this.mRouletteLayout = (ViewGroup)inflate(getContext(), R.layout.theme_roulette, null);
- this.mRouletteLayout.setLayoutParams(
- new LinearLayout.LayoutParams(
- ViewGroup.LayoutParams.WRAP_CONTENT,
- ViewGroup.LayoutParams.MATCH_PARENT));
- this.mSpacer1 = this.mRouletteLayout.findViewById(R.id.spacer1);
- this.mSpacer2 = this.mRouletteLayout.findViewById(R.id.spacer2);
- addView(this.mRouletteLayout);
-
- this.mCurrentThemePosition = -1;
-
- setSmoothScrollingEnabled(false);
- }
-
- /**
- * Method that sets the listener where return theme scroll selection changes
- *
- * @param onThemeScrollSelectionListener The listener
- */
- public void setOnThemeScrollSelectionListener(
- OnThemeScrollSelectionListener onThemeScrollSelectionListener) {
- this.mOnThemeScrollSelectionListener = onThemeScrollSelectionListener;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
- int parentWidth = MeasureSpec.getSize(widthMeasureSpec);
- int parentHeight = MeasureSpec.getSize(heightMeasureSpec);
- this.setMeasuredDimension(parentWidth, parentHeight);
- super.onMeasure(widthMeasureSpec, heightMeasureSpec);
-
- int mw = (int)getResources().getDimension(R.dimen.theme_max_width);
- int w = (int)(getWidth() / 1.5);
- this.mSpacerWidth = (getWidth() - Math.min(w, mw)) / 2;
- this.mSpacer1.getLayoutParams().width = this.mSpacerWidth;
- this.mSpacer2.getLayoutParams().width = this.mSpacerWidth;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean onTouchEvent(MotionEvent ev) {
-
- // Detect the motion
- int action = ev.getAction();
- switch (action & MotionEvent.ACTION_MASK) {
- case MotionEvent.ACTION_DOWN:
- break;
-
- case MotionEvent.ACTION_MOVE:
- if (this.mOnThemeScrollSelectionListener != null) {
- this.mOnThemeScrollSelectionListener.onScrollSelectionStart();
- }
- break;
-
- case MotionEvent.ACTION_CANCEL:
- case MotionEvent.ACTION_UP:
- post(new Runnable() {
- @Override
- public void run() {
- int themeViewPosition = getVisibleThemeViewPosition();
- if (themeViewPosition >= 1) {
- ThemeRoulette.this.mCurrentThemePosition = themeViewPosition;
- scrollToThemePosition(themeViewPosition, true);
- }
- }
- });
- break;
- }
- return super.onTouchEvent(ev);
- }
-
- /**
- * Method that sets the themes of this roulette
- *
- * @param themes The themes of this roulette
- * @param currentTheme The current theme
- * @param scrollTo The theme to scroll to
- */
- public void setThemes(List<Theme> themes, Theme currentTheme, final int scrollTo) {
- int cc = themes.size();
- int pos = -1;
- for (int i = 0; i < cc; i++) {
- Theme theme = themes.get(i);
- addTheme(this.mRouletteLayout, theme);
- if (theme.compareTo(currentTheme) == 0) {
- pos = i + 1;
- }
- }
-
- // If the theme is found
- if (pos != -1) {
- final int childPos = pos;
- post(new Runnable() {
- @Override
- public void run() {
- ThemeRoulette.this.mCurrentThemePosition =
- (scrollTo > 0) ? scrollTo : childPos;
- scrollToThemePosition(ThemeRoulette.this.mCurrentThemePosition, false);
- markThemeAsDefault(childPos);
- }
- });
- }
- }
-
- /**
- * Method that adds a theme to the roulette
- *
- * @param root The root view
- * @param theme The theme to add
- */
- private void addTheme(ViewGroup root, Theme theme) {
- // Create the layout and assign its theme
- ThemeView v = (ThemeView)inflate(getContext(), R.layout.theme_view, null);
- int mw = (int)getResources().getDimension(R.dimen.theme_max_width);
- int w = (int)(getWidth() / 1.5);
- this.mThemeWidth = Math.min(w, mw);
- v.setLayoutParams(
- new LinearLayout.LayoutParams(
- this.mThemeWidth,
- ViewGroup.LayoutParams.MATCH_PARENT));
- v.setTag(theme);
-
- // Set the view info
- TextView name = (TextView)v.findViewById(R.id.theme_name);
- name.setText(theme.getName());
- TextView author = (TextView)v.findViewById(R.id.theme_author);
- author.setText(theme.getAuthor());
- TextView desc = (TextView)v.findViewById(R.id.theme_desc);
- desc.setText(theme.getDescription());
- ImageView preview = (ImageView)v.findViewById(R.id.theme_preview);
- preview.setContentDescription(theme.getName());
- Drawable dw = theme.getPreviewImage(getContext());
- if (dw != null) {
- preview.setImageDrawable(dw);
- } else {
- dw = theme.getNoPreviewImage(getContext());
- preview.setImageDrawable(dw);
- }
-
- // Add to the end of the roulette
- root.addView(v, root.getChildCount()-1);
- }
-
- /**
- * Method that returns the visible theme view position, based on the position
- * on the screen (the most centered is the current view)
- *
- * @return int The visible theme view position
- * @hide
- */
- int getVisibleThemeViewPosition() {
- int[] rouletteSize = new int[2];
- this.getLocationOnScreen(rouletteSize);
- int x = rouletteSize[0] + (this.getWidth() / 2);
- int width = 0;
-
- int[] location = new int[2];
- int cc = this.mRouletteLayout.getChildCount()-1;
- for (int i = 1; i < cc; i++) {
- View v = this.mRouletteLayout.getChildAt(i);
- if (v instanceof ThemeView) {
- v.getLocationOnScreen(location);
- width = v.getWidth();
- if (location[0] <= x && x <= (location[0] + width)) {
- return i;
- }
- }
- }
- return -1;
- }
-
- /**
- * Method that scroll to the theme position
- *
- * @param position The position where to scroll
- * @param smooth Use a smooth scroll to position
- * @hide
- */
- void scrollToThemePosition(int position, boolean smooth) {
- if (position <= 0) return;
- int x = 0;
- if (position > 1) {
- x += ThemeRoulette.this.mThemeWidth * (position - 1);
- }
- if (smooth) {
- smoothScrollTo(x, 0);
- } else {
- scrollTo(x, 0);
- }
-
- // Notify the change
- if (ThemeRoulette.this.mOnThemeScrollSelectionListener != null) {
- ThemeView v =
- (ThemeView)ThemeRoulette.this.mRouletteLayout.
- getChildAt(position);
- ThemeRoulette.this.
- mOnThemeScrollSelectionListener.
- onScrollSelectionChanged((Theme)v.getTag());
- }
- }
-
- /**
- * Method that mark the current visible theme as the default
- */
- void markCurrentVisibleThemeAsDefault() {
- int position = getVisibleThemeViewPosition();
- if (position >= 1) {
- markThemeAsDefault(position);
- }
- }
-
- /**
- * Method that mark the theme as the default
- *
- * @param position The position of the theme
- */
- void markThemeAsDefault(int position) {
- int cc = this.mRouletteLayout.getChildCount()-1;
- for (int i = 1; i < cc; i++) {
- ThemeView v =
- (ThemeView)ThemeRoulette.this.mRouletteLayout.
- getChildAt(i);
- if (i == position) {
- v.getName().setPaintFlags(
- v.getName().getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
- } else {
- v.getName().setPaintFlags(
- v.getName().getPaintFlags() & ~Paint.UNDERLINE_TEXT_FLAG);
- }
- }
- }
-}
+++ /dev/null
-/*
- * Copyright (C) 2012 The CyanogenMod Project
- *
- * 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.
- */
-
-package com.cyanogenmod.filemanager.ui.preferences;
-
-import android.app.Activity;
-import android.content.Context;
-import android.content.res.Resources;
-import android.graphics.Point;
-import android.os.AsyncTask;
-import android.os.Parcel;
-import android.os.Parcelable;
-import android.preference.Preference;
-import android.util.AttributeSet;
-import android.util.Log;
-import android.view.Display;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.view.ViewGroup;
-import android.widget.Button;
-import android.widget.ProgressBar;
-import android.widget.Toast;
-
-import com.cyanogenmod.filemanager.R;
-import com.cyanogenmod.filemanager.ui.ThemeManager;
-import com.cyanogenmod.filemanager.ui.ThemeManager.Theme;
-import com.cyanogenmod.filemanager.ui.preferences.ThemeRoulette.OnThemeScrollSelectionListener;
-import com.cyanogenmod.filemanager.util.AndroidHelper;
-import com.cyanogenmod.filemanager.util.DialogHelper;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * A preference implementation for the selection of a theme.
- */
-public class ThemeSelectorPreference extends Preference implements OnClickListener {
-
- private static final String TAG = "ThemeSelectorPreference"; //$NON-NLS-1$
-
- /**
- * @hide
- */
- final AsyncTask<Void, Integer, List<Theme>> mThemeTask =
- new AsyncTask<Void, Integer, List<Theme>>() {
- /**
- * {@inheritDoc}
- */
- @Override
- protected List<Theme> doInBackground(Void... params) {
- List<Theme> themes = new ArrayList<Theme>();
- themes.addAll(ThemeManager.getAvailableThemes(getContext()));
- return themes;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected void onPostExecute(List<Theme> result) {
- ThemeSelectorPreference.this.mRoulette.setThemes(
- result,
- ThemeManager.getCurrentTheme(getContext()),
- ThemeSelectorPreference.this.mScrollTo);
- ThemeSelectorPreference.this.mWaiting.setVisibility(View.GONE);
- }
- };
-
-
- private View mRootView;
- /**
- * @hide
- */
- Button mButton;
- /**
- * @hide
- */
- ThemeRoulette mRoulette;
- /**
- * @hide
- */
- ProgressBar mWaiting;
-
- // The visible theme, selected by scrolling. This may not be the current theme.
- /**
- * @hide
- */
- Theme mSelectedTheme;
-
- /**
- * @hide
- */
- int mScrollTo = -1;
-
- /**
- * Constructor of <code>ThemeSelectorPreference</code>.
- *
- * @param context The current context
- */
- public ThemeSelectorPreference(Context context) {
- super(context);
- init();
- }
-
- /**
- * Constructor of <code>ThemeSelectorPreference</code>.
- *
- * @param context The current context
- * @param attrs The attributes of the XML tag that is inflating the view.
- */
- public ThemeSelectorPreference(Context context, AttributeSet attrs) {
- super(context, attrs);
- init();
- }
-
- /**
- * Constructor of <code>ThemeSelectorPreference</code>.
- *
- * @param context The current context
- * @param attrs The attributes of the XML tag that is inflating the view.
- * @param defStyle The default style to apply to this view. If 0, no style
- * will be applied (beyond what is included in the theme). This may
- * either be an attribute resource, whose value will be retrieved
- * from the current theme, or an explicit style resource.
- */
- public ThemeSelectorPreference(Context context, AttributeSet attrs, int defStyle) {
- super(context, attrs, defStyle);
- init();
- }
-
- /**
- * Method that initializes the preference
- */
- private void init() {
- setLayoutResource(R.layout.theme_selector_preference);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected View onCreateView(ViewGroup parent) {
- this.mRootView = super.onCreateView(parent);
- this.mButton = (Button)this.mRootView.findViewById(R.id.theme_button);
- this.mButton.setOnClickListener(this);
- this.mRoulette = (ThemeRoulette)this.mRootView.findViewById(R.id.theme_roulette);
- this.mRoulette.setOnThemeScrollSelectionListener(new OnThemeScrollSelectionListener() {
- @Override
- public void onScrollSelectionStart() {
- ThemeSelectorPreference.this.mButton.setEnabled(false);
- }
-
- @Override
- public void onScrollSelectionChanged(Theme theme) {
- boolean enabled = ThemeManager.getCurrentTheme(getContext()).compareTo(theme) != 0;
- ThemeSelectorPreference.this.mButton.setEnabled(enabled);
- if (enabled) {
- ThemeSelectorPreference.this.mSelectedTheme = theme;
- }
- }
- });
- this.mWaiting = (ProgressBar)this.mRootView.findViewById(R.id.theme_waiting);
- return this.mRootView;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected void onBindView(final View view) {
- super.onBindView(view);
- view.post(new Runnable() {
- @Override
- public void run() {
- Resources res = getContext().getResources();
- Display display = ((Activity)getContext()).getWindowManager().getDefaultDisplay();
- Point size = new Point();
- display.getSize(size);
-
- // Set the preference height
- int mh = (int)res.getDimension(R.dimen.theme_max_height);
- int rowHeight = 0;
- if (!AndroidHelper.isTablet(getContext())) {
- rowHeight = (int)res.getDimension(R.dimen.extra_margin);
- }
- int[] window = new int[2];
- view.getLocationInWindow(window);
- view.getLayoutParams().height =
- Math.min(mh, size.y - window[1] - rowHeight);
-
- // The button width
- int minWidth = (int)res.getDimension(R.dimen.themes_min_width_button);
- int w = ThemeSelectorPreference.this.mButton.getWidth();
- ThemeSelectorPreference.this.mButton.setWidth(Math.max(minWidth, w));
-
- // Now display the progress and load the themes in background
- ThemeSelectorPreference.this.mWaiting.setVisibility(View.VISIBLE);
- ThemeSelectorPreference.this.mThemeTask.execute();
- }
- });
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public void onClick(View v) {
- String newValue = this.mSelectedTheme.getComposedId();
- if (ThemeManager.setCurrentTheme(getContext(), newValue)) {
- if (!persistString(newValue)) {
- Log.w(TAG, "can't save theme preference"); //$NON-NLS-1$
- }
- this.mRoulette.markCurrentVisibleThemeAsDefault();
- callChangeListener(newValue);
-
- // Now we are in the current theme
- ThemeSelectorPreference.this.mSelectedTheme =
- ThemeManager.getCurrentTheme(getContext());
- ThemeSelectorPreference.this.mButton.setEnabled(false);
-
- // Display a confirmation
- DialogHelper.showToast(
- getContext(), R.string.pref_themes_confirmation, Toast.LENGTH_SHORT);
- } else {
- // The theme was not found
- DialogHelper.showToast(
- getContext(), R.string.pref_themes_not_found, Toast.LENGTH_SHORT);
- }
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Parcelable onSaveInstanceState() {
- final Parcelable superState = super.onSaveInstanceState();
- final SavedState myState = new SavedState(superState);
- myState.mPosition = this.mRoulette.mCurrentThemePosition;
- return myState;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected void onRestoreInstanceState(Parcelable state) {
- if (state == null || !state.getClass().equals(SavedState.class)) {
- // Didn't save state for us in onSaveInstanceState
- super.onRestoreInstanceState(state);
- return;
- }
-
- SavedState myState = (SavedState) state;
- super.onRestoreInstanceState(myState.getSuperState());
- this.mScrollTo = myState.mPosition;
- }
-
- /**
- * A saved state persistence class
- */
- static class SavedState extends BaseSavedState {
- int mPosition;
-
- /**
- * Constructor of <code>SavedState</code>
- *
- * @param source The original parcel
- */
- public SavedState(Parcel source) {
- super(source);
- this.mPosition = source.readInt();
- }
-
- /**
- * Constructor of <code>SavedState</code>
- *
- * @param superState The super state
- */
- public SavedState(Parcelable superState) {
- super(superState);
- this.mPosition = -1;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public void writeToParcel(Parcel dest, int flags) {
- super.writeToParcel(dest, flags);
- dest.writeInt(this.mPosition);
- }
-
- /**
- * A class for create the saved state
- */
- public static final Parcelable.Creator<SavedState> CREATOR =
- new Parcelable.Creator<SavedState>() {
- @Override
- public SavedState createFromParcel(Parcel in) {
- return new SavedState(in);
- }
-
- @Override
- public SavedState[] newArray(int size) {
- return new SavedState[size];
- }
- };
- }
-}
+++ /dev/null
-/*
- * Copyright (C) 2012 The CyanogenMod Project
- *
- * 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.
- */
-
-package com.cyanogenmod.filemanager.ui.preferences;
-
-import android.content.Context;
-import android.util.AttributeSet;
-import android.widget.ImageView;
-import android.widget.RelativeLayout;
-import android.widget.TextView;
-
-import com.cyanogenmod.filemanager.R;
-import com.cyanogenmod.filemanager.ui.ThemeManager;
-import com.cyanogenmod.filemanager.ui.ThemeManager.Theme;
-
-/**
- * A view that display information about a {@link Theme}
- */
-public class ThemeView extends RelativeLayout {
-
- private TextView mName;
- private TextView mAuthor;
- private TextView mDescription;
- private ImageView mPreview;
-
- /**
- * Constructor of <code>ThemeView</code>.
- *
- * @param context The current context
- */
- public ThemeView(Context context) {
- super(context);
- }
-
- /**
- * Constructor of <code>ThemeView</code>.
- *
- * @param context The current context
- * @param attrs The attributes of the XML tag that is inflating the view.
- */
- public ThemeView(Context context, AttributeSet attrs) {
- super(context, attrs);
- }
-
- /**
- * Constructor of <code>ThemeView</code>.
- *
- * @param context The current context
- * @param attrs The attributes of the XML tag that is inflating the view.
- * @param defStyle The default style to apply to this view. If 0, no style
- * will be applied (beyond what is included in the theme). This may
- * either be an attribute resource, whose value will be retrieved
- * from the current theme, or an explicit style resource.
- */
- public ThemeView(Context context, AttributeSet attrs, int defStyle) {
- super(context, attrs, defStyle);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected void onLayout(boolean changed, int l, int t, int r, int b) {
- super.onLayout(changed, l, t, r, b);
- this.mName = (TextView)findViewById(R.id.theme_name);
- this.mAuthor = (TextView)findViewById(R.id.theme_author);
- this.mDescription = (TextView)findViewById(R.id.theme_desc);
- this.mPreview = (ImageView)findViewById(R.id.theme_preview);
-
- // Apply current theme
- Theme theme = ThemeManager.getCurrentTheme(getContext());
- theme.setTextColor(getContext(), this.mName, "text_color"); //$NON-NLS-1$
- theme.setTextColor(getContext(), this.mAuthor, "text_color"); //$NON-NLS-1$
- theme.setTextColor(getContext(), this.mDescription, "text_color"); //$NON-NLS-1$
- }
-
- /**
- * Method that return the view for the name of the theme
- *
- * @return TextView The view that holds the name of the theme
- */
- public TextView getName() {
- return this.mName;
- }
-
- /**
- * Method that return the view for the author of the theme
- *
- * @return TextView The view that holds the author of the theme
- */
- public TextView getAuthor() {
- return this.mAuthor;
- }
-
- /**
- * Method that return the view for the description of the theme
- *
- * @return TextView The view that holds the description of the theme
- */
- public TextView getDescription() {
- return this.mDescription;
- }
-
- /**
- * Method that return the view for the preview image of the theme
- *
- * @return TextView The view that holds the preview image of the theme
- */
- public ImageView getPreview() {
- return this.mPreview;
- }
-
-}
+++ /dev/null
-CyanogenMod File Manager Themes
-===============================
-
-A package that contains extra themes for the CMFileManager application.
-
-This package brings with the next themes:
-
- - Dark theme
-
-For build new themes, developers should:
-
- - Create a new package that contains an activity with:
- * Permission: com.cyanogenmod.filemanager.permissions.READ_THEME
- * Action: com.cyanogenmod.filemanager.actions.MAIN_THEME
- * Category: com.cyanogenmod.filemanager.categories.THEME
- - Define the themes_ids, themes_names and themes_descriptions arrays-strings
- definitions for the themes that the package support.
- - Create a xxx_theme.xml for every theme that the package support, where the
- xxx is the id of the theme. Put your resources in this file, prefixing the
- resource with the id of the theme (xxx_). For a list of all supported
- resources see theme.xml in res/values of CMFileManager project.
-
-
-This source was released under the terms of
-[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) license.
-
-Visit [CyanogenMod Github](https://github.com/CyanogenMod) and [CyanogenMod
-Code Review](http://review.cyanogenmod.com/) to get the source and patches.
-
-Copyright © 2012 The CyanogenMod Project
-
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 The CyanogenMod Project
-
- 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.
- -->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item
- android:drawable="@drawable/btn_material_dark_check_on_normal_inverted"
- android:state_selected="true"/>
- <item
- android:drawable="@drawable/btn_material_dark_check_off_normal"/>
-
-</selector>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 The CyanogenMod Project
-
- 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.
- -->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
-
- <item
- android:drawable="@color/material_palette_blue_primary"
- android:state_pressed="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary"
- android:state_enabled="true"
- android:state_focused="true"/>
- <item
- android:drawable="@drawable/dark_background_disabled"
- android:state_enabled="false"/>
- <item
- android:drawable="@drawable/dark_background"/>
-
-</selector>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 The CyanogenMod Project
-
- 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.
- -->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
-
- <item
- android:drawable="@color/material_palette_blue_primary_dark"
- android:state_selected="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary_dark"
- android:state_pressed="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary"
- android:state_enabled="true"
- android:state_focused="true"/>
- <item
- android:drawable="@android:color/transparent"/>
-
-</selector>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 The CyanogenMod Project
-
- 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.
- -->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
-
- <item
- android:drawable="@color/material_palette_blue_primary_dark"
- android:state_selected="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary_dark"
- android:state_pressed="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary"
- android:state_enabled="true"
- android:state_focused="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary_dark"/>
-
-</selector>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 The CyanogenMod Project
-
- 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.
- -->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
-
- <item
- android:drawable="@color/material_palette_blue_primary_dark"
- android:state_selected="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary_dark"
- android:state_pressed="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary"
- android:state_enabled="true"
- android:state_focused="true"/>
- <item
- android:drawable="@drawable/dark_popup_background"/>
-
-</selector>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 The CyanogenMod Project
-
- 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.
- -->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
-
- <item
- android:drawable="@color/material_palette_blue_primary"
- android:state_pressed="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary_dark"
- android:state_enabled="true"
- android:state_focused="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary_dark"
- android:state_enabled="true"
- android:state_checked="true"/>
- <item
- android:drawable="@color/material_palette_blue_primary_dark"
- android:state_enabled="true"
- android:state_selected="true"/>
- <item
- android:drawable="@android:color/transparent"/>
-
-</selector>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2010 The Android Open Source Project
-
- 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.
--->
-
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item android:id="@android:id/background"
- android:drawable="@drawable/progress_bg_material_dark" />
-
- <item android:id="@android:id/secondaryProgress">
- <scale android:scaleWidth="100%"
- android:drawable="@drawable/progress_secondary_material_dark" />
- </item>
-
- <item android:id="@android:id/progress">
- <scale android:scaleWidth="100%"
- android:drawable="@drawable/progress_primary_material_dark" />
- </item>
-
-</layer-list>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Donker Tema</string>
- <string name="dark_theme_desc">\'n Donker tema vir CyanogenMod Lêerbestuurder.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">قالب ألوان داكنة</string>
- <string name="dark_theme_desc">قالب ألوان مظلم لإدارة الملفات CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tema escuru</string>
- <string name="dark_theme_desc">Un tema de colores escuros pa File Manager.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tünd tema</string>
- <string name="dark_theme_desc">CyanogenMod Fayl İdarəetmə üçün tünd tema.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">গাঢ় থিম</string>
- <string name="dark_theme_desc">সায়ানোজেনমড ফাইল ম্যানেজারের জন্য একটি গাঢ় থিম।</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tema fosc</string>
- <string name="dark_theme_desc">Un tema fosc pel Gestor d\'arxius de CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tmavý motiv</string>
- <string name="dark_theme_desc">Tmavý motiv pro Správce souborů CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Mørk tema</string>
- <string name="dark_theme_desc">Et mørkt tema til CyanogenMods filstyring.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Dunkel</string>
- <string name="dark_theme_desc">Dunkles Design für den CM-Dateimanager.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Σκοτεινό θέμα</string>
- <string name="dark_theme_desc">Ένα σκοτεινό θέμα για την Διαχείριση αρχείων του CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Dark Theme</string>
- <string name="dark_theme_desc">A dark theme for CyanogenMod File Manager.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tema oscuro</string>
- <string name="dark_theme_desc">Un tema en colores oscuros para File Manager.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tume Teema</string>
- <string name="dark_theme_desc">Tume teema CyanogenMod Failihalduri jaoks.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Gai iluna</string>
- <string name="dark_theme_desc">CyanogenMod-en fitxategi kudeatzailearentzako gai ilun bat.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tumma teema</string>
- <string name="dark_theme_desc">Tumma teema CyanogenModin tiedostonhallintaan.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Thème Sombre</string>
- <string name="dark_theme_desc">Un thème sombre pour l\'Explorateur de fichier CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tema escuro</string>
- <string name="dark_theme_desc">Un tema escuro para o xestor de ficheiros de CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tamna Tema</string>
- <string name="dark_theme_desc">Tamna tema za CyanogenMod Upravitelj Datoteka.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Sötét téma</string>
- <string name="dark_theme_desc">Sötét téma a CyanogenMod Fájlkezelőhöz.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tema Gelap</string>
- <string name="dark_theme_desc">Tema gelap untuk Manajer Berkas CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tema scuro</string>
- <string name="dark_theme_desc">Un tema scuro per il file manager di CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">ערכת נושא כהה</string>
- <string name="dark_theme_desc">ערכת נושא כהה עבור מנהל הקבצים של CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">ダークテーマ</string>
- <string name="dark_theme_desc">CyanogenModファイルマネージャーのダークテーマ。</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">어두운 테마</string>
- <string name="dark_theme_desc">CyanogenMod 파일 관리자용 어두운 테마입니다.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">تاریکی تیم</string>
- <string name="dark_theme_desc">تاریکی تیم بۆ سایینۆجن مۆد فایل مانهجهر</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Däischteren Design</string>
- <string name="dark_theme_desc">En Däischteren Design fir den CM-Fichiermanager.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tamsi tema</string>
- <string name="dark_theme_desc">Tamsi tema „CyanogenMod“ failų tvarkyklei</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tumša tēma</string>
- <string name="dark_theme_desc">CyanogenMod failu pārvaldnieka tumšā tēma.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Mørkt Tema</string>
- <string name="dark_theme_desc">Et mørkt tema for CyanogenMod filbehandler.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Donker thema</string>
- <string name="dark_theme_desc">Donkere kleuren voor de bestandsbeheerder</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Ciemny motyw</string>
- <string name="dark_theme_desc">Ciemny motyw dla Menedżera plików CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tema escuro</string>
- <string name="dark_theme_desc">Um tema escuro para o Gerenciador de Arquivos CyanogenMod</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tema escuro</string>
- <string name="dark_theme_desc">Um tema escuro para o gestor de ficheiros CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Temă \"întunecată\"</string>
- <string name="dark_theme_desc">Temă \"întunecată\" pentru Managerul de Fișiere CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Тёмная тема</string>
- <string name="dark_theme_desc">Тёмная тема для файлового менеджера CyanogenMod</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">අඳුරු තේමාව</string>
- <string name="dark_theme_desc">CyanogenMod ගොනු කළමනාකරු සඳහා අඳුරු තේමාවක්.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Tmavá téma</string>
- <string name="dark_theme_desc">Tmavá téma pre Správcu súborov CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Тамна тема</string>
- <string name="dark_theme_desc">Тамна тема за CyanogenMod менаџер фајлова.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Mörkt tema</string>
- <string name="dark_theme_desc">Ett mörkt tema för CyanogenMods filhanterare.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">ชุดรูปแบบมืด</string>
- <string name="dark_theme_desc">ชุดรูปแบบมืดสำหรับตัวจัดการไฟล์ของ CyanogenMod</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Koyu Tema</string>
- <string name="dark_theme_desc">CyanogenMod Dosya Yöneticisi için koyu tema.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">Темна тема</string>
- <string name="dark_theme_desc">Темна тема для файлового менеджера CyanogenMod.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">暗色主题</string>
- <string name="dark_theme_desc">用于 CyanogenMod 文件管理器的暗色主题.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">深色主題</string>
- <string name="dark_theme_desc">用於 CyanogenMod 檔案管理器的深色主題。</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="dark_theme_name">深色主題</string>
- <string name="dark_theme_desc">CyanogenMod 檔案管理器的深色主題。</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2012-2013 The CyanogenMod Project
-
- 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.
--->
-
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <!-- The base theme used to customize some (non-themeables) widgets like dialogs
- 2 possibles values:
- - material: @android:style/Theme.Holo
- - material_light: @android:style/Theme.Holo.Light
- -->
- <string name="dark_base_theme" translatable="false">material</string>
-
- <!-- The image preview -->
- <drawable name="dark_theme_preview_drawable">@drawable/dark_theme_preview</drawable>
-
- <!-- The drawable for the title bar -->
- <drawable name="dark_titlebar_drawable">@drawable/dark_titlebar</drawable>
-
- <!-- The background drawable -->
- <drawable name="dark_background_drawable">@drawable/dark_background</drawable>
-
- <!-- The drawable for the status bar -->
- <drawable name="dark_statusbar_drawable">@drawable/dark_statusbar</drawable>
-
- <!-- The drawable for the selection bar -->
- <drawable name="dark_selectionbar_drawable">@drawable/dark_selectionbar</drawable>
-
- <!-- The drawable for the overflow action bar button -->
- <drawable name="dark_ab_overflow_drawable">@drawable/ic_material_dark_overflow</drawable>
- <!-- The drawable for the actions action bar button -->
- <drawable name="dark_ab_actions_drawable">@drawable/ic_material_dark_contextual_action</drawable>
- <!-- The drawable for the search action bar button -->
- <drawable name="dark_ab_search_drawable">@drawable/ic_material_dark_search</drawable>
- <!-- The drawable for the bookmarks action bar button -->
- <drawable name="dark_ab_bookmarks_drawable">@drawable/ic_material_dark_bookmarks</drawable>
- <!-- The drawable for the history action bar button -->
- <drawable name="dark_ab_history_drawable">@drawable/ic_material_dark_history</drawable>
- <!-- The drawable for the sort mode of expander bar -->
- <drawable name="dark_ab_sort_mode_drawable">@drawable/ic_material_dark_sort_alphabetically</drawable>
- <!-- The drawable for the layout mode of expander bar -->
- <drawable name="dark_ab_layout_mode_drawable">@drawable/ic_material_dark_layout</drawable>
- <!-- The drawable for the view options of expander bar -->
- <drawable name="dark_ab_view_options_drawable">@drawable/ic_material_dark_view</drawable>
- <!-- The drawable for the selection done button -->
- <drawable name="dark_ab_selection_done_drawable">@drawable/ic_material_dark_accept</drawable>
- <!-- The drawable for the save action bar button -->
- <drawable name="dark_ab_save_drawable">@drawable/ic_material_dark_save</drawable>
- <!-- The drawable for the tab action bar button -->
- <drawable name="dark_ab_tab_drawable">@drawable/ic_material_dark_tab</drawable>
- <!-- The drawable for the print action bar button -->
- <drawable name="dark_ab_print_drawable">@drawable/ic_material_dark_print</drawable>
- <!-- The drawable for the settings action bar button -->
- <drawable name="dark_ab_settings_drawable">@drawable/ic_material_dark_settings</drawable>
- <!-- The drawable for the delete action bar button -->
- <drawable name="dark_ab_delete_drawable">@drawable/ic_material_dark_delete</drawable>
-
- <!-- The close action drawable from the expander bar -->
- <drawable name="dark_expander_close_drawable">@drawable/ic_material_dark_expander_close</drawable>
- <!-- The open action drawable from the expander bar -->
- <drawable name="dark_expander_open_drawable">@drawable/ic_material_dark_expander_open</drawable>
-
- <!-- The text color of TextView controls -->
- <color name="dark_text_color">#99ffffff</color>
-
- <!-- The highlight color for terms found in the search result -->
- <color name="dark_search_highlight_color">#9933b5e5</color>
-
- <!-- The background color of the navigation drawer -->
- <color name="dark_drawer_color">#ff222222</color>
-
- <!-- The drawer icon -->
- <drawable name="dark_drawer_icon">@drawable/ic_material_dark_navigation_drawer</drawable>
-
- <!-- FileSystem locked drawable -->
- <drawable name="dark_filesystem_locked_drawable">@drawable/ic_material_dark_fs_locked</drawable>
- <!-- FileSystem unlocked drawable -->
- <drawable name="dark_filesystem_unlocked_drawable">@drawable/ic_material_dark_fs_unlocked</drawable>
- <!-- FileSystem warning drawable -->
- <drawable name="dark_filesystem_warning_drawable">@drawable/ic_material_dark_fs_warning</drawable>
-
- <!-- Secure FileSystem icon -->
- <drawable name="dark_secure_filesystem_drawable">@drawable/ic_material_dark_secure</drawable>
- <!-- Remote FileSystem icon -->
- <drawable name="dark_remote_filesystem_drawable">@drawable/ic_material_dark_remote</drawable>
-
- <!-- The popup menu checkable selector drawable -->
- <drawable name="dark_popup_checkable_selector_drawable">@drawable/dark_checkable_selector</drawable>
- <!-- The menu checkable selector drawable -->
- <drawable name="dark_menu_checkable_selector_drawable">@drawable/dark_material_popup_selector</drawable>
- <!-- The checkable item selector drawable -->
- <drawable name="dark_selection_drawable">@drawable/dark_material_selection</drawable>
-
- <!-- Selectors -->
- <drawable name="dark_selectors_deselected_drawable">@drawable/dark_material_list_selector_deselected</drawable>
- <drawable name="dark_selectors_selected_drawable">@drawable/dark_material_list_selector_selected</drawable>
- <drawable name="dark_selectors_button_drawable">@drawable/dark_material_button_selector</drawable>
-
- <!-- Checkboxes -->
- <drawable name="dark_checkbox_deselected_drawable">@drawable/btn_material_dark_check_off_normal</drawable>
- <drawable name="dark_checkbox_selected_drawable">@drawable/btn_material_dark_check_on_normal</drawable>
-
- <!-- Dividers -->
- <drawable name="dark_horizontal_divider_drawable">@drawable/divider_horizontal_dark_opaque</drawable>
- <drawable name="dark_vertical_divider_drawable">@drawable/divider_vertical_dark_opaque</drawable>
- <color name="dark_horizontal_divider_color">#99505050</color>
- <color name="dark_vertical_divider_color">#99505050</color>
-
- <!-- Icons -->
- <drawable name="dark_ic_close_drawable">@drawable/ic_material_dark_close</drawable>
- <drawable name="dark_ic_config_drawable">@drawable/ic_material_dark_config</drawable>
- <drawable name="dark_ic_home_drawable">@drawable/ic_material_dark_home</drawable>
- <drawable name="dark_ic_filesystem_drawable">@drawable/ic_material_dark_filesystem</drawable>
- <drawable name="dark_ic_sdcard_drawable">@drawable/ic_material_dark_sdcard</drawable>
- <drawable name="dark_ic_usb_drawable">@drawable/ic_material_dark_usb</drawable>
- <drawable name="dark_ic_user_defined_bookmark_drawable">@drawable/ic_material_dark_user_defined_bookmark</drawable>
- <drawable name="dark_ic_copy_drawable">@drawable/ic_material_dark_copy</drawable>
- <drawable name="dark_ic_secure_drawable">@drawable/ic_material_dark_secure</drawable>
- <drawable name="dark_ic_remote_drawable">@drawable/ic_material_dark_remote</drawable>
-
- <!-- Disk usage graph -->
- <color name="dark_disk_usage_total_color">#7ecccccc</color>
- <color name="dark_disk_usage_used_color">#cc0099cc</color>
- <color name="dark_disk_usage_used_warning_color">#99ff4444</color>
-
- <!-- ProgressBar -->
- <drawable name="dark_horizontal_progress_bar">@drawable/dark_progress_horizontal_material</drawable>
-
- <!-- Autocomplete -->
- <color name="dark_autocomplete_fg_color">#99ffffff</color>
- <color name="dark_autocomplete_bg_color">#aaaaaa</color>
-
- <!-- Syntax Highlight -->
- <color name="dark_ash_text_color">#99ffffff</color>
- <color name="dark_ash_assignment_color">#99ffffff</color>
- <color name="dark_ash_singleline_comment_color">#ff3f7f5f</color>
- <color name="dark_ash_multiline_comment_color">#ff7f9fbf</color>
- <color name="dark_ash_keyword_color">#ffd2568a</color>
- <color name="dark_ash_quoted_string_color">#ff4Ab3b6</color>
- <color name="dark_ash_variable_color">#ff91bcf8</color>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2012-2014 The CyanogenMod Project
-
- 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <!-- The dark theme strings -->
- <string name="dark_theme_name">Dark Theme</string>
- <string name="dark_theme_desc">A dark theme for CyanogenMod File Manager.</string>
-</resources>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2012-2013 The CyanogenMod Project
-
- 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.
--->
-
-<resources xmlns:android="http://schemas.android.com/apk/res/android">
- <!-- The identifiers of the themes that this app contains. All the resources
- of every theme MUST be qualified with the identifier of the theme -->
- <string-array name="themes_ids" translatable="false">
- <item>dark</item>
- </string-array>
- <string-array name="themes_names" translatable="false">
- <item>@string/dark_theme_name</item>
- </string-array>
- <string-array name="themes_descriptions" translatable="false">
- <item>@string/dark_theme_desc</item>
- </string-array>
-</resources>
+++ /dev/null
-/*
- * Copyright (C) 2012 The CyanogenMod Project
- *
- * 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.
- */
-
-package com.cyanogenmod.filemanager.themes;
-
-import android.app.Activity;
-import android.os.Bundle;
-
-/**
- * A mock activity for allow to <code>File Manager</code> to find this themes.<br/>
- * <br/>
- * NOTE: This activity must define the next filters:<br/>
- * <ul>
- * <li>Permission: <b>com.cyanogenmod.filemanager.permissions.READ_THEME</b></li>
- * <li>Action: <b>com.cyanogenmod.filemanager.actions.MAIN_THEME</b></li>
- * <li>Category: <b>com.cyanogenmod.filemanager.categories.THEME</b></li>
- * </ul>
- */
-public class ThemeActivity extends Activity {
- /**
- * {@inheritDoc}
- */
- @Override
- protected void onCreate(Bundle state) {
- //Save state
- super.onCreate(state);
- }
-}