Convert popup submenus to scrollable layouts
This commit is contained in:
parent
af7fbf47c0
commit
81707ea383
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/menuConfig"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -126,4 +126,4 @@
|
|||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/menuDebug"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -94,4 +94,4 @@
|
|||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
|
@ -17,6 +17,7 @@ import android.widget.Button;
|
|||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.PopupWindow;
|
||||
import android.widget.ScrollView;
|
||||
import android.widget.TableRow;
|
||||
import android.widget.TextView;
|
||||
import at.technikum.mti.fancycoverflow.FancyCoverFlow;
|
||||
|
@ -126,8 +127,7 @@ public class OnScreenMenu {
|
|||
setBackgroundDrawable(null);
|
||||
|
||||
View shell = mContext.getLayoutInflater().inflate(R.layout.menu_popup_debug, null);
|
||||
|
||||
LinearLayout hlay = (LinearLayout) shell.findViewById(R.id.menuDebug);
|
||||
ScrollView hlay = (ScrollView) shell.findViewById(R.id.menuDebug);
|
||||
|
||||
OnClickListener clickBack = new OnClickListener() {
|
||||
public void onClick(View v) {
|
||||
|
@ -201,8 +201,7 @@ public class OnScreenMenu {
|
|||
setBackgroundDrawable(null);
|
||||
|
||||
View shell = mContext.getLayoutInflater().inflate(R.layout.menu_popup_config, null);
|
||||
|
||||
final LinearLayout hlay = (LinearLayout) shell.findViewById(R.id.menuConfig);
|
||||
final ScrollView hlay = (ScrollView) shell.findViewById(R.id.menuConfig);
|
||||
|
||||
OnClickListener clickBack = new OnClickListener() {
|
||||
public void onClick(View v) {
|
||||
|
|
Loading…
Reference in New Issue