In layouts "end/start" complemented with "right/left" for lower api compability
This commit is contained in:
parent
3d3de3feed
commit
b28877e08e
File diff suppressed because one or more lines are too long
@ -73,7 +73,7 @@ public class Player extends Entity {
|
|||||||
|
|
||||||
public void preMoveUpdate(Timer timer) {
|
public void preMoveUpdate(Timer timer) {
|
||||||
if (hasSuperPower && superPowerParticles != null) {
|
if (hasSuperPower && superPowerParticles != null) {
|
||||||
currentSuperPowerDuration += timer.getFrameTimeSeconds();
|
currentSuperPowerDuration += timer.getFrameTimeMilliseconds();
|
||||||
hasSuperPower = superPowerDuration >= currentSuperPowerDuration;
|
hasSuperPower = superPowerDuration >= currentSuperPowerDuration;
|
||||||
superPowerParticles.setPosition(new Vector(super.getPosition()));
|
superPowerParticles.setPosition(new Vector(super.getPosition()));
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ public class Particle extends Entity {
|
|||||||
|
|
||||||
public void update(Timer timer) {
|
public void update(Timer timer) {
|
||||||
if (active) {
|
if (active) {
|
||||||
passedLifetime += timer.getFrameTimeSeconds();
|
passedLifetime += timer.getFrameTimeMilliseconds();
|
||||||
if (passedLifetime >= maxLife)
|
if (passedLifetime >= maxLife)
|
||||||
active = false;
|
active = false;
|
||||||
float lifetimePercent = passedLifetime / maxLife;
|
float lifetimePercent = passedLifetime / maxLife;
|
||||||
|
@ -57,17 +57,17 @@ public class ParticleSource {
|
|||||||
|
|
||||||
public void update(Timer timer) {
|
public void update(Timer timer) {
|
||||||
if (alife) {
|
if (alife) {
|
||||||
passedTime += timer.getFrameTimeSeconds();
|
passedTime += timer.getFrameTimeMilliseconds();
|
||||||
lifePercent = passedTime / maxTime;
|
lifePercent = passedTime / maxTime;
|
||||||
|
|
||||||
if (passedTime >= currentDelay) {
|
if (passedTime >= currentDelay) {
|
||||||
passedEmittPause += timer.getFrameTimeSeconds();
|
passedEmittPause += timer.getFrameTimeMilliseconds();
|
||||||
while (passedEmittPause >= emittPause) {
|
while (passedEmittPause >= emittPause) {
|
||||||
passedEmittPause -= emittPause;
|
passedEmittPause -= emittPause;
|
||||||
emitt();
|
emitt();
|
||||||
}
|
}
|
||||||
|
|
||||||
passedSecond += timer.getFrameTimeSeconds();
|
passedSecond += timer.getFrameTimeMilliseconds();
|
||||||
if (passedSecond >= 1000) {
|
if (passedSecond >= 1000) {
|
||||||
passedSecond -= 1000;
|
passedSecond -= 1000;
|
||||||
calcEmittPause();
|
calcEmittPause();
|
||||||
@ -90,7 +90,7 @@ public class ParticleSource {
|
|||||||
iter.remove();
|
iter.remove();
|
||||||
} else {
|
} else {
|
||||||
particle.move(
|
particle.move(
|
||||||
new Vector(particle.getMovement()).mul(timer.getFrameTimeSeconds() / 1000));
|
new Vector(particle.getMovement()).mul(timer.getFrameTimeMilliseconds() / 1000));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
activeParticleLock.unlock();
|
activeParticleLock.unlock();
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package de.frajul.endlessroll.entities.textures;
|
package de.frajul.endlessroll.entities.textures;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
import android.opengl.GLES20;
|
||||||
import android.support.annotation.DrawableRes;
|
import android.support.annotation.DrawableRes;
|
||||||
|
|
||||||
import de.frajul.endlessroll.R;
|
import de.frajul.endlessroll.R;
|
||||||
|
@ -5,7 +5,6 @@ import de.frajul.endlessroll.entities.DestroyEffect;
|
|||||||
import de.frajul.endlessroll.entities.Obstacle;
|
import de.frajul.endlessroll.entities.Obstacle;
|
||||||
import de.frajul.endlessroll.entities.Player;
|
import de.frajul.endlessroll.entities.Player;
|
||||||
import de.frajul.endlessroll.entities.collision.geometry.Geometry;
|
import de.frajul.endlessroll.entities.collision.geometry.Geometry;
|
||||||
import de.frajul.endlessroll.main.GameLog;
|
|
||||||
import de.frajul.endlessroll.main.game.Timer;
|
import de.frajul.endlessroll.main.game.Timer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -30,7 +29,7 @@ public class Bomb extends Tool {
|
|||||||
public void update(Timer timer) {
|
public void update(Timer timer) {
|
||||||
super.update(timer);
|
super.update(timer);
|
||||||
float explosionDuration = ToolType.BOMB.getCurrentUpgradeValue(ToolUpgradeType.DURATION);
|
float explosionDuration = ToolType.BOMB.getCurrentUpgradeValue(ToolUpgradeType.DURATION);
|
||||||
delta += timer.getFrameTimeSeconds();
|
delta += timer.getFrameTimeMilliseconds();
|
||||||
int currentExplosionState = Math.min((int) (delta / (explosionDuration / 3f)), 3);
|
int currentExplosionState = Math.min((int) (delta / (explosionDuration / 3f)), 3);
|
||||||
if (attachedObstacle != null) {
|
if (attachedObstacle != null) {
|
||||||
if(attachedObstacle.isMoving())
|
if(attachedObstacle.isMoving())
|
||||||
|
@ -57,7 +57,7 @@ public class Magnet extends Tool {
|
|||||||
float fromPlayerYDistance = super.getPosition().y - player.getPosition().y;
|
float fromPlayerYDistance = super.getPosition().y - player.getPosition().y;
|
||||||
float force = 0.0000012f / (fromPlayerDistanceGreaterFour * fromPlayerDistanceGreaterFour);
|
float force = 0.0000012f / (fromPlayerDistanceGreaterFour * fromPlayerDistanceGreaterFour);
|
||||||
force *= ToolType.MAGNET.getCurrentUpgradeValue(ToolUpgradeType.FORCE) / 100;
|
force *= ToolType.MAGNET.getCurrentUpgradeValue(ToolUpgradeType.FORCE) / 100;
|
||||||
force *= timer.getFrameTimeSeconds();
|
force *= timer.getFrameTimeMilliseconds();
|
||||||
|
|
||||||
if (fromPlayerYDistance < 0) {
|
if (fromPlayerYDistance < 0) {
|
||||||
force = -force;
|
force = -force;
|
||||||
|
@ -13,7 +13,7 @@ public class Camera {
|
|||||||
private float x, y;
|
private float x, y;
|
||||||
|
|
||||||
public void update(float playerY, Timer timer){
|
public void update(float playerY, Timer timer){
|
||||||
float frameTime = timer.getFrameTimeSeconds() / 1000f;
|
float frameTime = timer.getFrameTimeMilliseconds() / 1000f;
|
||||||
float maxY = Math.min(playerY - 1 + 0.6f, MAX_Y);
|
float maxY = Math.min(playerY - 1 + 0.6f, MAX_Y);
|
||||||
if(playerY >= 0.5f){
|
if(playerY >= 0.5f){
|
||||||
y += MOVE_SPEED_UP * frameTime;
|
y += MOVE_SPEED_UP * frameTime;
|
||||||
|
@ -146,7 +146,7 @@ public class Game extends Rendering<GameScene> {
|
|||||||
|
|
||||||
float playerProgress = player.getProgress();
|
float playerProgress = player.getProgress();
|
||||||
viewManager.update(gameState == GameState.RUNNING, timer, playerProgress);
|
viewManager.update(gameState == GameState.RUNNING, timer, playerProgress);
|
||||||
toolButtonBar.update(timer.getFrameTimeSeconds(), gameState == GameState.RUNNING);
|
toolButtonBar.update(timer.getFrameTimeMilliseconds(), gameState == GameState.RUNNING);
|
||||||
switch (gameState) {
|
switch (gameState) {
|
||||||
case RUNNING:
|
case RUNNING:
|
||||||
if (player.getPosition().y < -2f) {
|
if (player.getPosition().y < -2f) {
|
||||||
@ -166,7 +166,7 @@ public class Game extends Rendering<GameScene> {
|
|||||||
collisionManager.update(physics, scene, timer);
|
collisionManager.update(physics, scene, timer);
|
||||||
break;
|
break;
|
||||||
case COUNTDOWN:
|
case COUNTDOWN:
|
||||||
countdown.update(timer.getFrameTimeSeconds());
|
countdown.update(timer.getFrameTimeMilliseconds());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
@ -23,6 +23,7 @@ import de.frajul.endlessroll.entities.tileLists.Terrain;
|
|||||||
import de.frajul.endlessroll.entities.tools.Tool;
|
import de.frajul.endlessroll.entities.tools.Tool;
|
||||||
import de.frajul.endlessroll.levels.worlds.World;
|
import de.frajul.endlessroll.levels.worlds.World;
|
||||||
import de.frajul.endlessroll.main.GameActivity;
|
import de.frajul.endlessroll.main.GameActivity;
|
||||||
|
import de.frajul.endlessroll.main.GameLog;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Julian on 20.07.2016.
|
* Created by Julian on 20.07.2016.
|
||||||
@ -107,7 +108,7 @@ public abstract class Scene {
|
|||||||
if (entity instanceof Obstacle) {
|
if (entity instanceof Obstacle) {
|
||||||
Obstacle obstacle = (Obstacle) entity;
|
Obstacle obstacle = (Obstacle) entity;
|
||||||
if (obstacle.isMoving())
|
if (obstacle.isMoving())
|
||||||
obstacle.moveWithMoveComponent(timer.getFrameTimeSeconds(),
|
obstacle.moveWithMoveComponent(timer.getFrameTimeMilliseconds(),
|
||||||
player.getSpeed());
|
player.getSpeed());
|
||||||
}
|
}
|
||||||
boolean remove = updateEntity(entity, timer);
|
boolean remove = updateEntity(entity, timer);
|
||||||
@ -122,7 +123,7 @@ public abstract class Scene {
|
|||||||
((AnimatedEntity) entity).update(timer);
|
((AnimatedEntity) entity).update(timer);
|
||||||
if (!(entity instanceof Obstacle)) {
|
if (!(entity instanceof Obstacle)) {
|
||||||
Vector movement = entity.getMovement();
|
Vector movement = entity.getMovement();
|
||||||
Vector finalMovement = new Vector(movement).mul(timer.getFrameTimeSeconds());
|
Vector finalMovement = new Vector(movement).mul(timer.getFrameTimeMilliseconds());
|
||||||
if (finalMovement.y < MAX_Y_MOVEMENT)
|
if (finalMovement.y < MAX_Y_MOVEMENT)
|
||||||
finalMovement.y = MAX_Y_MOVEMENT;
|
finalMovement.y = MAX_Y_MOVEMENT;
|
||||||
entity.move(finalMovement);
|
entity.move(finalMovement);
|
||||||
|
@ -21,10 +21,18 @@ public class TestScreenScene extends Scene {
|
|||||||
uncategorizedEntities
|
uncategorizedEntities
|
||||||
.add(new Entity(World.GRASSLANDS.getBackgroundTextures().get(0), new Vector(), 1,
|
.add(new Entity(World.GRASSLANDS.getBackgroundTextures().get(0), new Vector(), 1,
|
||||||
1));
|
1));
|
||||||
|
uncategorizedEntities
|
||||||
|
.add(new Entity(World.ICY_MOUNTAINS.getBackgroundTextures().get(0), new Vector(-1,0), 1,
|
||||||
|
1));
|
||||||
|
uncategorizedEntities
|
||||||
|
.add(new Entity(World.ICY_MOUNTAINS.getBackgroundTextures().get(0), new Vector(1,0), 1,
|
||||||
|
1));
|
||||||
try {
|
try {
|
||||||
guis.addAll(new ToolButtonBar(texturePack, null,
|
guis.addAll(new ToolButtonBar(texturePack, null,
|
||||||
new ToolSlotSettings("RAMP", "STASIS", "BOMB", "MAGNET", 1)).toGuiList());
|
new ToolSlotSettings("RAMP", "STASIS", "BOMB", "MAGNET", 1)).toGuiList());
|
||||||
} catch (Exception ignore) {
|
} catch (Exception ignore) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
camera.moveX(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -31,7 +31,7 @@ public class Timer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getFrameTimeSeconds() {
|
public float getFrameTimeMilliseconds() {
|
||||||
return delta;
|
return delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ public class Physics {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void applyGravity(GameScene scene, Timer timer) {
|
public void applyGravity(GameScene scene, Timer timer) {
|
||||||
float gravity = GRAVITY_FORCE * timer.getFrameTimeSeconds();
|
float gravity = GRAVITY_FORCE * timer.getFrameTimeMilliseconds();
|
||||||
|
|
||||||
scene.getPlayer().setGravityForce(-gravity);
|
scene.getPlayer().setGravityForce(-gravity);
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ import android.opengl.Matrix;
|
|||||||
|
|
||||||
import de.frajul.endlessroll.data.Vector;
|
import de.frajul.endlessroll.data.Vector;
|
||||||
import de.frajul.endlessroll.entities.Entity;
|
import de.frajul.endlessroll.entities.Entity;
|
||||||
|
import de.frajul.endlessroll.main.GameLog;
|
||||||
import de.frajul.endlessroll.main.game.Camera;
|
import de.frajul.endlessroll.main.game.Camera;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -54,13 +54,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentStart="true"/>
|
android:layout_alignParentStart="true"
|
||||||
|
android:layout_alignParentLeft="true"/>
|
||||||
|
|
||||||
<include
|
<include
|
||||||
android:id="@+id/goal_message_next_level"
|
android:id="@+id/goal_message_next_level"
|
||||||
layout="@layout/goal_message_levelbutton"
|
layout="@layout/goal_message_levelbutton"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<include
|
<include
|
||||||
android:id="@+id/settings_topbar"
|
android:id="@+id/settings_topbar"
|
||||||
layout="@layout/topbar"
|
layout="@layout/topbar"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="top"/>
|
android:layout_gravity="top"/>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<include
|
<include
|
||||||
android:id="@+id/shape_shop_topbar"
|
android:id="@+id/shape_shop_topbar"
|
||||||
layout="@layout/topbar"
|
layout="@layout/topbar"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
@ -71,7 +71,8 @@
|
|||||||
layout="@layout/shape_inspector"
|
layout="@layout/shape_inspector"
|
||||||
android:layout_width="@dimen/shape_inspector_width"
|
android:layout_width="@dimen/shape_inspector_width"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_alignParentEnd="true"/>
|
android:layout_alignParentEnd="true"
|
||||||
|
android:layout_alignParentRight="true"/>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_below="@+id/startscreen_gain_90_ep"
|
android:layout_below="@+id/startscreen_gain_90_ep"
|
||||||
android:layout_marginBottom="2dp"
|
android:layout_marginBottom="2dp"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
android:layout_marginLeft="10dp"
|
||||||
android:layout_marginTop="2dp"
|
android:layout_marginTop="2dp"
|
||||||
android:text="@string/start_screen_unlock_all_levels"
|
android:text="@string/start_screen_unlock_all_levels"
|
||||||
android:visibility="visible"/>
|
android:visibility="visible"/>
|
||||||
@ -32,9 +34,11 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
|
android:layout_alignParentStart="true"
|
||||||
android:layout_below="@+id/startscreen_to_gl_test_screen"
|
android:layout_below="@+id/startscreen_to_gl_test_screen"
|
||||||
android:layout_marginBottom="2dp"
|
android:layout_marginBottom="2dp"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
android:layout_marginLeft="10dp"
|
||||||
android:layout_marginTop="2dp"
|
android:layout_marginTop="2dp"
|
||||||
android:text="@string/start_screen_gain_90_ep"
|
android:text="@string/start_screen_gain_90_ep"
|
||||||
android:visibility="visible"/>
|
android:visibility="visible"/>
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
android:layout_height="45dp"
|
android:layout_height="45dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
|
android:layout_marginRight="10dp"
|
||||||
android:src="@drawable/tools_ramp_button"/>
|
android:src="@drawable/tools_ramp_button"/>
|
||||||
|
|
||||||
<include
|
<include
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<include
|
<include
|
||||||
android:id="@+id/toolshop_topbar"
|
android:id="@+id/toolshop_topbar"
|
||||||
layout="@layout/topbar"
|
layout="@layout/topbar"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentTop="true"/>
|
android:layout_alignParentTop="true"/>
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
android:layout_width="35dp"
|
android:layout_width="35dp"
|
||||||
android:layout_height="35dp"
|
android:layout_height="35dp"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginEnd="5dp"
|
android:layout_marginEnd="5dp"
|
||||||
android:layout_marginLeft="3dp"
|
android:layout_marginLeft="3dp"
|
||||||
@ -23,7 +24,9 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginEnd="20dp"
|
android:layout_marginEnd="20dp"
|
||||||
|
android:layout_marginRight="20dp"
|
||||||
android:layout_toEndOf="@id/topbar_back_button"
|
android:layout_toEndOf="@id/topbar_back_button"
|
||||||
|
android:layout_toRightOf="@id/topbar_back_button"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -51,6 +54,7 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_toEndOf="@id/topbar_levellayout"
|
android:layout_toEndOf="@id/topbar_levellayout"
|
||||||
|
android:layout_toRightOf="@id/topbar_levellayout"
|
||||||
android:background="@drawable/currency_star"/>
|
android:background="@drawable/currency_star"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
@ -70,6 +74,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_toEndOf="@+id/topbar_starview"
|
android:layout_toEndOf="@+id/topbar_starview"
|
||||||
|
android:layout_toRightOf="@+id/topbar_starview"
|
||||||
android:text="@string/placeholder_number"
|
android:text="@string/placeholder_number"
|
||||||
android:textSize="25sp"/>
|
android:textSize="25sp"/>
|
||||||
|
|
||||||
@ -79,6 +84,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_toEndOf="@+id/topbar_energyview"
|
android:layout_toEndOf="@+id/topbar_energyview"
|
||||||
|
android:layout_toRightOf="@+id/topbar_energyview"
|
||||||
android:text="@string/placeholder_number"
|
android:text="@string/placeholder_number"
|
||||||
android:textSize="25sp"/>
|
android:textSize="25sp"/>
|
||||||
|
|
||||||
@ -87,8 +93,10 @@
|
|||||||
android:layout_width="35dp"
|
android:layout_width="35dp"
|
||||||
android:layout_height="35dp"
|
android:layout_height="35dp"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginRight="10dp"
|
android:layout_marginRight="10dp"
|
||||||
|
android:layout_marginEnd="10dp"
|
||||||
android:background="@drawable/xml_selector_settingsbutton"/>
|
android:background="@drawable/xml_selector_settingsbutton"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
@ -98,7 +106,9 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginRight="20dp"
|
android:layout_marginRight="20dp"
|
||||||
|
android:layout_marginEnd="20dp"
|
||||||
android:layout_toLeftOf="@+id/topbar_settings"
|
android:layout_toLeftOf="@+id/topbar_settings"
|
||||||
|
android:layout_toStartOf="@+id/topbar_settings"
|
||||||
android:background="@drawable/xml_selector_toolshopbutton"/>
|
android:background="@drawable/xml_selector_toolshopbutton"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
@ -108,7 +118,9 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginRight="20dp"
|
android:layout_marginRight="20dp"
|
||||||
|
android:layout_marginEnd="20dp"
|
||||||
android:layout_toLeftOf="@+id/topbar_toolshop"
|
android:layout_toLeftOf="@+id/topbar_toolshop"
|
||||||
|
android:layout_toStartOf="@id/topbar_toolshop"
|
||||||
android:background="@drawable/xml_selector_shapeshopbutton"/>
|
android:background="@drawable/xml_selector_shapeshopbutton"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -116,6 +128,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignEnd="@+id/topbar_starcount"
|
android:layout_alignEnd="@+id/topbar_starcount"
|
||||||
|
android:layout_alignRight="@id/topbar_starcount"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:text="@string/placeholder_number"
|
android:text="@string/placeholder_number"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp"
|
||||||
@ -126,6 +139,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignEnd="@+id/topbar_energycount"
|
android:layout_alignEnd="@+id/topbar_energycount"
|
||||||
|
android:layout_alignRight="@id/topbar_energycount"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:text="@string/placeholder_number"
|
android:text="@string/placeholder_number"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp"
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
|
android:layout_marginRight="10dp"
|
||||||
android:text="@string/world_button_progress_placeholder"
|
android:text="@string/world_button_progress_placeholder"
|
||||||
android:textSize="20sp"/>
|
android:textSize="20sp"/>
|
||||||
|
|
||||||
@ -71,6 +72,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
|
android:layout_marginRight="10dp"
|
||||||
android:text="@string/world_button_progress_placeholder"
|
android:text="@string/world_button_progress_placeholder"
|
||||||
android:textSize="20sp"/>
|
android:textSize="20sp"/>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<include
|
<include
|
||||||
android:id="@+id/worlds_topbar"
|
android:id="@+id/worlds_topbar"
|
||||||
layout="@layout/topbar"
|
layout="@layout/topbar"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentTop="true"/>
|
android:layout_alignParentTop="true"/>
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
<string name="tutorial_leveled_up_to_toolshop">Glückwunsch! Du bist ein Level aufgestiegen! Jetzt gehe in den Toolshop</string>
|
<string name="tutorial_leveled_up_to_toolshop">Glückwunsch! Du bist ein Level aufgestiegen! Jetzt gehe in den Toolshop</string>
|
||||||
<string name="tutorial_switch_tools_two_neccessary">Für dieses Level müssen zwei Tools ausgerüstet sein</string>
|
<string name="tutorial_switch_tools_two_neccessary">Für dieses Level müssen zwei Tools ausgerüstet sein</string>
|
||||||
<string name="tutorial_switch_tools_switch">Um ein Tool auszuwählen, klicke einfach darauf</string>
|
<string name="tutorial_switch_tools_switch">Um ein Tool auszuwählen, klicke einfach darauf</string>
|
||||||
<string name="tutorial_place_ramp_gap">Setzte die Rampe vor die Lücke</string>
|
<string name="tutorial_place_ramp_gap">Setze die Rampe vor die Lücke</string>
|
||||||
<string name="credits_author">von Frajul</string>
|
<string name="credits_author">von Frajul</string>
|
||||||
<string name="credits_testers_title">TESTER</string>
|
<string name="credits_testers_title">TESTER</string>
|
||||||
<string name="credits_music_title">MUSIK</string>
|
<string name="credits_music_title">MUSIK</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user