Permalink
Browse files

Front: Implemented layout editor

  • Loading branch information...
Gillou68310 committed Jul 16, 2015
1 parent 88dd98e commit 9b538c746ced1d54ba08d31a0d599bb2f6ba9b4d
Showing with 773 additions and 846 deletions.
  1. +156 −0 res/layout/layout_editor_popup.xml
  2. +165 −160 res/layout/touchscreen_profile_activity_popup.xml
  3. +23 −0 res/menu/touchscreen_profile_activity.xml
  4. +0 −18 res/values-ar-rSA/strings.xml
  5. +0 −18 res/values-ca/strings.xml
  6. +0 −22 res/values-de/strings.xml
  7. +0 −18 res/values-el/strings.xml
  8. +0 −22 res/values-en-rGB/strings.xml
  9. +0 −22 res/values-es/strings.xml
  10. +0 −22 res/values-fi/strings.xml
  11. +0 −22 res/values-fr/strings.xml
  12. +0 −18 res/values-gl/strings.xml
  13. +0 −22 res/values-hr/strings.xml
  14. +0 −8 res/values-hu/strings.xml
  15. +0 −18 res/values-it/strings.xml
  16. +0 −18 res/values-ja/strings.xml
  17. +0 −18 res/values-nl/strings.xml
  18. +0 −22 res/values-pl/strings.xml
  19. +0 −25 res/values-pt-rBR/strings.xml
  20. +0 −22 res/values-pt/strings.xml
  21. +0 −18 res/values-ru/strings.xml
  22. +0 −16 res/values-sv/strings.xml
  23. +0 −15 res/values-tr/strings.xml
  24. +0 −68 res/values/arrays.xml
  25. +14 −26 res/values/strings.xml
  26. +0 −29 res/xml/preferences_global.xml
  27. +0 −8 src/paulscode/android/mupen64plusae/SplashActivity.java
  28. +49 −0 src/paulscode/android/mupen64plusae/dialog/PushButton.java
  29. +5 −5 src/paulscode/android/mupen64plusae/game/GameLifecycleHandler.java
  30. +4 −4 src/paulscode/android/mupen64plusae/jni/NativeConfigFiles.java
  31. +93 −2 src/paulscode/android/mupen64plusae/persistent/GamePrefs.java
  32. +0 −134 src/paulscode/android/mupen64plusae/persistent/GlobalPrefs.java
  33. +0 −3 src/paulscode/android/mupen64plusae/persistent/GlobalPrefsActivity.java
  34. +264 −23 src/paulscode/android/mupen64plusae/profile/TouchscreenProfileActivity.java
@@ -0,0 +1,156 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="5dp" >
<RelativeLayout
android:id="@+id/layoutPosition"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<Button
android:id="@+id/buttonTop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:text="@string/touchscreenProfileActivity_layoutTop"
tools:ignore="HardcodedText,RtlHardcoded" />
<Button
android:id="@+id/buttonCenter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:text="@string/touchscreenProfileActivity_layoutCenter"
tools:ignore="HardcodedText,RtlHardcoded" />
<Button
android:id="@+id/buttonBottom"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="@string/touchscreenProfileActivity_layoutBottom"
tools:ignore="HardcodedText,RtlHardcoded" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/layoutQuality"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<Button
android:id="@+id/buttonQualityDown"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:text="-"
tools:ignore="HardcodedText,RtlHardcoded" />
<Button
android:id="@+id/buttonQualityUp"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="+"
tools:ignore="HardcodedText,RtlHardcoded" />
<LinearLayout
android:id="@+id/seekgroupQuality"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="vertical"
android:paddingBottom="5dp"
android:paddingLeft="50dp"
android:paddingRight="50dp"
android:paddingTop="5dp" >
<TextView
android:id="@+id/textQuality"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/touchscreenProfileActivity_layoutQuality"
android:textIsSelectable="false" />
<SeekBar
android:id="@+id/seekbarQuality"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:max="100"
android:progress="50" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout
android:id="@+id/layoutZoom"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<Button
android:id="@+id/buttonZoomOut"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:text="-"
tools:ignore="HardcodedText,RtlHardcoded" />
<Button
android:id="@+id/buttonZoomIn"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="+"
tools:ignore="HardcodedText,RtlHardcoded" />
<LinearLayout
android:id="@+id/seekgroupZoom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="vertical"
android:paddingBottom="5dp"
android:paddingLeft="50dp"
android:paddingRight="50dp"
android:paddingTop="5dp" >
<TextView
android:id="@+id/textZoom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/touchscreenProfileActivity_layoutZoom"
android:textIsSelectable="false" />
<SeekBar
android:id="@+id/seekbarZoom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:max="150"
android:progress="50" />
</LinearLayout>
</RelativeLayout>
<CheckBox
android:id="@+id/checkBox_reverseOrientation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/touchscreenProfileActivity_reverseOrientation" />
</LinearLayout>
</ScrollView>
Oops, something went wrong.

0 comments on commit 9b538c7

Please sign in to comment.