apkfuckery/com.discord/res/layout/integration_sync_settings.xml

14 lines
2.1 KiB
XML
Raw Normal View History

2020-05-17 12:40:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/UiKit.ViewGroup.Page.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:id="@id/edit_integration_sync_container" android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_medium" android:focusable="true" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/drawable_icon_sync_integration" android:layout_centerVertical="true" android:contentDescription="@string/sample_empty_string" android:layout_alignParentEnd="true" />
<TextView android:id="@id/edit_integration_subscriber_count" style="@style/UiKit.TextView" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:id="@id/edit_integration_last_sync_time" android:layout_below="@id/edit_integration_subscriber_count" style="@style/UiKit.TextView" />
</RelativeLayout>
<View android:layout_marginStart="@dimen/uikit_spacing_large" style="@style/UiKit.Divider" />
<RelativeLayout android:id="@id/edit_integration_synced_role_container" android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_medium" android:focusable="true" android:clickable="true" style="@style/UiKit.ViewGroup.RelativeLayout">
<TextView android:text="@string/form_label_synced_role" android:layout_centerVertical="true" android:layout_toStartOf="@id/edit_integration_synced_role" android:layout_alignParentStart="true" style="@style/UiKit.TextView" />
<TextView android:id="@id/edit_integration_synced_role" android:layout_centerVertical="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
</RelativeLayout>
</LinearLayout>