Implement Android app with improved features: 1. Enhanced swipe controls for smoother movement 2. Improved 3D rotation with visual effects 3. Updated UI to match web app style

This commit is contained in:
Corey 2025-03-26 00:38:43 -04:00
parent 210a518ad5
commit c76cde0f1f
103 changed files with 4180 additions and 357 deletions

View file

@ -0,0 +1,119 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/options"
android:textAlignment="center"
android:textColor="@color/cyan"
android:textSize="24sp"
android:textStyle="bold"
android:layout_marginBottom="16dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginBottom="16dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/enable_3d_effects"
android:textColor="@color/white"
android:textSize="16sp" />
<Switch
android:id="@+id/switch3dEffects"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginBottom="16dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/enable_spin_animations"
android:textColor="@color/white"
android:textSize="16sp" />
<Switch
android:id="@+id/switchSpinAnimations"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/animation_speed"
android:textColor="@color/white"
android:textSize="16sp"
android:layout_marginBottom="8dp" />
<SeekBar
android:id="@+id/seekBarAnimationSpeed"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:max="100"
android:progress="50"
android:layout_marginBottom="16dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginBottom="16dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/starting_level"
android:textColor="@color/white"
android:textSize="16sp" />
<NumberPicker
android:id="@+id/numberPickerLevel"
android:layout_width="wrap_content"
android:layout_height="100dp"
android:theme="@style/NumberPickerTheme" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="end">
<Button
android:id="@+id/btnCloseOptions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/close"
android:layout_marginEnd="8dp" />
<Button
android:id="@+id/btnApplyOptions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/apply" />
</LinearLayout>
</LinearLayout>