Add lib for eclipse compile
This commit is contained in:
parent
d15818381b
commit
55163b7a60
42 changed files with 2851 additions and 11 deletions
|
@ -31,7 +31,6 @@ import net.osmand.plus.OsmandPlugin;
|
|||
import net.osmand.plus.OsmandSettings.CommonPreference;
|
||||
import net.osmand.plus.R;
|
||||
import net.osmand.plus.activities.MapActivity;
|
||||
import net.osmand.plus.activities.SettingsActivity;
|
||||
import net.osmand.plus.helpers.GpxUiHelper;
|
||||
import net.osmand.plus.views.ContextMenuLayer;
|
||||
import net.osmand.plus.views.MapInfoLayer;
|
||||
|
@ -56,7 +55,6 @@ import android.graphics.Paint.Style;
|
|||
import android.graphics.Path;
|
||||
import android.graphics.PointF;
|
||||
import android.os.AsyncTask;
|
||||
import android.preference.PreferenceScreen;
|
||||
import android.text.Editable;
|
||||
import android.text.TextWatcher;
|
||||
import android.view.View;
|
||||
|
@ -118,7 +116,7 @@ public class DistanceCalculatorPlugin extends OsmandPlugin {
|
|||
private void registerWidget(MapActivity activity) {
|
||||
MapInfoLayer mapInfoLayer = activity.getMapLayers().getMapInfoLayer();
|
||||
if (mapInfoLayer != null ) {
|
||||
distanceControl = createDistanceControl(activity, mapInfoLayer.getPaintText(), mapInfoLayer.getPaintSubText());
|
||||
distanceControl = createDistanceControl(activity);
|
||||
mapInfoLayer.getMapInfoControls().registerSideWidget(distanceControl,
|
||||
R.drawable.widget_distance, R.drawable.widget_distance, R.string.map_widget_distancemeasurement, "distance.measurement", false, 21);
|
||||
mapInfoLayer.recreateControls();
|
||||
|
@ -371,8 +369,8 @@ public class DistanceCalculatorPlugin extends OsmandPlugin {
|
|||
|
||||
}
|
||||
|
||||
private TextInfoWidget createDistanceControl(final MapActivity activity, Paint paintText, Paint paintSubText) {
|
||||
final TextInfoWidget distanceControl = new TextInfoWidget(activity, 0, paintText, paintSubText);
|
||||
private TextInfoWidget createDistanceControl(final MapActivity activity) {
|
||||
final TextInfoWidget distanceControl = new TextInfoWidget(activity);
|
||||
distanceControl.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
|
|
@ -18,7 +18,6 @@ import net.osmand.plus.views.AnimateDraggingMapThread;
|
|||
import net.osmand.plus.views.MapInfoLayer;
|
||||
import net.osmand.plus.views.OsmandMapLayer.DrawSettings;
|
||||
import net.osmand.plus.views.OsmandMapTileView;
|
||||
import net.osmand.plus.views.mapwidgets.BaseMapWidget;
|
||||
import net.osmand.plus.views.mapwidgets.TextInfoWidget;
|
||||
import android.app.Activity;
|
||||
import android.app.AlertDialog;
|
||||
|
@ -26,7 +25,6 @@ import android.app.AlertDialog.Builder;
|
|||
import android.app.Dialog;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Paint;
|
||||
import android.text.format.DateFormat;
|
||||
import android.text.format.Time;
|
||||
import android.view.View;
|
||||
|
@ -56,7 +54,7 @@ public class ParkingPositionPlugin extends OsmandPlugin {
|
|||
private OsmandApplication app;
|
||||
|
||||
private ParkingPositionLayer parkingLayer;
|
||||
private BaseMapWidget parkingPlaceControl;
|
||||
private TextInfoWidget parkingPlaceControl;
|
||||
private final CommonPreference<Float> parkingLat;
|
||||
private final CommonPreference<Float> parkingLon;
|
||||
private CommonPreference<Boolean> parkingType;
|
||||
|
@ -191,7 +189,7 @@ public class ParkingPositionPlugin extends OsmandPlugin {
|
|||
private void registerWidget(MapActivity activity) {
|
||||
MapInfoLayer mapInfoLayer = activity.getMapLayers().getMapInfoLayer();
|
||||
if (mapInfoLayer != null) {
|
||||
parkingPlaceControl = createParkingPlaceInfoControl(activity, mapInfoLayer.getPaintText(), mapInfoLayer.getPaintSubText());
|
||||
parkingPlaceControl = createParkingPlaceInfoControl(activity);
|
||||
mapInfoLayer.getMapInfoControls().registerSideWidget(parkingPlaceControl,
|
||||
R.drawable.widget_parking, R.drawable.widget_parking, R.string.map_widget_parking, "parking", false, 8);
|
||||
mapInfoLayer.recreateControls();
|
||||
|
@ -443,8 +441,8 @@ public class ParkingPositionPlugin extends OsmandPlugin {
|
|||
* the current position on the map
|
||||
* and the location of the parked car
|
||||
*/
|
||||
private TextInfoWidget createParkingPlaceInfoControl(final MapActivity map, Paint paintText, Paint paintSubText) {
|
||||
TextInfoWidget parkingPlaceControl = new TextInfoWidget(map, 0, paintText, paintSubText) {
|
||||
private TextInfoWidget createParkingPlaceInfoControl(final MapActivity map) {
|
||||
TextInfoWidget parkingPlaceControl = new TextInfoWidget(map) {
|
||||
private float[] calculations = new float[1];
|
||||
private int cachedMeters = 0;
|
||||
|
||||
|
|
9
eclipse-compile/fab/.classpath
Normal file
9
eclipse-compile/fab/.classpath
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<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="src" path="java"/>
|
||||
<classpathentry kind="src" path="gen"/>
|
||||
<classpathentry kind="output" path="bin/classes"/>
|
||||
</classpath>
|
2
eclipse-compile/fab/.gitignore
vendored
Normal file
2
eclipse-compile/fab/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
bin
|
||||
gen
|
39
eclipse-compile/fab/.project
Normal file
39
eclipse-compile/fab/.project
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>ShellFab</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>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
21
eclipse-compile/fab/AndroidManifest.xml
Normal file
21
eclipse-compile/fab/AndroidManifest.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:10:53
|
||||
-->
|
||||
<manifest
|
||||
package="com.software.shell.fab"
|
||||
/>
|
1432
eclipse-compile/fab/java/com/software/shell/fab/ActionButton.java
Normal file
1432
eclipse-compile/fab/java/com/software/shell/fab/ActionButton.java
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,74 @@
|
|||
/*
|
||||
* Copyright 2015 Shell Software Inc.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* File created: 2015-02-25 19:54:28
|
||||
*/
|
||||
|
||||
package com.software.shell.fab;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.graphics.Outline;
|
||||
import android.os.Build;
|
||||
import android.view.View;
|
||||
import android.view.ViewOutlineProvider;
|
||||
|
||||
/**
|
||||
* An implementation of the {@link android.view.ViewOutlineProvider}
|
||||
* for <b>Action Button</b>
|
||||
*
|
||||
* Used for drawing the elevation shadow for {@code API 21 Lollipop} and higher
|
||||
*
|
||||
* @author Vladislav
|
||||
* @version 1.0.0
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
|
||||
class ActionButtonOutlineProvider extends ViewOutlineProvider {
|
||||
|
||||
/**
|
||||
* Outline provider width
|
||||
*/
|
||||
private int width;
|
||||
|
||||
/**
|
||||
* Outline provider height
|
||||
*/
|
||||
private int height;
|
||||
|
||||
/**
|
||||
* Creates an instance of the {@link com.software.shell.fab.ActionButtonOutlineProvider}
|
||||
*
|
||||
* @param width initial outline provider width
|
||||
* @param height initial outline provider height
|
||||
*/
|
||||
ActionButtonOutlineProvider(int width, int height) {
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
/**
|
||||
* Called to get the provider to populate the Outline. This method will be called by a View
|
||||
* when its owned Drawables are invalidated, when the View's size changes, or if invalidateOutline()
|
||||
* is called explicitly. The input outline is empty and has an alpha of 1.0f
|
||||
*
|
||||
* @param view a view, which builds the outline
|
||||
* @param outline an empty outline, which is to be populated
|
||||
*/
|
||||
@Override
|
||||
public void getOutline(View view, Outline outline) {
|
||||
outline.setOval(0, 0, width, height);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,198 @@
|
|||
/*
|
||||
* Copyright 2015 Shell Software Inc.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* File created: 2015-02-16 10:56:57
|
||||
*/
|
||||
|
||||
package com.software.shell.fab;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.Log;
|
||||
import android.view.animation.Animation;
|
||||
|
||||
/**
|
||||
* Deprecated since version <b>1.0.2</b>. Use {@link com.software.shell.fab.ActionButton}
|
||||
* class instead.
|
||||
* The reason is the rename of base class name from <b>FloatingActionButton</b> to
|
||||
* <b>ActionButton</b> and some of the methods, which are present in this class.
|
||||
* <p>
|
||||
* Will be removed in version 2.0.0. Please use {@link com.software.shell.fab.ActionButton} and
|
||||
* methods declared there instead
|
||||
*
|
||||
* @author Vladislav
|
||||
* @version 1.0.0
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Deprecated
|
||||
public class FloatingActionButton extends ActionButton{
|
||||
|
||||
private static final String LOG_TAG = "FAB";
|
||||
|
||||
public FloatingActionButton(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public FloatingActionButton(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
initActionButton(context, attrs, 0, 0);
|
||||
}
|
||||
|
||||
public FloatingActionButton(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
super(context, attrs, defStyleAttr);
|
||||
initActionButton(context, attrs, defStyleAttr, 0);
|
||||
}
|
||||
|
||||
public FloatingActionButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
|
||||
super(context, attrs, defStyleAttr, defStyleRes);
|
||||
initActionButton(context, attrs, defStyleAttr, defStyleRes);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an animation, which is used while showing <b>Floating Action Button</b>
|
||||
* @deprecated since version <b>1.0.2</b>. Please use {@link #getShowAnimation()} instead
|
||||
*
|
||||
* @return animation, which is used while showing <b>Floating Action Button</b>
|
||||
*/
|
||||
@Deprecated
|
||||
public Animation getAnimationOnShow() {
|
||||
return getShowAnimation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the animation, which is used while showing <b>Floating Action Button</b>
|
||||
* @deprecated since version <b>1.0.2</b>. Please use
|
||||
* {@link #setShowAnimation(android.view.animation.Animation)} instead
|
||||
*
|
||||
* @param animation animation, which is to be used while showing
|
||||
* <b>Floating Action Button</b>
|
||||
*/
|
||||
@Deprecated
|
||||
public void setAnimationOnShow(Animation animation) {
|
||||
setShowAnimation(animation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets one of the {@link Animations} as animation, which is used while showing
|
||||
* <b>Floating Action Button</b>
|
||||
* @deprecated since version <b>1.0.2</b>. Please use
|
||||
* {@link #setShowAnimation(com.software.shell.fab.ActionButton.Animations)} instead
|
||||
*
|
||||
* @param animation one of the {@link Animations}, which is to be used while
|
||||
* showing <b>Floating Action Button</b>
|
||||
*/
|
||||
@Deprecated
|
||||
public void setAnimationOnShow(Animations animation) {
|
||||
setShowAnimation(animation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an animation, which is used while hiding <b>Floating Action Button</b>
|
||||
* @deprecated since version <b>1.0.2</b>. Please use {@link #getHideAnimation()}
|
||||
* instead
|
||||
*
|
||||
* @return animation, which is used while hiding <b>Floating Action Button</b>
|
||||
*/
|
||||
@Deprecated
|
||||
public Animation getAnimationOnHide() {
|
||||
return getHideAnimation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the animation, which is used while hiding <b>Floating Action Button</b>
|
||||
* @deprecated since version <b>1.0.2</b>. Please use
|
||||
* {@link #setHideAnimation(android.view.animation.Animation)} instead
|
||||
*
|
||||
* @param animation animation, which is to be used while hiding
|
||||
* <b>Floating Action Button</b>
|
||||
*/
|
||||
@Deprecated
|
||||
public void setAnimationOnHide(Animation animation) {
|
||||
setHideAnimation(animation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets one of the {@link Animations} as animation, which is used while hiding
|
||||
* <b>Floating Action Button</b>
|
||||
* @deprecated since version <b>1.0.2</b>. Please use
|
||||
* {@link #setHideAnimation(com.software.shell.fab.ActionButton.Animations)} )} instead
|
||||
*
|
||||
* @param animation one of the {@link Animations}, which is to be used while
|
||||
* hiding <b>Floating Action Button</b>
|
||||
*/
|
||||
@Deprecated
|
||||
public void setAnimationOnHide(Animations animation) {
|
||||
setHideAnimation(animation);
|
||||
}
|
||||
|
||||
private void initActionButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
|
||||
TypedArray attributes = context.getTheme().obtainStyledAttributes(attrs, R.styleable.ActionButton,
|
||||
defStyleAttr, defStyleRes);
|
||||
try {
|
||||
initType(attributes);
|
||||
initShowAnimation(attributes);
|
||||
initHideAnimation(attributes);
|
||||
} catch (Exception e) {
|
||||
Log.e(LOG_TAG, "Unable to read attr", e);
|
||||
} finally {
|
||||
attributes.recycle();
|
||||
}
|
||||
Log.v(LOG_TAG, "Floating Action Button initialized");
|
||||
}
|
||||
|
||||
private void initType(TypedArray attrs) {
|
||||
if (attrs.hasValue(R.styleable.ActionButton_type)) {
|
||||
final int id = attrs.getInteger(R.styleable.ActionButton_type, 0);
|
||||
setType(Type.forId(id));
|
||||
Log.v(LOG_TAG, "Initialized type: " + getType());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes the animation, which is used while showing
|
||||
* <b>Action Button</b>
|
||||
* @deprecated since 1.0.2 and will be removed in version 2.0.0.
|
||||
* Use <b>show_animation</b> and <b>hide_animation</b> in XML instead
|
||||
*
|
||||
* @param attrs attributes of the XML tag that is inflating the view
|
||||
*/
|
||||
@Deprecated
|
||||
private void initShowAnimation(TypedArray attrs) {
|
||||
if (attrs.hasValue(R.styleable.ActionButton_animation_onShow)) {
|
||||
final int animResId = attrs.getResourceId(R.styleable.ActionButton_animation_onShow,
|
||||
Animations.NONE.animResId);
|
||||
setShowAnimation(Animations.load(getContext(), animResId));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes the animation, which is used while hiding or dismissing
|
||||
* <b>Action Button</b>
|
||||
* @deprecated since 1.0.2 and will be removed in version 2.0.0
|
||||
* Use <b>show_animation</b> and <b>hide_animation</b> in XML instead
|
||||
*
|
||||
* @param attrs attributes of the XML tag that is inflating the view
|
||||
*/
|
||||
@Deprecated
|
||||
private void initHideAnimation(TypedArray attrs) {
|
||||
if (attrs.hasValue(R.styleable.ActionButton_animation_onHide)) {
|
||||
final int animResId = attrs.getResourceId(R.styleable.ActionButton_animation_onHide,
|
||||
Animations.NONE.animResId);
|
||||
setHideAnimation(Animations.load(getContext(), animResId));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* Copyright 2015 Shell Software Inc.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* File created: 2015-01-30 22:55:44
|
||||
*/
|
||||
|
||||
package com.software.shell.fab;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
/**
|
||||
* Contains utility methods for metrics conversion
|
||||
*
|
||||
* @author Vladislav
|
||||
* @version 1.0.0
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public final class MetricsConverter {
|
||||
|
||||
/**
|
||||
* Prevents from creating {@link com.software.shell.fab.MetricsConverter} instances
|
||||
*/
|
||||
private MetricsConverter() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts the density-independent value into real pixel value based on display metrics
|
||||
*
|
||||
* @param context application context
|
||||
* @param dp density-independent value
|
||||
* @return converted real pixel value
|
||||
*/
|
||||
public static float dpToPx(Context context, float dp) {
|
||||
final float scale = context.getResources().getDisplayMetrics().density;
|
||||
return dp * scale;
|
||||
}
|
||||
|
||||
}
|
15
eclipse-compile/fab/project.properties
Normal file
15
eclipse-compile/fab/project.properties
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 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 use,
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
|
||||
# Indicates whether an apk should be generated for each density.
|
||||
split.density=false
|
||||
# Project target.
|
||||
target=android-21
|
||||
dex.force.jumbo=true
|
||||
android.library=true
|
37
eclipse-compile/fab/res/anim-v11/fab_jump_from_down.xml
Normal file
37
eclipse-compile/fab/res/anim-v11/fab_jump_from_down.xml
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:12
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/decelerate_cubic">
|
||||
<scale
|
||||
android:fromXScale="0.0"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="0.0"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="500"
|
||||
/>
|
||||
<translate
|
||||
android:fromYDelta="30%p"
|
||||
android:toYDelta="0"
|
||||
android:duration="500"
|
||||
/>
|
||||
</set>
|
38
eclipse-compile/fab/res/anim-v11/fab_jump_from_right.xml
Normal file
38
eclipse-compile/fab/res/anim-v11/fab_jump_from_right.xml
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:38
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/decelerate_cubic">
|
||||
<scale
|
||||
android:fromXScale="0.0"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="0.0"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="500"
|
||||
/>
|
||||
<translate
|
||||
android:fromXDelta="30%p"
|
||||
android:toXDelta="0"
|
||||
android:duration="500"
|
||||
/>
|
||||
|
||||
</set>
|
38
eclipse-compile/fab/res/anim-v11/fab_jump_to_down.xml
Normal file
38
eclipse-compile/fab/res/anim-v11/fab_jump_to_down.xml
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:42
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/accelerate_cubic">
|
||||
<scale
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="0.0"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="0.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="300"
|
||||
/>
|
||||
<translate
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="30%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
|
||||
</set>
|
38
eclipse-compile/fab/res/anim-v11/fab_jump_to_right.xml
Normal file
38
eclipse-compile/fab/res/anim-v11/fab_jump_to_right.xml
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:45
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/accelerate_cubic">
|
||||
<scale
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="0.0"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="0.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="300"
|
||||
/>
|
||||
<translate
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="30%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
|
||||
</set>
|
35
eclipse-compile/fab/res/anim-v11/fab_roll_from_down.xml
Normal file
35
eclipse-compile/fab/res/anim-v11/fab_roll_from_down.xml
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:49
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/overshoot">
|
||||
<rotate
|
||||
android:duration="500"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:fromDegrees="360"
|
||||
android:toDegrees="0"
|
||||
/>
|
||||
<translate
|
||||
android:fromYDelta="30%p"
|
||||
android:toYDelta="0"
|
||||
android:duration="500"
|
||||
/>
|
||||
</set>
|
35
eclipse-compile/fab/res/anim-v11/fab_roll_from_right.xml
Normal file
35
eclipse-compile/fab/res/anim-v11/fab_roll_from_right.xml
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:53
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/overshoot">
|
||||
<rotate
|
||||
android:duration="500"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:fromDegrees="360"
|
||||
android:toDegrees="0"
|
||||
/>
|
||||
<translate
|
||||
android:fromXDelta="30%p"
|
||||
android:toXDelta="0"
|
||||
android:duration="500"
|
||||
/>
|
||||
</set>
|
36
eclipse-compile/fab/res/anim-v11/fab_roll_to_down.xml
Normal file
36
eclipse-compile/fab/res/anim-v11/fab_roll_to_down.xml
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:56
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/anticipate">
|
||||
<rotate
|
||||
android:fromDegrees="0"
|
||||
android:toDegrees="360"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="300"
|
||||
/>
|
||||
<translate
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="30%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
|
||||
</set>
|
36
eclipse-compile/fab/res/anim-v11/fab_roll_to_right.xml
Normal file
36
eclipse-compile/fab/res/anim-v11/fab_roll_to_right.xml
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:26:00
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/anticipate">
|
||||
<rotate
|
||||
android:fromDegrees="0"
|
||||
android:toDegrees="360"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="300"
|
||||
/>
|
||||
<translate
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="30%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
|
||||
</set>
|
30
eclipse-compile/fab/res/anim-v11/fab_scale_down.xml
Normal file
30
eclipse-compile/fab/res/anim-v11/fab_scale_down.xml
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:26:04
|
||||
-->
|
||||
|
||||
<scale
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/anticipate"
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="0.0"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="0.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="300"
|
||||
/>
|
29
eclipse-compile/fab/res/anim-v11/fab_scale_up.xml
Normal file
29
eclipse-compile/fab/res/anim-v11/fab_scale_up.xml
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:26:09
|
||||
-->
|
||||
<scale
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/overshoot"
|
||||
android:fromXScale="0.0"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="0.0"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="500"
|
||||
/>
|
25
eclipse-compile/fab/res/anim/fab_fade_in.xml
Normal file
25
eclipse-compile/fab/res/anim/fab_fade_in.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:24:57
|
||||
-->
|
||||
|
||||
<alpha
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromAlpha="0.0"
|
||||
android:toAlpha="1.0"
|
||||
android:duration="500"
|
||||
/>
|
25
eclipse-compile/fab/res/anim/fab_fade_out.xml
Normal file
25
eclipse-compile/fab/res/anim/fab_fade_out.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:06
|
||||
-->
|
||||
|
||||
<alpha
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromAlpha="1.0"
|
||||
android:toAlpha="0.0"
|
||||
android:duration="300"
|
||||
/>
|
36
eclipse-compile/fab/res/anim/fab_jump_from_down.xml
Normal file
36
eclipse-compile/fab/res/anim/fab_jump_from_down.xml
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:12
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<scale
|
||||
android:fromXScale="0.0"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="0.0"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="500"
|
||||
/>
|
||||
<translate
|
||||
android:fromYDelta="30%p"
|
||||
android:toYDelta="0"
|
||||
android:duration="500"
|
||||
/>
|
||||
</set>
|
37
eclipse-compile/fab/res/anim/fab_jump_from_right.xml
Normal file
37
eclipse-compile/fab/res/anim/fab_jump_from_right.xml
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:38
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<scale
|
||||
android:fromXScale="0.0"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="0.0"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="500"
|
||||
/>
|
||||
<translate
|
||||
android:fromXDelta="30%p"
|
||||
android:toXDelta="0"
|
||||
android:duration="500"
|
||||
/>
|
||||
|
||||
</set>
|
37
eclipse-compile/fab/res/anim/fab_jump_to_down.xml
Normal file
37
eclipse-compile/fab/res/anim/fab_jump_to_down.xml
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:42
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<scale
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="0.0"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="0.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="300"
|
||||
/>
|
||||
<translate
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="30%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
|
||||
</set>
|
37
eclipse-compile/fab/res/anim/fab_jump_to_right.xml
Normal file
37
eclipse-compile/fab/res/anim/fab_jump_to_right.xml
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:45
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<scale
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="0.0"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="0.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="300"
|
||||
/>
|
||||
<translate
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="30%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
|
||||
</set>
|
48
eclipse-compile/fab/res/anim/fab_roll_from_down.xml
Normal file
48
eclipse-compile/fab/res/anim/fab_roll_from_down.xml
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:49
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<rotate
|
||||
android:duration="400"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:fromDegrees="360"
|
||||
android:toDegrees="-30"
|
||||
/>
|
||||
<rotate
|
||||
android:duration="100"
|
||||
android:startOffset="400"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:fromDegrees="0"
|
||||
android:toDegrees="30"
|
||||
/>
|
||||
<translate
|
||||
android:duration="400"
|
||||
android:fromYDelta="30%p"
|
||||
android:toYDelta="-20"
|
||||
/>
|
||||
<translate
|
||||
android:duration="100"
|
||||
android:startOffset="400"
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="20"
|
||||
/>
|
||||
</set>
|
48
eclipse-compile/fab/res/anim/fab_roll_from_right.xml
Normal file
48
eclipse-compile/fab/res/anim/fab_roll_from_right.xml
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:53
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<rotate
|
||||
android:duration="400"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:fromDegrees="360"
|
||||
android:toDegrees="-30"
|
||||
/>
|
||||
<rotate
|
||||
android:duration="100"
|
||||
android:startOffset="400"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:fromDegrees="0"
|
||||
android:toDegrees="30"
|
||||
/>
|
||||
<translate
|
||||
android:duration="400"
|
||||
android:fromXDelta="30%p"
|
||||
android:toXDelta="-20"
|
||||
/>
|
||||
<translate
|
||||
android:duration="100"
|
||||
android:startOffset="400"
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="20"
|
||||
/>
|
||||
</set>
|
48
eclipse-compile/fab/res/anim/fab_roll_to_down.xml
Normal file
48
eclipse-compile/fab/res/anim/fab_roll_to_down.xml
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:25:56
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<rotate
|
||||
android:duration="100"
|
||||
android:fromDegrees="0"
|
||||
android:toDegrees="-30"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
/>
|
||||
<rotate
|
||||
android:duration="200"
|
||||
android:startOffset="100"
|
||||
android:fromDegrees="0"
|
||||
android:toDegrees="390"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
/>
|
||||
<translate
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="-20"
|
||||
android:duration="100"
|
||||
/>
|
||||
<translate
|
||||
android:duration="200"
|
||||
android:startOffset="100"
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="30%p"
|
||||
/>
|
||||
</set>
|
48
eclipse-compile/fab/res/anim/fab_roll_to_right.xml
Normal file
48
eclipse-compile/fab/res/anim/fab_roll_to_right.xml
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:26:00
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<rotate
|
||||
android:fromDegrees="0"
|
||||
android:toDegrees="-30"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="100"
|
||||
/>
|
||||
<rotate
|
||||
android:duration="200"
|
||||
android:startOffset="100"
|
||||
android:fromDegrees="0"
|
||||
android:toDegrees="390"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
/>
|
||||
<translate
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="-20"
|
||||
android:duration="100"
|
||||
/>
|
||||
<translate
|
||||
android:duration="200"
|
||||
android:startOffset="100"
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="30%p"
|
||||
/>
|
||||
</set>
|
41
eclipse-compile/fab/res/anim/fab_scale_down.xml
Normal file
41
eclipse-compile/fab/res/anim/fab_scale_down.xml
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:26:04
|
||||
-->
|
||||
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<scale
|
||||
android:duration="200"
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="1.1"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="1.1"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
/>
|
||||
<scale
|
||||
android:duration="100"
|
||||
android:startOffset="200"
|
||||
android:fromXScale="1.1"
|
||||
android:toXScale="0.9"
|
||||
android:fromYScale="1.1"
|
||||
android:toYScale="0.9"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
/>
|
||||
</set>
|
42
eclipse-compile/fab/res/anim/fab_scale_up.xml
Normal file
42
eclipse-compile/fab/res/anim/fab_scale_up.xml
Normal file
|
@ -0,0 +1,42 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:26:09
|
||||
-->
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<scale
|
||||
android:duration="400"
|
||||
android:fromXScale="0.0"
|
||||
android:toXScale="1.1"
|
||||
android:fromYScale="0.0"
|
||||
android:toYScale="1.1"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
/>
|
||||
<scale
|
||||
android:duration="100"
|
||||
android:startOffset="400"
|
||||
android:fromXScale="1.1"
|
||||
android:toXScale="0.9"
|
||||
android:fromYScale="1.1"
|
||||
android:toYScale="0.9"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
/>
|
||||
|
||||
</set>
|
BIN
eclipse-compile/fab/res/drawable-hdpi/fab_plus_icon.png
Normal file
BIN
eclipse-compile/fab/res/drawable-hdpi/fab_plus_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
eclipse-compile/fab/res/drawable-mdpi/fab_plus_icon.png
Normal file
BIN
eclipse-compile/fab/res/drawable-mdpi/fab_plus_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
BIN
eclipse-compile/fab/res/drawable-xhdpi/fab_plus_icon.png
Normal file
BIN
eclipse-compile/fab/res/drawable-xhdpi/fab_plus_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
eclipse-compile/fab/res/drawable-xxhdpi/fab_plus_icon.png
Normal file
BIN
eclipse-compile/fab/res/drawable-xxhdpi/fab_plus_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
eclipse-compile/fab/res/drawable-xxxhdpi/fab_plus_icon.png
Normal file
BIN
eclipse-compile/fab/res/drawable-xxxhdpi/fab_plus_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
23
eclipse-compile/fab/res/values-sw600dp/dimens.xml
Normal file
23
eclipse-compile/fab/res/values-sw600dp/dimens.xml
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:17:21
|
||||
-->
|
||||
|
||||
<!--Used for tablet devices-->
|
||||
<resources>
|
||||
<dimen name="fab_margin">24dp</dimen>
|
||||
</resources>
|
47
eclipse-compile/fab/res/values/attrs.xml
Normal file
47
eclipse-compile/fab/res/values/attrs.xml
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:10:53
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<declare-styleable name="ActionButton">
|
||||
<attr name="type" format="enum">
|
||||
<enum name="DEFAULT" value="0" />
|
||||
<enum name="MINI" value="1" />
|
||||
|
||||
<!--Deprecated and will be removed in version 2.0.0. Use DEFAULT and MINI instead-->
|
||||
<enum name="normal" value="0" />
|
||||
<enum name="mini" value="1" />
|
||||
</attr>
|
||||
<attr name="button_color" format="color" />
|
||||
<attr name="button_colorPressed" format="color" />
|
||||
<attr name="shadow_radius" format="dimension" />
|
||||
<attr name="shadow_xOffset" format="dimension" />
|
||||
<attr name="shadow_yOffset" format="dimension" />
|
||||
<attr name="shadow_color" format="color" />
|
||||
<attr name="stroke_width" format="dimension" />
|
||||
<attr name="stroke_color" format="color" />
|
||||
<attr name="show_animation" format="reference" />
|
||||
<attr name="hide_animation" format="reference" />
|
||||
<attr name="image" format="reference" />
|
||||
<attr name="image_size" format="dimension" />
|
||||
|
||||
<!--Deprecated and will be removed in version 2.0.0. Use show_animation and hide_animation instead-->
|
||||
<attr name="animation_onShow" format="reference" />
|
||||
<attr name="animation_onHide" format="reference" />
|
||||
</declare-styleable>
|
||||
</resources>
|
86
eclipse-compile/fab/res/values/colors.xml
Normal file
86
eclipse-compile/fab/res/values/colors.xml
Normal file
|
@ -0,0 +1,86 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-18 14:16:05
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!--
|
||||
Material 500 colors are for normal button state
|
||||
Material 900 colors are for pressed button state
|
||||
-->
|
||||
<!--Material Red-->
|
||||
<color name="fab_material_red_500">#f44336</color>
|
||||
<color name="fab_material_red_900">#b71c1c</color>
|
||||
<!--Material Pink-->
|
||||
<color name="fab_material_pink_500">#e91e63</color>
|
||||
<color name="fab_material_pink_900">#880e4f</color>
|
||||
<!--Material Purple-->
|
||||
<color name="fab_material_purple_500">#9c27b0</color>
|
||||
<color name="fab_material_purple_900">#4a148c</color>
|
||||
<!--Material Deep Purple-->
|
||||
<color name="fab_material_deep_purple_500">#673ab7</color>
|
||||
<color name="fab_material_deep_purple_900">#311b92</color>
|
||||
<!--Material Indigo-->
|
||||
<color name="fab_material_indigo_500">#3f51b5</color>
|
||||
<color name="fab_material_indigo_900">#1a237e</color>
|
||||
<!--Material Blue-->
|
||||
<color name="fab_material_blue_500">#2196f3</color>
|
||||
<color name="fab_material_blue_900">#0d47a1</color>
|
||||
<!--Material Light Blue-->
|
||||
<color name="fab_material_light_blue_500">#03a9f4</color>
|
||||
<color name="fab_material_light_blue_900">#01579b</color>
|
||||
<!--Material Cyan-->
|
||||
<color name="fab_material_cyan_500">#00bcd4</color>
|
||||
<color name="fab_material_cyan_900">#006064</color>
|
||||
<!--Material Teal-->
|
||||
<color name="fab_material_teal_500">#009688</color>
|
||||
<color name="fab_material_teal_900">#004d40</color>
|
||||
<!--Material Green-->
|
||||
<color name="fab_material_green_500">#4caf50</color>
|
||||
<color name="fab_material_green_900">#1b5e20</color>
|
||||
<!--Material Light Green-->
|
||||
<color name="fab_material_light_green_500">#8bc34a</color>
|
||||
<color name="fab_material_light_green_900">#33691e</color>
|
||||
<!--Material Lime-->
|
||||
<color name="fab_material_lime_500">#cddc39</color>
|
||||
<color name="fab_material_lime_900">#827717</color>
|
||||
<!--Material Yellow-->
|
||||
<color name="fab_material_yellow_500">#ffeb3b</color>
|
||||
<color name="fab_material_yellow_900">#f57f17</color>
|
||||
<!--Material Amber-->
|
||||
<color name="fab_material_amber_500">#ffc107</color>
|
||||
<color name="fab_material_amber_900">#ff6f00</color>
|
||||
<!--Material Orange-->
|
||||
<color name="fab_material_orange_500">#ff9800</color>
|
||||
<color name="fab_material_orange_900">#e65100</color>
|
||||
<!--Material Deep Orange-->
|
||||
<color name="fab_material_deep_orange_500">#ff5722</color>
|
||||
<color name="fab_material_deep_orange_900">#bf360c</color>
|
||||
<!--Material Brown-->
|
||||
<color name="fab_material_brown_500">#795548</color>
|
||||
<color name="fab_material_brown_900">#3e2723</color>
|
||||
<!--Material Grey-->
|
||||
<color name="fab_material_grey_500">#9e9e9e</color>
|
||||
<color name="fab_material_grey_900">#212121</color>
|
||||
<!--Material Blue Grey-->
|
||||
<color name="fab_material_blue_grey_500">#607d8b</color>
|
||||
<color name="fab_material_blue_grey_900">#263238</color>
|
||||
<!--Material Black-->
|
||||
<color name="fab_material_black">#000000</color>
|
||||
<!--Material White-->
|
||||
<color name="fab_material_white">#ffffff</color>
|
||||
</resources>
|
24
eclipse-compile/fab/res/values/dimens.xml
Normal file
24
eclipse-compile/fab/res/values/dimens.xml
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2015 Shell Software Inc.
|
||||
~
|
||||
~ 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.
|
||||
~
|
||||
~ File created: 2015-01-17 10:15:16
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<!-- Used for mobile (non-tablet) devices -->
|
||||
<dimen name="fab_margin">16dp</dimen>
|
||||
|
||||
</resources>
|
Loading…
Reference in a new issue