Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request #9439 from Darwin-Rist/master
Added Opacity settings for touchscreen controls
- Loading branch information
Showing
10 changed files
with
168 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
102 changes: 102 additions & 0 deletions
102
Source/Android/app/src/main/res/layout/dialog_input_adjust.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
| xmlns:tools="http://schemas.android.com/tools" | ||
| android:orientation="vertical" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content"> | ||
|
|
||
| <RelativeLayout | ||
| android:id="@+id/input_scale" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content" | ||
| android:layout_alignParentStart="true" | ||
| android:layout_alignParentTop="true" | ||
| android:clickable="false"> | ||
|
|
||
| <TextView | ||
| android:id="@+id/input_scale_name" | ||
| style="@style/TextAppearance.AppCompat.Headline" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content" | ||
| android:layout_alignParentStart="true" | ||
| android:layout_alignParentTop="true" | ||
| android:layout_marginStart="@dimen/spacing_large" | ||
| android:layout_marginTop="@dimen/spacing_large" | ||
| android:layout_marginEnd="@dimen/spacing_large" | ||
| android:text="@string/emulation_control_scale" | ||
| android:textSize="16sp" | ||
| tools:text="@string/overclock_enable" /> | ||
|
|
||
| <TextView | ||
| android:id="@+id/input_scale_value" | ||
| android:layout_width="40dp" | ||
| android:layout_height="wrap_content" | ||
| android:layout_below="@+id/input_scale_name" | ||
| android:layout_alignParentEnd="true" | ||
| android:layout_marginStart="@dimen/spacing_small" | ||
| android:layout_marginTop="@dimen/spacing_medlarge" | ||
| android:layout_marginEnd="@dimen/spacing_large" | ||
| android:layout_marginBottom="@dimen/spacing_large" | ||
| tools:text="99%" | ||
| android:textAlignment="textEnd"/> | ||
|
|
||
| <SeekBar | ||
| android:id="@+id/input_scale_seekbar" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content" | ||
| android:layout_below="@+id/input_scale_name" | ||
| android:layout_alignParentStart="true" | ||
| android:layout_marginTop="@dimen/spacing_medlarge" | ||
| android:layout_marginBottom="@dimen/spacing_large" | ||
| android:layout_toStartOf="@id/input_scale_value" /> | ||
|
|
||
| </RelativeLayout> | ||
|
|
||
| <RelativeLayout | ||
| android:id="@+id/input_opacity" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content" | ||
| android:layout_below="@id/input_scale" | ||
| android:layout_alignParentStart="true" | ||
| android:clickable="false"> | ||
|
|
||
| <TextView | ||
| android:id="@+id/input_opacity_name" | ||
| style="@style/TextAppearance.AppCompat.Headline" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content" | ||
| android:layout_alignParentStart="true" | ||
| android:layout_alignParentTop="true" | ||
| android:layout_marginStart="@dimen/spacing_large" | ||
| android:layout_marginTop="@dimen/spacing_large" | ||
| android:layout_marginEnd="@dimen/spacing_large" | ||
| android:text="@string/emulation_control_opacity" | ||
| android:textSize="16sp" | ||
| tools:text="@string/overclock_enable" /> | ||
|
|
||
| <TextView | ||
| android:id="@+id/input_opacity_value" | ||
| android:layout_width="40dp" | ||
| android:layout_height="wrap_content" | ||
| android:layout_below="@+id/input_opacity_name" | ||
| android:layout_alignParentEnd="true" | ||
| android:layout_marginStart="@dimen/spacing_small" | ||
| android:layout_marginTop="@dimen/spacing_medlarge" | ||
| android:layout_marginEnd="@dimen/spacing_large" | ||
| android:layout_marginBottom="@dimen/spacing_large" | ||
| tools:text="99%" | ||
| android:textAlignment="textEnd"/> | ||
|
|
||
| <SeekBar | ||
| android:id="@+id/input_opacity_seekbar" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content" | ||
| android:layout_below="@+id/input_opacity_name" | ||
| android:layout_alignParentStart="true" | ||
| android:layout_marginTop="@dimen/spacing_medlarge" | ||
| android:layout_marginBottom="@dimen/spacing_large" | ||
| android:layout_toStartOf="@id/input_opacity_value" /> | ||
|
|
||
| </RelativeLayout> | ||
|
|
||
| </RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters