Installer Redesign Files (Images, Layouts)

This commit is contained in:
Chris 2020-02-04 11:47:52 -05:00
parent 5c3fd9f593
commit 97a5d210ad
17 changed files with 170 additions and 65 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 B

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

View File

@ -4,38 +4,40 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/layout_background"
android:background="@drawable/community_center_right"
tools:context=".MainActivity">
<Button
android:id="@+id/start_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_width="128dp"
android:layout_height="59dp"
android:layout_marginBottom="8dp"
android:background="@color/colorPrimary"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="32dp"
android:background="@drawable/button"
android:text="Install"
android:textColor="@android:color/white"
android:textColor="@color/stardewText"
android:textSize="18sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.501"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView2"
app:layout_constraintVertical_bias="0.255" />
app:layout_constraintTop_toBottomOf="@+id/textView2"
app:layout_constraintVertical_bias="0.214"/>
<TextView
android:id="@+id/textView"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_height="47dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="64dp"
android:layout_marginEnd="16dp"
android:background="@drawable/text_box"
android:text="@string/notes"
android:textAlignment="center"
android:textColor="@android:color/black"
android:gravity="center"
android:textColor="@color/stardewText"
android:textSize="16sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
@ -46,28 +48,18 @@
android:id="@+id/textView2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
android:background="@drawable/text_box"
android:text="@string/base_game_required"
android:textAlignment="center"
android:textColor="@android:color/black"
android:gravity="center"
android:textColor="@color/stardewText"
android:textSize="16sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView"/>
<ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="36dp"
android:layout_marginEnd="8dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView2"
app:srcCompat="@mipmap/ic_launcher_foreground" />
</android.support.constraint.ConstraintLayout>

View File

@ -2,7 +2,7 @@
<android.support.v7.widget.RecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/recycler_view"
android:background="@drawable/layout_background"
android:background="@drawable/community_center_actual_right"
android:layout_width="match_parent"
android:layout_height="match_parent">

View File

@ -10,19 +10,19 @@
<Button
android:id="@+id/textView3"
android:layout_width="0dp"
android:layout_height="36dp"
android:layout_height="49dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:background="@color/colorAccent"
android:background="@drawable/text_box"
android:clickable="false"
android:drawableRight="@drawable/arrow"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:text="TextView"
android:drawableRight="@drawable/arrow"
android:clickable="false"
android:textAlignment="viewStart"
android:textAllCaps="false"
android:textColor="@android:color/white"
android:textColor="@color/stardewText"
android:textSize="18sp"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/save_button"
@ -39,11 +39,11 @@
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:background="@color/colorPrimary"
android:background="@drawable/button"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:text="Save"
android:textColor="@android:color/background_light"
android:textColor="@color/stardewText"
android:visibility="invisible"
app:layout_constraintEnd_toStartOf="@+id/cancel_button"
app:layout_constraintHorizontal_bias="0.0"
@ -56,11 +56,11 @@
android:layout_height="37dp"
android:layout_marginEnd="16dp"
android:layout_marginTop="16dp"
android:background="@color/colorPrimary"
android:background="@drawable/button"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:text="Cancel"
android:textColor="@android:color/background_light"
android:textColor="@color/stardewText"
android:visibility="invisible"
app:layout_constraintBottom_toTopOf="@+id/editText"
app:layout_constraintEnd_toEndOf="parent"
@ -75,11 +75,14 @@
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:background="@android:color/white"
android:background="@drawable/text_box"
android:ems="10"
android:inputType="textMultiLine"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:textColor="@color/stardewText"
android:textColorLink="@color/stardewText"
android:textCursorDrawable="@null"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"

View File

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/community_center_farthest_right">
<TextView
android:id="@+id/github_textview"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="24dp"
android:background="@drawable/text_box"
android:gravity="center"
android:text="@string/github_message"
android:textAlignment="center"
android:textColor="@color/stardewText"
android:textSize="14sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
<Button
android:id="@+id/github_button"
android:layout_width="113dp"
android:layout_height="54dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="32dp"
android:background="@drawable/button"
android:text="GitHub"
android:textColor="@color/stardewText"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/github_textview"/>
<TextView
android:id="@+id/compat_textview"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:background="@drawable/text_box"
android:gravity="center"
android:text="@string/mod_compat_message"
android:textAlignment="center"
android:textColor="@color/stardewText"
android:textSize="14sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/github_button"/>
<Button
android:id="@+id/compat_button"
android:layout_width="113dp"
android:layout_height="54dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="24dp"
android:background="@drawable/button"
android:text="Compat"
android:textColor="@color/stardewText"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.501"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/compat_textview"/>
<TextView
android:id="@+id/nexus_textview"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:background="@drawable/text_box"
android:gravity="center"
android:text="@string/nexus_message"
android:textAlignment="center"
android:textColor="@color/stardewText"
android:textSize="14sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/compat_button"/>
<Button
android:id="@+id/nexus_button"
android:layout_width="113dp"
android:layout_height="54dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:background="@drawable/button"
android:text="Nexus"
android:textColor="@color/stardewText"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.501"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/nexus_textview"/>
</android.support.constraint.ConstraintLayout>

View File

@ -2,24 +2,15 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/stardew_14_warning"
android:layout_marginLeft="16dp"
android:layout_marginTop="8dp"
android:layout_marginRight="16dp"
android:layout_marginBottom="4dp"
android:textStyle="bold"/>
android:background="@drawable/text_box">
<ProgressBar
android:id="@+id/progressBar2"
style="?android:attr/progressBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:progressTint="@color/stardewDarkTan"/>
<TextView
android:id="@+id/install_message"
@ -30,7 +21,7 @@
android:layout_marginRight="16dp"
android:layout_marginBottom="4dp"
android:text=""
android:textColor="@android:color/black" />
android:textColor="@color/stardewText" />
<ProgressBar
android:id="@+id/progressBar"
@ -40,5 +31,6 @@
android:layout_marginTop="0dp"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_marginBottom="16dp"/>
android:layout_marginBottom="16dp"
android:progressTint="@color/stardewDarkTan"/>
</LinearLayout>

View File

@ -10,10 +10,11 @@
android:id="@+id/tab_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
android:background="@color/stardewLightTan"
android:minHeight="?actionBarSize"
app:tabIndicatorColor="@color/colorAccent"
app:tabSelectedTextColor="@android:color/background_light">
app:tabIndicatorColor="@color/stardewDarkTan"
app:tabSelectedTextColor="@color/stardewText"
app:tabTextColor="@color/stardewDarkTan">
</android.support.design.widget.TabLayout>
<android.support.v4.view.ViewPager

View File

@ -4,4 +4,7 @@
<color name="colorPrimaryDark">#00574b</color>
<color name="colorAccent">#d81b60</color>
<color name="colorBackground">#01AEEF</color>
<color name="stardewLightTan">#FFd284</color>
<color name="stardewDarkTan">#b14e05</color>
<color name="stardewText">#221122</color>
</resources>

View File

@ -6,7 +6,7 @@
<string name="finished">Finished!</string>
<string name="install">Error in opening file!</string>
<string name="permission">Permission Granted</string>
<string name="notes">Notes: Game version 1.331 is required.</string>
<string name="notes">Notes: Game version 1.4.4.122 is required.</string>
<string name="base_game_required">The base game is required when updating/installing.</string>
<string name="installing_pufferchicks">Installing pufferchicks...</string>
<string name="install_milk_cows">Milking the cows...</string>
@ -17,5 +17,8 @@
<string name="install_dino_egg">Digging for dino eggs...</string>
<string name="install_rock_crab">That rock was a crab!?...</string>
<string name="stardew_14_warning">"WARNING: many mod updates are for Stardew Valley 1.4, which is not available on Android yet. Make sure to back up the previous mod version before attempting to install updates.</string>
<string name="github_message">The GitHub button leads to the latest release download page.</string>
<string name="mod_compat_message">The Compat button leads to SMAPI\'s Mod Compatibility page.</string>
<string name="nexus_message">The Nexus button leads to Stardew Valley\'s Nexus page.</string>
<string name="blank"> </string>
</resources>

View File

@ -1,11 +1,12 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
<style name="AppTheme" parent="Theme.AppCompat.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<!--<item name="colorPrimaryBack">@color/colorPrimary</item> -->
<item name="colorPrimary">@color/stardewDarkTan</item>
<item name="colorPrimaryDark">@color/stardewDarkTan</item>
<item name="colorAccent">@color/stardewLightTan</item>
</style>
</resources>