mirror of
https://github.com/Aviortheking/Hangman.git
synced 2024-12-19 18:20:54 +00:00
Yolo
This commit is contained in:
parent
b76ad2b383
commit
9aba2c63fe
2
.idea/modules.xml
generated
2
.idea/modules.xml
generated
@ -2,8 +2,8 @@
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/Hangman-game.iml" filepath="$PROJECT_DIR$/Hangman-game.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/hangman-game.iml" filepath="$PROJECT_DIR$/hangman-game.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -4,7 +4,7 @@ android {
|
||||
buildToolsVersion "27.0.3"
|
||||
defaultConfig {
|
||||
applicationId "net.DeltaWings.Android.Hangman"
|
||||
minSdkVersion 19
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 27
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
@ -11,6 +11,8 @@ import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.animation.Animation;
|
||||
import android.view.animation.AnimationUtils;
|
||||
import android.widget.Toast;
|
||||
|
||||
import net.DeltaWings.Android.Hangman.settings.SettingActivity;
|
||||
|
12
app/src/main/res/anim/bounce.xml
Normal file
12
app/src/main/res/anim/bounce.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<scale
|
||||
android:duration="2000"
|
||||
android:fromXScale="0.3"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="0.3"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%" />
|
||||
</set>
|
3
app/src/main/res/anim/cycle.xml
Normal file
3
app/src/main/res/anim/cycle.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<cycleInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:cycles="4" />
|
9
app/src/main/res/anim/shake.xml
Normal file
9
app/src/main/res/anim/shake.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:duration="100"
|
||||
android:fromDegrees="-5"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:repeatCount="10"
|
||||
android:repeatMode="reverse"
|
||||
android:toDegrees="5" />
|
5
app/src/main/res/drawable/btn_light.xml
Normal file
5
app/src/main/res/drawable/btn_light.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/ripple" />
|
||||
</layer-list>
|
18
app/src/main/res/drawable/ripple.xml
Normal file
18
app/src/main/res/drawable/ripple.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
|
||||
android:color="?attr/colorAccent"
|
||||
android:min
|
||||
>
|
||||
|
||||
<item>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<corners android:radius="6dp"/>
|
||||
|
||||
<solid android:color="?attr/colorPrimary"/>
|
||||
</shape>
|
||||
</item>
|
||||
</ripple>
|
@ -40,8 +40,10 @@
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="64dp"
|
||||
android:layout_weight="1"
|
||||
android:background='@drawable/ripple'
|
||||
android:elevation="0dp"
|
||||
android:text="@string/singleplayer"
|
||||
android:textColor="@color/White"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView"
|
||||
tools:layout_editor_absoluteX="142dp"/>
|
||||
@ -55,6 +57,8 @@
|
||||
android:layout_marginTop="64dp"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/multiplayer"
|
||||
android:background='@drawable/ripple'
|
||||
android:textColor="@color/White"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat"
|
||||
app:layout_constraintTop_toBottomOf="@+id/singleplayerButton"
|
||||
tools:layout_editor_absoluteX="146dp"/>
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#062988</color>
|
||||
<color name="colorPrimaryDark">#303F9F</color>
|
||||
<color name="colorAccent">#111984</color>
|
||||
<color name="Blue">#2196f3</color>
|
||||
<color name="DarkBlue">#0d47a1</color>
|
||||
<color name="Indigo">#3f51b5</color>
|
||||
|
@ -28,6 +28,7 @@
|
||||
|
||||
|
||||
<attr name="drawable_people" format="reference"/>
|
||||
<attr name="colorPrimary" format="reference"/>
|
||||
<attr name="drawable_person" format="reference"/>
|
||||
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user