apkfuckery/com.discord/res/layout-v22/view_steps.xml

11 lines
1.9 KiB
XML
Raw Normal View History

2020-11-12 02:11:44 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.utilities.simple_pager.SimplePager android:id="@id/steps_viewpager" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_above="@id/steps_button_container" android:layout_below="@id/steps_close" />
<ImageView android:id="@id/steps_close" android:layout_marginTop="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" android:foreground="?selectableItemBackgroundBorderless" android:src="?ic_close_24dp" android:layout_alignParentTop="true" android:layout_alignParentRight="true" android:contentDescription="@string/close" android:layout_marginVertical="16.0dip" style="@style/UiKit.ImageView" />
<LinearLayout android:id="@id/steps_button_container" android:visibility="gone" android:layout_margin="16.0dip" android:layout_alignParentBottom="true" style="@style/UiKit.ViewGroup.LinearLayout">
<com.discord.views.LoadingButton android:id="@id/steps_done" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:visibility="gone" android:text="@string/done" android:paddingHorizontal="0.0dip" app:lb_progress_color="@color/white" style="@style/UiKit.Material.Button" />
<com.google.android.material.button.MaterialButton android:id="@id/steps_next" android:text="@string/next" style="@style/UiKit.Material.Button" />
<TextView android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/steps_cancel" android:background="?selectableItemBackground" android:paddingTop="8.0dip" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_marginTop="4.0dip" android:text="@string/cancel" style="@style/UiKit.TextView.Large.SingleLine" />
</LinearLayout>
</RelativeLayout>