42 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
 | |
|     android:id="@+id/buttonPanel"
 | |
|     android:layout_width="match_parent"
 | |
|     android:layout_height="wrap_content"
 | |
|     android:fillViewport="true"
 | |
|     android:scrollIndicators="bottom|top"
 | |
|     style="?attr/buttonBarStyle">
 | |
|     <androidx.appcompat.widget.ButtonBarLayout
 | |
|         android:gravity="bottom"
 | |
|         android:orientation="horizontal"
 | |
|         android:paddingLeft="?attr/dialogPreferredPadding"
 | |
|         android:paddingTop="@dimen/m3_alert_dialog_action_top_padding"
 | |
|         android:paddingRight="?attr/dialogPreferredPadding"
 | |
|         android:paddingBottom="@dimen/m3_alert_dialog_action_bottom_padding"
 | |
|         android:layout_width="match_parent"
 | |
|         android:layout_height="wrap_content"
 | |
|         android:layoutDirection="locale">
 | |
|         <Button
 | |
|             android:id="@android:id/button3"
 | |
|             android:layout_width="wrap_content"
 | |
|             android:layout_height="wrap_content"
 | |
|             style="?attr/buttonBarNeutralButtonStyle"/>
 | |
|         <android.widget.Space
 | |
|             android:id="@+id/spacer"
 | |
|             android:visibility="?attr/materialAlertDialogButtonSpacerVisibility"
 | |
|             android:layout_width="0dp"
 | |
|             android:layout_height="0dp"
 | |
|             android:layout_weight="1"/>
 | |
|         <Button
 | |
|             android:id="@android:id/button2"
 | |
|             android:layout_width="wrap_content"
 | |
|             android:layout_height="wrap_content"
 | |
|             style="?attr/buttonBarNegativeButtonStyle"/>
 | |
|         <Button
 | |
|             android:id="@android:id/button1"
 | |
|             android:layout_width="wrap_content"
 | |
|             android:layout_height="wrap_content"
 | |
|             style="?attr/buttonBarPositiveButtonStyle"/>
 | |
|     </androidx.appcompat.widget.ButtonBarLayout>
 | |
| </ScrollView>
 |