diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2015-05-02 11:20:25 +0200 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2015-05-02 11:20:25 +0200 |
commit | ebcb002973cb0db6360d5a126e8697711806bde0 (patch) | |
tree | 23663a5c6854b689e7d5c0f1e7a63567afacd26c /undobar | |
parent | 341c4a1a0b7cce4bcdddc068e1bdbd607fb87059 (diff) | |
download | cgeo-ebcb002973cb0db6360d5a126e8697711806bde0.zip cgeo-ebcb002973cb0db6360d5a126e8697711806bde0.tar.gz cgeo-ebcb002973cb0db6360d5a126e8697711806bde0.tar.bz2 |
new: undo list operations
Diffstat (limited to 'undobar')
80 files changed, 966 insertions, 0 deletions
diff --git a/undobar/.classpath b/undobar/.classpath new file mode 100644 index 0000000..f8b9238 --- /dev/null +++ b/undobar/.classpath @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src"> + <attributes> + <attribute name="ignore_optional_problems" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" path="gen"> + <attributes> + <attribute name="ignore_optional_problems" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> + <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> + <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> + <classpathentry kind="output" path="bin/classes"/> +</classpath> diff --git a/undobar/.project b/undobar/.project new file mode 100644 index 0000000..8b2bdda --- /dev/null +++ b/undobar/.project @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>undobar</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>com.android.ide.eclipse.adt.ApkBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>com.android.ide.eclipse.adt.AndroidNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/undobar/.settings/org.eclipse.jdt.core.prefs b/undobar/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..b080d2d --- /dev/null +++ b/undobar/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/undobar/AndroidManifest.xml b/undobar/AndroidManifest.xml new file mode 100644 index 0000000..5fe72cb --- /dev/null +++ b/undobar/AndroidManifest.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest + package="com.jensdriller.libs.undobar" + xmlns:android="http://schemas.android.com/apk/res/android" + android:versionCode="4" + android:versionName="1.3" > + + <uses-sdk + android:minSdkVersion="8" + android:targetSdkVersion="21" /> + +</manifest>
\ No newline at end of file diff --git a/undobar/build.xml b/undobar/build.xml new file mode 100644 index 0000000..d87d105 --- /dev/null +++ b/undobar/build.xml @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="play_services_base" default="help"> + + <!-- The local.properties file is created and updated by the 'android' tool. + It contains the path to the SDK. It should *NOT* be checked into + Version Control Systems. --> + <property file="local.properties" /> + + <!-- The ant.properties file can be created by you. It is only edited by the + 'android' tool to add properties to it. + This is the place to change some Ant specific build properties. + Here are some properties you may want to change/update: + + source.dir + The name of the source directory. Default is 'src'. + out.dir + The name of the output directory. Default is 'bin'. + + For other overridable properties, look at the beginning of the rules + files in the SDK, at tools/ant/build.xml + + Properties related to the SDK location or the project target should + be updated using the 'android' tool with the 'update' action. + + This file is an integral part of the build system for your + application and should be checked into Version Control Systems. + + --> + <property file="ant.properties" /> + + <!-- if sdk.dir was not set from one of the property file, then + get it from the ANDROID_HOME env var. + This must be done before we load project.properties since + the proguard config can use sdk.dir --> + <property environment="env" /> + <condition property="sdk.dir" value="${env.ANDROID_HOME}"> + <isset property="env.ANDROID_HOME" /> + </condition> + + <!-- The project.properties file is created and updated by the 'android' + tool, as well as ADT. + + This contains project specific properties such as project target, and library + dependencies. Lower level build properties are stored in ant.properties + (or in .classpath for Eclipse projects). + + This file is an integral part of the build system for your + application and should be checked into Version Control Systems. --> + <loadproperties srcFile="project.properties" /> + + <!-- quick check on sdk.dir --> + <fail + message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable." + unless="sdk.dir" /> + + <!-- + Import per project custom build rules if present at the root of the project. + This is the place to put custom intermediary targets such as: + -pre-build + -pre-compile + -post-compile (This is typically used for code obfuscation. + Compiled code location: ${out.classes.absolute.dir} + If this is not done in place, override ${out.dex.input.absolute.dir}) + -post-package + -post-build + -pre-clean + --> + <import file="custom_rules.xml" optional="true" /> + + <!-- Import the actual build file. + + To customize existing targets, there are two options: + - Customize only one target: + - copy/paste the target into this file, *before* the + <import> task. + - customize it to your needs. + - Customize the whole content of build.xml + - copy/paste the content of the rules files (minus the top node) + into this file, replacing the <import> task. + - customize to your needs. + + *********************** + ****** IMPORTANT ****** + *********************** + In all cases you must update the value of version-tag below to read 'custom' instead of an integer, + in order to avoid having your file be overridden by tools such as "android update project" + --> + <!-- version-tag: 1 --> + <import file="${sdk.dir}/tools/ant/build.xml" /> + +</project> diff --git a/undobar/libs/undobar-1.3.jar b/undobar/libs/undobar-1.3.jar Binary files differnew file mode 100644 index 0000000..f6f78f7 --- /dev/null +++ b/undobar/libs/undobar-1.3.jar diff --git a/undobar/lint.xml b/undobar/lint.xml new file mode 100644 index 0000000..715caf3 --- /dev/null +++ b/undobar/lint.xml @@ -0,0 +1,190 @@ +<?xml version="1.0" encoding="UTF-8"?> +<lint> + <issue id="AaptCrash" severity="ignore" /> + <issue id="AccidentalOctal" severity="ignore" /> + <issue id="AdapterViewChildren" severity="ignore" /> + <issue id="AddJavascriptInterface" severity="ignore" /> + <issue id="AllowBackup" severity="ignore" /> + <issue id="AlwaysShowAction" severity="ignore" /> + <issue id="AndroidGradlePluginVersion" severity="ignore" /> + <issue id="AppCompatMethod" severity="ignore" /> + <issue id="AppCompatResource" severity="ignore" /> + <issue id="Assert" severity="ignore" /> + <issue id="ButtonCase" severity="ignore" /> + <issue id="ButtonOrder" severity="ignore" /> + <issue id="ButtonStyle" severity="ignore" /> + <issue id="ByteOrderMark" severity="ignore" /> + <issue id="ClickableViewAccessibility" severity="ignore" /> + <issue id="CommitPrefEdits" severity="ignore" /> + <issue id="CommitTransaction" severity="ignore" /> + <issue id="ContentDescription" severity="ignore" /> + <issue id="CustomViewStyleable" severity="ignore" /> + <issue id="CutPasteId" severity="ignore" /> + <issue id="DalvikOverride" severity="ignore" /> + <issue id="DefaultLocale" severity="ignore" /> + <issue id="Deprecated" severity="ignore" /> + <issue id="DeviceAdmin" severity="ignore" /> + <issue id="DisableBaselineAlignment" severity="ignore" /> + <issue id="DrawAllocation" severity="ignore" /> + <issue id="DuplicateActivity" severity="ignore" /> + <issue id="DuplicateDefinition" severity="ignore" /> + <issue id="DuplicateIds" severity="ignore" /> + <issue id="DuplicateIncludedIds" severity="ignore" /> + <issue id="DuplicateUsesFeature" severity="ignore" /> + <issue id="EnforceUTF8" severity="ignore" /> + <issue id="ExportedContentProvider" severity="ignore" /> + <issue id="ExportedPreferenceActivity" severity="ignore" /> + <issue id="ExportedReceiver" severity="ignore" /> + <issue id="ExportedService" severity="ignore" /> + <issue id="ExtraText" severity="ignore" /> + <issue id="ExtraTranslation" severity="ignore" /> + <issue id="FloatMath" severity="ignore" /> + <issue id="GetInstance" severity="ignore" /> + <issue id="GifUsage" severity="ignore" /> + <issue id="GradleCompatible" severity="ignore" /> + <issue id="GradleDependency" severity="ignore" /> + <issue id="GradleDeprecated" severity="ignore" /> + <issue id="GradleDynamicVersion" severity="ignore" /> + <issue id="GradleGetter" severity="ignore" /> + <issue id="GradleIdeError" severity="ignore" /> + <issue id="GradleOverrides" severity="ignore" /> + <issue id="GradlePath" severity="ignore" /> + <issue id="GrantAllUris" severity="ignore" /> + <issue id="GridLayout" severity="ignore" /> + <issue id="HandlerLeak" severity="ignore" /> + <issue id="HardcodedDebugMode" severity="ignore" /> + <issue id="HardcodedText" severity="ignore" /> + <issue id="IconColors" severity="ignore" /> + <issue id="IconDensities" severity="ignore" /> + <issue id="IconDipSize" severity="ignore" /> + <issue id="IconDuplicates" severity="ignore" /> + <issue id="IconDuplicatesConfig" severity="ignore" /> + <issue id="IconExtension" severity="ignore" /> + <issue id="IconLauncherShape" severity="ignore" /> + <issue id="IconLocation" severity="ignore" /> + <issue id="IconMissingDensityFolder" severity="ignore" /> + <issue id="IconMixedNinePatch" severity="ignore" /> + <issue id="IconNoDpi" severity="ignore" /> + <issue id="IconXmlAndPng" severity="ignore" /> + <issue id="IllegalResourceRef" severity="ignore" /> + <issue id="ImpliedQuantity" severity="ignore" /> + <issue id="InOrMmUsage" severity="ignore" /> + <issue id="IncludeLayoutParam" severity="ignore" /> + <issue id="InconsistentArrays" severity="ignore" /> + <issue id="InconsistentLayout" severity="ignore" /> + <issue id="InefficientWeight" severity="ignore" /> + <issue id="InflateParams" severity="ignore" /> + <issue id="InlinedApi" severity="ignore" /> + <issue id="InnerclassSeparator" severity="ignore" /> + <issue id="Instantiatable" severity="ignore" /> + <issue id="InvalidId" severity="ignore" /> + <issue id="InvalidPackage" severity="ignore" /> + <issue id="JavascriptInterface" severity="ignore" /> + <issue id="LabelFor" severity="ignore" /> + <issue id="LibraryCustomView" severity="ignore" /> + <issue id="LocalSuppress" severity="ignore" /> + <issue id="LocaleFolder" severity="ignore" /> + <issue id="MangledCRLF" severity="ignore" /> + <issue id="ManifestOrder" severity="ignore" /> + <issue id="ManifestTypo" severity="ignore" /> + <issue id="MenuTitle" severity="ignore" /> + <issue id="MergeRootFrame" severity="ignore" /> + <issue id="MissingApplicationIcon" severity="ignore" /> + <issue id="MissingId" severity="ignore" /> + <issue id="MissingPrefix" severity="ignore" /> + <issue id="MissingQuantity" severity="ignore" /> + <issue id="MissingRegistered" severity="ignore" /> + <issue id="MissingSuperCall" severity="ignore" /> + <issue id="MissingTranslation" severity="ignore" /> + <issue id="MissingVersion" severity="ignore" /> + <issue id="MockLocation" severity="ignore" /> + <issue id="MultipleUsesSdk" severity="ignore" /> + <issue id="NamespaceTypo" severity="ignore" /> + <issue id="NestedScrolling" severity="ignore" /> + <issue id="NestedWeights" severity="ignore" /> + <issue id="NewApi" severity="ignore" /> + <issue id="NfcTechWhitespace" severity="ignore" /> + <issue id="NotSibling" severity="ignore" /> + <issue id="ObsoleteLayoutParam" severity="ignore" /> + <issue id="OldTargetApi" severity="ignore" /> + <issue id="OnClick" severity="ignore" /> + <issue id="Orientation" severity="ignore" /> + <issue id="Overdraw" severity="ignore" /> + <issue id="Override" severity="ignore" /> + <issue id="PackagedPrivateKey" severity="ignore" /> + <issue id="ParcelCreator" severity="ignore" /> + <issue id="PrivateResource" severity="ignore" /> + <issue id="Proguard" severity="ignore" /> + <issue id="ProguardSplit" severity="ignore" /> + <issue id="PropertyEscape" severity="ignore" /> + <issue id="ProtectedPermissions" severity="ignore" /> + <issue id="PxUsage" severity="ignore" /> + <issue id="Recycle" severity="ignore" /> + <issue id="ReferenceType" severity="ignore" /> + <issue id="Registered" severity="ignore" /> + <issue id="RequiredSize" severity="ignore" /> + <issue id="ResAuto" severity="ignore" /> + <issue id="ResourceAsColor" severity="ignore" /> + <issue id="ResourceCycle" severity="ignore" /> + <issue id="ResourceName" severity="ignore" /> + <issue id="RtlCompat" severity="ignore" /> + <issue id="RtlEnabled" severity="ignore" /> + <issue id="RtlHardcoded" severity="ignore" /> + <issue id="RtlSymmetry" severity="ignore" /> + <issue id="ScrollViewCount" severity="ignore" /> + <issue id="ScrollViewSize" severity="ignore" /> + <issue id="SdCardPath" severity="ignore" /> + <issue id="SecureRandom" severity="ignore" /> + <issue id="ServiceCast" severity="ignore" /> + <issue id="SetJavaScriptEnabled" severity="ignore" /> + <issue id="ShowToast" severity="ignore" /> + <issue id="SignatureOrSystemPermissions" severity="ignore" /> + <issue id="SimpleDateFormat" severity="ignore" /> + <issue id="SmallSp" severity="ignore" /> + <issue id="SpUsage" severity="ignore" /> + <issue id="StateListReachable" severity="ignore" /> + <issue id="StringFormatCount" severity="ignore" /> + <issue id="StringFormatInvalid" severity="ignore" /> + <issue id="StringFormatMatches" severity="ignore" /> + <issue id="StringShouldBeInt" severity="ignore" /> + <issue id="Suspicious0dp" severity="ignore" /> + <issue id="SuspiciousImport" severity="ignore" /> + <issue id="TextFields" severity="ignore" /> + <issue id="TextViewEdits" severity="ignore" /> + <issue id="TooDeepLayout" severity="ignore" /> + <issue id="TooManyViews" severity="ignore" /> + <issue id="TrulyRandom" severity="ignore" /> + <issue id="TypographyDashes" severity="ignore" /> + <issue id="TypographyEllipsis" severity="ignore" /> + <issue id="TypographyFractions" severity="ignore" /> + <issue id="TypographyOther" severity="ignore" /> + <issue id="Typos" severity="ignore" /> + <issue id="UniquePermission" severity="ignore" /> + <issue id="UnknownId" severity="ignore" /> + <issue id="UnknownIdInLayout" severity="ignore" /> + <issue id="UnlocalizedSms" severity="ignore" /> + <issue id="UnusedAttribute" severity="ignore" /> + <issue id="UnusedNamespace" severity="ignore" /> + <issue id="UnusedQuantity" severity="ignore" /> + <issue id="UnusedResources" severity="ignore" /> + <issue id="UseCheckPermission" severity="ignore" /> + <issue id="UseCompoundDrawables" severity="ignore" /> + <issue id="UseSparseArrays" severity="ignore" /> + <issue id="UseValueOf" severity="ignore" /> + <issue id="UselessLeaf" severity="ignore" /> + <issue id="UselessParent" severity="ignore" /> + <issue id="UsesMinSdkAttributes" severity="ignore" /> + <issue id="ValidFragment" severity="ignore" /> + <issue id="ViewConstructor" severity="ignore" /> + <issue id="ViewHolder" severity="ignore" /> + <issue id="ViewTag" severity="ignore" /> + <issue id="Wakelock" severity="ignore" /> + <issue id="WebViewLayout" severity="ignore" /> + <issue id="WorldReadableFiles" severity="ignore" /> + <issue id="WorldWriteableFiles" severity="ignore" /> + <issue id="WrongCall" severity="ignore" /> + <issue id="WrongCase" severity="ignore" /> + <issue id="WrongFolder" severity="ignore" /> + <issue id="WrongManifestParent" severity="ignore" /> + <issue id="WrongViewCast" severity="ignore" /> +</lint>
\ No newline at end of file diff --git a/undobar/proguard.txt b/undobar/proguard.txt new file mode 100644 index 0000000..60fd1c1 --- /dev/null +++ b/undobar/proguard.txt @@ -0,0 +1,9 @@ +-keep class * extends java.util.ListResourceBundle { + protected Object[][] getContents(); +} + +# Needed for Parcelable/SafeParcelable Creators to not get stripped +-keepnames class * implements android.os.Parcelable { + public static final ** CREATOR; +} + diff --git a/undobar/project.properties b/undobar/project.properties new file mode 100644 index 0000000..121ee5c --- /dev/null +++ b/undobar/project.properties @@ -0,0 +1,16 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard.txt + +# Project target. +target=Google Inc.:Google APIs:21 +android.library=true +android.library.reference.1=../nine-old-androids diff --git a/undobar/res/drawable-hdpi-v4/ic_undo.png b/undobar/res/drawable-hdpi-v4/ic_undo.png Binary files differnew file mode 100644 index 0000000..5180ac6 --- /dev/null +++ b/undobar/res/drawable-hdpi-v4/ic_undo.png diff --git a/undobar/res/drawable-hdpi-v4/root_background_holo.9.png b/undobar/res/drawable-hdpi-v4/root_background_holo.9.png Binary files differnew file mode 100644 index 0000000..4694bf6 --- /dev/null +++ b/undobar/res/drawable-hdpi-v4/root_background_holo.9.png diff --git a/undobar/res/drawable-ldpi-v4/ic_undo.png b/undobar/res/drawable-ldpi-v4/ic_undo.png Binary files differnew file mode 100644 index 0000000..b23a335 --- /dev/null +++ b/undobar/res/drawable-ldpi-v4/ic_undo.png diff --git a/undobar/res/drawable-ldpi-v4/root_background_holo.9.png b/undobar/res/drawable-ldpi-v4/root_background_holo.9.png Binary files differnew file mode 100644 index 0000000..678a615 --- /dev/null +++ b/undobar/res/drawable-ldpi-v4/root_background_holo.9.png diff --git a/undobar/res/drawable-mdpi-v4/ic_undo.png b/undobar/res/drawable-mdpi-v4/ic_undo.png Binary files differnew file mode 100644 index 0000000..9326118 --- /dev/null +++ b/undobar/res/drawable-mdpi-v4/ic_undo.png diff --git a/undobar/res/drawable-mdpi-v4/root_background_holo.9.png b/undobar/res/drawable-mdpi-v4/root_background_holo.9.png Binary files differnew file mode 100644 index 0000000..956b5d8 --- /dev/null +++ b/undobar/res/drawable-mdpi-v4/root_background_holo.9.png diff --git a/undobar/res/drawable-v12/button_background_kitkat.xml b/undobar/res/drawable-v12/button_background_kitkat.xml new file mode 100644 index 0000000..8aa7326 --- /dev/null +++ b/undobar/res/drawable-v12/button_background_kitkat.xml @@ -0,0 +1,19 @@ +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + + <item android:state_pressed="true"> + <shape android:shape="rectangle"> + <solid android:color="#858585" /> + + <corners android:bottomRightRadius="24dp" android:topRightRadius="24dp" /> + </shape> + </item> + <item android:state_focused="true"> + <shape android:shape="rectangle"> + <solid android:color="#858585" /> + + <corners android:bottomRightRadius="24dp" android:topRightRadius="24dp" /> + </shape> + </item> + <item android:drawable="@android:color/transparent" /> + +</selector><!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/drawable-v12/button_background_kitkat.xml -->
\ No newline at end of file diff --git a/undobar/res/drawable-xhdpi-v4/button_background_focused.9.png b/undobar/res/drawable-xhdpi-v4/button_background_focused.9.png Binary files differnew file mode 100644 index 0000000..d284ca7 --- /dev/null +++ b/undobar/res/drawable-xhdpi-v4/button_background_focused.9.png diff --git a/undobar/res/drawable-xhdpi-v4/button_background_pressed.9.png b/undobar/res/drawable-xhdpi-v4/button_background_pressed.9.png Binary files differnew file mode 100644 index 0000000..e990659 --- /dev/null +++ b/undobar/res/drawable-xhdpi-v4/button_background_pressed.9.png diff --git a/undobar/res/drawable-xhdpi-v4/ic_undo.png b/undobar/res/drawable-xhdpi-v4/ic_undo.png Binary files differnew file mode 100644 index 0000000..2b79960 --- /dev/null +++ b/undobar/res/drawable-xhdpi-v4/ic_undo.png diff --git a/undobar/res/drawable-xhdpi-v4/root_background_holo.9.png b/undobar/res/drawable-xhdpi-v4/root_background_holo.9.png Binary files differnew file mode 100644 index 0000000..e969232 --- /dev/null +++ b/undobar/res/drawable-xhdpi-v4/root_background_holo.9.png diff --git a/undobar/res/drawable-xxhdpi-v4/root_background_holo.9.png b/undobar/res/drawable-xxhdpi-v4/root_background_holo.9.png Binary files differnew file mode 100644 index 0000000..3e08319 --- /dev/null +++ b/undobar/res/drawable-xxhdpi-v4/root_background_holo.9.png diff --git a/undobar/res/drawable/button_background_holo.xml b/undobar/res/drawable/button_background_holo.xml new file mode 100644 index 0000000..84bec31 --- /dev/null +++ b/undobar/res/drawable/button_background_holo.xml @@ -0,0 +1,7 @@ +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + + <item android:drawable="@drawable/button_background_pressed" android:state_pressed="true" /> + <item android:drawable="@drawable/button_background_focused" android:state_focused="true" /> + <item android:drawable="@android:color/transparent" /> + +</selector><!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/drawable/button_background_holo.xml -->
\ No newline at end of file diff --git a/undobar/res/drawable/button_background_kitkat.xml b/undobar/res/drawable/button_background_kitkat.xml new file mode 100644 index 0000000..fb733c1 --- /dev/null +++ b/undobar/res/drawable/button_background_kitkat.xml @@ -0,0 +1,25 @@ +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + + <item android:state_pressed="true"> + <shape android:shape="rectangle"> + <solid android:color="#858585" /> + + <!-- Bugfix: Radii are inversed on purpose! --> + <!-- Corrected versions in drawable-v12 --> + <!-- https://code.google.com/p/android/issues/detail?id=9161 --> + <corners android:bottomLeftRadius="24dp" android:topRightRadius="24dp" /> + </shape> + </item> + <item android:state_focused="true"> + <shape android:shape="rectangle"> + <solid android:color="#858585" /> + + <!-- Bugfix: Radii are inversed on purpose! --> + <!-- Corrected versions in drawable-v12 --> + <!-- https://code.google.com/p/android/issues/detail?id=9161 --> + <corners android:bottomLeftRadius="24dp" android:topRightRadius="24dp" /> + </shape> + </item> + <item android:drawable="@android:color/transparent" /> + +</selector><!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/drawable/button_background_kitkat.xml -->
\ No newline at end of file diff --git a/undobar/res/drawable/button_background_lollipop.xml b/undobar/res/drawable/button_background_lollipop.xml new file mode 100644 index 0000000..3998c8c --- /dev/null +++ b/undobar/res/drawable/button_background_lollipop.xml @@ -0,0 +1,15 @@ +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + + <item android:state_pressed="true"> + <shape android:shape="rectangle"> + <solid android:color="#474747" /> + </shape> + </item> + <item android:state_focused="true"> + <shape android:shape="rectangle"> + <solid android:color="#474747" /> + </shape> + </item> + <item android:drawable="@android:color/transparent" /> + +</selector><!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/drawable/button_background_lollipop.xml -->
\ No newline at end of file diff --git a/undobar/res/drawable/root_background_kitkat.xml b/undobar/res/drawable/root_background_kitkat.xml new file mode 100644 index 0000000..59bc5e9 --- /dev/null +++ b/undobar/res/drawable/root_background_kitkat.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + + <solid android:color="#db555555" /> + + <corners android:radius="24dp" /> + +</shape><!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/drawable/root_background_kitkat.xml -->
\ No newline at end of file diff --git a/undobar/res/drawable/root_background_lollipop.xml b/undobar/res/drawable/root_background_lollipop.xml new file mode 100644 index 0000000..fb352f9 --- /dev/null +++ b/undobar/res/drawable/root_background_lollipop.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + + <solid android:color="#323232" /> + +</shape><!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/drawable/root_background_lollipop.xml -->
\ No newline at end of file diff --git a/undobar/res/layout/undo_bar_holo.xml b/undobar/res/layout/undo_bar_holo.xml new file mode 100644 index 0000000..0aec750 --- /dev/null +++ b/undobar/res/layout/undo_bar_holo.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<com.jensdriller.libs.undobar.UndoBarView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/undoBar" + android:layout_width="match_parent" + android:layout_height="@dimen/undo_bar_height_holo" + style="@style/Root.Holo"> + + <TextView + android:id="@+id/message" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_toLeftOf="@+id/divider" + style="@style/Message.Holo" /> + + <View + android:id="@id/divider" + android:layout_width="1dp" + android:layout_height="match_parent" + android:layout_toLeftOf="@+id/button" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" + android:background="#afafaf" /> + + <TextView + android:id="@id/button" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_alignParentRight="true" + style="@style/Button.Holo" /> + +</com.jensdriller.libs.undobar.UndoBarView><!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/layout/undo_bar_holo.xml -->
\ No newline at end of file diff --git a/undobar/res/layout/undo_bar_kitkat.xml b/undobar/res/layout/undo_bar_kitkat.xml new file mode 100644 index 0000000..6ec7c72 --- /dev/null +++ b/undobar/res/layout/undo_bar_kitkat.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<com.jensdriller.libs.undobar.UndoBarView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/undoBar" + android:layout_width="match_parent" + android:layout_height="@dimen/undo_bar_height_kitkat" + style="@style/Root.KitKat"> + + <TextView + android:id="@+id/message" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_toLeftOf="@+id/divider" + style="@style/Message.KitKat" /> + + <View + android:id="@id/divider" + android:layout_width="1dp" + android:layout_height="match_parent" + android:layout_toLeftOf="@+id/button" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" + android:background="#afafaf" /> + + <TextView + android:id="@id/button" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_alignParentRight="true" + style="@style/Button.KitKat" /> + +</com.jensdriller.libs.undobar.UndoBarView><!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/layout/undo_bar_kitkat.xml -->
\ No newline at end of file diff --git a/undobar/res/layout/undo_bar_lollipop.xml b/undobar/res/layout/undo_bar_lollipop.xml new file mode 100644 index 0000000..ff0aa79 --- /dev/null +++ b/undobar/res/layout/undo_bar_lollipop.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<com.jensdriller.libs.undobar.UndoBarView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/undoBar" + android:layout_width="match_parent" + android:layout_height="@dimen/undo_bar_height_lollipop" + style="@style/Root.Lollipop"> + + <TextView + android:id="@+id/message" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_toLeftOf="@+id/divider" + style="@style/Message.Lollipop" /> + + <TextView + android:id="@id/button" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_alignParentRight="true" + style="@style/Button.Lollipop" /> + +</com.jensdriller.libs.undobar.UndoBarView><!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/layout/undo_bar_lollipop.xml -->
\ No newline at end of file diff --git a/undobar/res/values-af/values.xml b/undobar/res/values-af/values.xml new file mode 100644 index 0000000..0f89eda --- /dev/null +++ b/undobar/res/values-af/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-af/strings.xml --> + <eat-comment/> + <string name="undo">Ontdoen</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-am/values.xml b/undobar/res/values-am/values.xml new file mode 100644 index 0000000..9562a3b --- /dev/null +++ b/undobar/res/values-am/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-am/strings.xml --> + <eat-comment/> + <string name="undo">ቀልብስ</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-ar/values.xml b/undobar/res/values-ar/values.xml new file mode 100644 index 0000000..efc01ca --- /dev/null +++ b/undobar/res/values-ar/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-ar/strings.xml --> + <eat-comment/> + <string name="undo">تراجع</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-be/values.xml b/undobar/res/values-be/values.xml new file mode 100644 index 0000000..b1566cd --- /dev/null +++ b/undobar/res/values-be/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-be/strings.xml --> + <eat-comment/> + <string name="undo">Вярнуць</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-bg/values.xml b/undobar/res/values-bg/values.xml new file mode 100644 index 0000000..5a9d3ee --- /dev/null +++ b/undobar/res/values-bg/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-bg/strings.xml --> + <eat-comment/> + <string name="undo">Отмяна</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-ca/values.xml b/undobar/res/values-ca/values.xml new file mode 100644 index 0000000..e2b0215 --- /dev/null +++ b/undobar/res/values-ca/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-ca/strings.xml --> + <eat-comment/> + <string name="undo">Desfés</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-cs/values.xml b/undobar/res/values-cs/values.xml new file mode 100644 index 0000000..0324a01 --- /dev/null +++ b/undobar/res/values-cs/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-cs/strings.xml --> + <eat-comment/> + <string name="undo">Zpět</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-da/values.xml b/undobar/res/values-da/values.xml new file mode 100644 index 0000000..5681651 --- /dev/null +++ b/undobar/res/values-da/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-da/strings.xml --> + <eat-comment/> + <string name="undo">Fortryd</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-de/values.xml b/undobar/res/values-de/values.xml new file mode 100644 index 0000000..78d888d --- /dev/null +++ b/undobar/res/values-de/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-de/strings.xml --> + <eat-comment/> + <string name="undo">Rückgängig</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-el/values.xml b/undobar/res/values-el/values.xml new file mode 100644 index 0000000..c226b0d --- /dev/null +++ b/undobar/res/values-el/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-el/strings.xml --> + <eat-comment/> + <string name="undo">Αναίρεση</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-es/values.xml b/undobar/res/values-es/values.xml new file mode 100644 index 0000000..cfc8142 --- /dev/null +++ b/undobar/res/values-es/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-es/strings.xml --> + <eat-comment/> + <string name="undo">Deshacer</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-et/values.xml b/undobar/res/values-et/values.xml new file mode 100644 index 0000000..14f591c --- /dev/null +++ b/undobar/res/values-et/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-et/strings.xml --> + <eat-comment/> + <string name="undo">Võta tagasi</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-fa/values.xml b/undobar/res/values-fa/values.xml new file mode 100644 index 0000000..0a73912 --- /dev/null +++ b/undobar/res/values-fa/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-fa/strings.xml --> + <eat-comment/> + <string name="undo">لغو</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-fi/values.xml b/undobar/res/values-fi/values.xml new file mode 100644 index 0000000..0a5d2c3 --- /dev/null +++ b/undobar/res/values-fi/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-fi/strings.xml --> + <eat-comment/> + <string name="undo">Kumoa</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-fr/values.xml b/undobar/res/values-fr/values.xml new file mode 100644 index 0000000..19c4fef --- /dev/null +++ b/undobar/res/values-fr/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-fr/strings.xml --> + <eat-comment/> + <string name="undo">Annuler</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-he/values.xml b/undobar/res/values-he/values.xml new file mode 100644 index 0000000..b7de578 --- /dev/null +++ b/undobar/res/values-he/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-he/strings.xml --> + <eat-comment/> + <string name="undo">ביטול</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-hi/values.xml b/undobar/res/values-hi/values.xml new file mode 100644 index 0000000..975faab --- /dev/null +++ b/undobar/res/values-hi/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-hi/strings.xml --> + <eat-comment/> + <string name="undo">पूर्ववत करें</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-hr/values.xml b/undobar/res/values-hr/values.xml new file mode 100644 index 0000000..9f6a759 --- /dev/null +++ b/undobar/res/values-hr/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-hr/strings.xml --> + <eat-comment/> + <string name="undo">Poništi</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-hu/values.xml b/undobar/res/values-hu/values.xml new file mode 100644 index 0000000..7fa32ad --- /dev/null +++ b/undobar/res/values-hu/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-hu/strings.xml --> + <eat-comment/> + <string name="undo">Visszavonás</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-in/values.xml b/undobar/res/values-in/values.xml new file mode 100644 index 0000000..5504709 --- /dev/null +++ b/undobar/res/values-in/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-in/strings.xml --> + <eat-comment/> + <string name="undo">Urungkan</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-it/values.xml b/undobar/res/values-it/values.xml new file mode 100644 index 0000000..671b928 --- /dev/null +++ b/undobar/res/values-it/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-it/strings.xml --> + <eat-comment/> + <string name="undo">Annulla</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-iw/values.xml b/undobar/res/values-iw/values.xml new file mode 100644 index 0000000..e7fec58 --- /dev/null +++ b/undobar/res/values-iw/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-iw/strings.xml --> + <eat-comment/> + <string name="undo">ביטול</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-ja/values.xml b/undobar/res/values-ja/values.xml new file mode 100644 index 0000000..8019610 --- /dev/null +++ b/undobar/res/values-ja/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-ja/strings.xml --> + <eat-comment/> + <string name="undo">取消</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-ko/values.xml b/undobar/res/values-ko/values.xml new file mode 100644 index 0000000..540b2d1 --- /dev/null +++ b/undobar/res/values-ko/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-ko/strings.xml --> + <eat-comment/> + <string name="undo">실행취소</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-lt/values.xml b/undobar/res/values-lt/values.xml new file mode 100644 index 0000000..583057d --- /dev/null +++ b/undobar/res/values-lt/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-lt/strings.xml --> + <eat-comment/> + <string name="undo">Anuliuoti</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-lv/values.xml b/undobar/res/values-lv/values.xml new file mode 100644 index 0000000..8c61035 --- /dev/null +++ b/undobar/res/values-lv/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-lv/strings.xml --> + <eat-comment/> + <string name="undo">Atsaukt</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-ms/values.xml b/undobar/res/values-ms/values.xml new file mode 100644 index 0000000..3c0b0e7 --- /dev/null +++ b/undobar/res/values-ms/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-ms/strings.xml --> + <eat-comment/> + <string name="undo">Buat asal</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-nb/values.xml b/undobar/res/values-nb/values.xml new file mode 100644 index 0000000..d8173f0 --- /dev/null +++ b/undobar/res/values-nb/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-nb/strings.xml --> + <eat-comment/> + <string name="undo">Angre</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-nl/values.xml b/undobar/res/values-nl/values.xml new file mode 100644 index 0000000..a16f497 --- /dev/null +++ b/undobar/res/values-nl/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-nl/strings.xml --> + <eat-comment/> + <string name="undo">Ongedaan maken</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-pl/values.xml b/undobar/res/values-pl/values.xml new file mode 100644 index 0000000..f9defdf --- /dev/null +++ b/undobar/res/values-pl/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-pl/strings.xml --> + <eat-comment/> + <string name="undo">Cofnij</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-pt/values.xml b/undobar/res/values-pt/values.xml new file mode 100644 index 0000000..c5c3237 --- /dev/null +++ b/undobar/res/values-pt/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-pt/strings.xml --> + <eat-comment/> + <string name="undo">Desfazer</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-rm/values.xml b/undobar/res/values-rm/values.xml new file mode 100644 index 0000000..2e0e3e0 --- /dev/null +++ b/undobar/res/values-rm/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-rm/strings.xml --> + <eat-comment/> + <string name="undo">Revocar</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-ro/values.xml b/undobar/res/values-ro/values.xml new file mode 100644 index 0000000..32573e1 --- /dev/null +++ b/undobar/res/values-ro/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-ro/strings.xml --> + <eat-comment/> + <string name="undo">Anulaţi</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-ru/values.xml b/undobar/res/values-ru/values.xml new file mode 100644 index 0000000..5d4059c --- /dev/null +++ b/undobar/res/values-ru/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-ru/strings.xml --> + <eat-comment/> + <string name="undo">Отменить</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-sk/values.xml b/undobar/res/values-sk/values.xml new file mode 100644 index 0000000..8559374 --- /dev/null +++ b/undobar/res/values-sk/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-sk/strings.xml --> + <eat-comment/> + <string name="undo">Späť</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-sl/values.xml b/undobar/res/values-sl/values.xml new file mode 100644 index 0000000..6057b7e --- /dev/null +++ b/undobar/res/values-sl/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-sl/strings.xml --> + <eat-comment/> + <string name="undo">Razveljavi</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-sr/values.xml b/undobar/res/values-sr/values.xml new file mode 100644 index 0000000..33d5581 --- /dev/null +++ b/undobar/res/values-sr/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-sr/strings.xml --> + <eat-comment/> + <string name="undo">Опозови</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-sv/values.xml b/undobar/res/values-sv/values.xml new file mode 100644 index 0000000..fbec6cb --- /dev/null +++ b/undobar/res/values-sv/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-sv/strings.xml --> + <eat-comment/> + <string name="undo">Ångra</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-sw/values.xml b/undobar/res/values-sw/values.xml new file mode 100644 index 0000000..c24a8c2 --- /dev/null +++ b/undobar/res/values-sw/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-sw/strings.xml --> + <eat-comment/> + <string name="undo">Tendua</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-sw600dp-v13/values.xml b/undobar/res/values-sw600dp-v13/values.xml new file mode 100644 index 0000000..33e9018 --- /dev/null +++ b/undobar/res/values-sw600dp-v13/values.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-sw600dp/bools.xml --> + <eat-comment/> + <bool name="is_align_bottom_possible">false</bool> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-sw600dp/dimens.xml --> + <eat-comment/> + <dimen name="undo_bar_max_width_lollipop">500dp</dimen> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-th/values.xml b/undobar/res/values-th/values.xml new file mode 100644 index 0000000..c9ba7b3 --- /dev/null +++ b/undobar/res/values-th/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-th/strings.xml --> + <eat-comment/> + <string name="undo">เลิกทำ</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-tl/values.xml b/undobar/res/values-tl/values.xml new file mode 100644 index 0000000..86da7b4 --- /dev/null +++ b/undobar/res/values-tl/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-tl/strings.xml --> + <eat-comment/> + <string name="undo">I-undo</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-tr/values.xml b/undobar/res/values-tr/values.xml new file mode 100644 index 0000000..c1349a5 --- /dev/null +++ b/undobar/res/values-tr/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-tr/strings.xml --> + <eat-comment/> + <string name="undo">Geri Al</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-uk/values.xml b/undobar/res/values-uk/values.xml new file mode 100644 index 0000000..31a5339 --- /dev/null +++ b/undobar/res/values-uk/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-uk/strings.xml --> + <eat-comment/> + <string name="undo">Відміна</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-v19/values.xml b/undobar/res/values-v19/values.xml new file mode 100644 index 0000000..2e62745 --- /dev/null +++ b/undobar/res/values-v19/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-v19/layouts.xml --> + <eat-comment/> + <item name="undo_bar" type="layout">@layout/undo_bar_kitkat</item> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-v21/values.xml b/undobar/res/values-v21/values.xml new file mode 100644 index 0000000..cf9bb48 --- /dev/null +++ b/undobar/res/values-v21/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-v21/layouts.xml --> + <eat-comment/> + <item name="undo_bar" type="layout">@layout/undo_bar_lollipop</item> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-vi/values.xml b/undobar/res/values-vi/values.xml new file mode 100644 index 0000000..ccf9539 --- /dev/null +++ b/undobar/res/values-vi/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-vi/strings.xml --> + <eat-comment/> + <string name="undo">Hoàn tác</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-zh/values.xml b/undobar/res/values-zh/values.xml new file mode 100644 index 0000000..2872ba5 --- /dev/null +++ b/undobar/res/values-zh/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-zh/strings.xml --> + <eat-comment/> + <string name="undo">撤销</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values-zu/values.xml b/undobar/res/values-zu/values.xml new file mode 100644 index 0000000..5cee903 --- /dev/null +++ b/undobar/res/values-zu/values.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-zu/strings.xml --> + <eat-comment/> + <string name="undo">Guqula</string> +</resources>
\ No newline at end of file diff --git a/undobar/res/values/values.xml b/undobar/res/values/values.xml new file mode 100644 index 0000000..972d68f --- /dev/null +++ b/undobar/res/values/values.xml @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/bools.xml --> + <eat-comment/> + <bool name="is_align_bottom_possible">true</bool> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/dimens.xml --> + <eat-comment/> + <dimen name="undo_bar_height_holo">64dp</dimen> + <dimen name="undo_bar_height_kitkat">48dp</dimen> + <dimen name="undo_bar_height_lollipop">48dp</dimen> + <dimen name="undo_bar_max_width_lollipop">@null</dimen> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/layouts.xml --> + <eat-comment/> + <item name="undo_bar" type="layout">@layout/undo_bar_holo</item> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/strings.xml --> + <eat-comment/> + <string name="undo">@string/undo_english</string> + <string name="undo_english">UNDO</string> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles.xml --> + <eat-comment/> + <style name="Button"/> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles_holo.xml --> + <eat-comment/> + <style name="Button.Holo"> + <item name="android:gravity">center_vertical</item> + <item name="android:paddingLeft">16dp</item> + <item name="android:paddingRight">16dp</item> + <item name="android:drawableLeft">@drawable/ic_undo</item> + <item name="android:drawablePadding">12dp</item> + <item name="android:textAppearance">?android:textAppearanceSmall</item> + <item name="android:textStyle">bold</item> + <item name="android:textColor">#acacac</item> + <item name="android:background">@drawable/button_background_holo</item> + </style> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles_kitkat.xml --> + <eat-comment/> + <style name="Button.KitKat"> + <item name="android:gravity">center_vertical</item> + <item name="android:paddingLeft">16dp</item> + <item name="android:paddingRight">16dp</item> + <item name="android:drawableLeft">@drawable/ic_undo</item> + <item name="android:drawablePadding">12dp</item> + <item name="android:textAppearance">?android:textAppearanceSmall</item> + <item name="android:textStyle">bold</item> + <item name="android:textColor">#acacac</item> + <item name="android:background">@drawable/button_background_kitkat</item> + </style> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles_lollipop.xml --> + <eat-comment/> + <style name="Button.Lollipop"> + <item name="android:gravity">center_vertical</item> + <item name="android:paddingLeft">16dp</item> + <item name="android:paddingRight">16dp</item> + <item name="android:textAppearance">?android:textAppearanceMedium</item> + <item name="android:textStyle">bold</item> + <item name="android:textColor">@android:color/white</item> + <item name="android:background">@drawable/button_background_lollipop</item> + </style> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles.xml --> + <eat-comment/> + <style name="Message"/> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles_holo.xml --> + <eat-comment/> + <style name="Message.Holo"> + <item name="android:gravity">center_vertical</item> + <item name="android:paddingLeft">16dp</item> + <item name="android:paddingRight">16dp</item> + <item name="android:textAppearance">?android:textAppearanceMedium</item> + <item name="android:textColor">#ffffff</item> + <item name="android:maxLines">1</item> + <item name="android:singleLine">true</item> + <item name="android:ellipsize">end</item> + </style> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles_kitkat.xml --> + <eat-comment/> + <style name="Message.KitKat"> + <item name="android:gravity">center_vertical</item> + <item name="android:paddingLeft">16dp</item> + <item name="android:paddingRight">16dp</item> + <item name="android:textAppearance">?android:textAppearanceMedium</item> + <item name="android:textColor">#ffffff</item> + <item name="android:maxLines">1</item> + <item name="android:singleLine">true</item> + <item name="android:ellipsize">end</item> + </style> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles_lollipop.xml --> + <eat-comment/> + <style name="Message.Lollipop"> + <item name="android:gravity">center_vertical</item> + <item name="android:paddingLeft">16dp</item> + <item name="android:paddingRight">16dp</item> + <item name="android:textAppearance">?android:textAppearanceMedium</item> + <item name="android:textColor">#ffffff</item> + <item name="android:maxLines">1</item> + <item name="android:singleLine">true</item> + <item name="android:ellipsize">end</item> + </style> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles.xml --> + <eat-comment/> + <style name="Root"/> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles_holo.xml --> + <eat-comment/> + <style name="Root.Holo"> + <item name="android:layout_gravity">bottom|center_horizontal</item> + <item name="android:layout_marginLeft">24dp</item> + <item name="android:layout_marginRight">24dp</item> + <item name="android:layout_marginBottom">24dp</item> + <item name="android:maxWidth">500dp</item> + <item name="android:background">@drawable/root_background_holo</item> + </style> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles_kitkat.xml --> + <eat-comment/> + <style name="Root.KitKat"> + <item name="android:layout_gravity">bottom|center_horizontal</item> + <item name="android:layout_marginLeft">24dp</item> + <item name="android:layout_marginRight">24dp</item> + <item name="android:layout_marginBottom">24dp</item> + <item name="android:maxWidth">500dp</item> + <item name="android:background">@drawable/root_background_kitkat</item> + </style> + <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values/styles_lollipop.xml --> + <eat-comment/> + <style name="Root.Lollipop"> + <item name="android:layout_gravity">bottom|center_horizontal</item> + <item name="android:layout_marginLeft">24dp</item> + <item name="android:layout_marginRight">24dp</item> + <item name="android:layout_marginBottom">24dp</item> + <item name="android:maxWidth">@dimen/undo_bar_max_width_lollipop</item> + <item name="android:background">@drawable/root_background_lollipop</item> + </style> +</resources>
\ No newline at end of file diff --git a/undobar/src/.gitkeep b/undobar/src/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/undobar/src/.gitkeep |