apkfuckery/com.discord/res/layout/widget_settings_games.xml
2020-11-12 02:11:44 +00:00

22 lines
No EOL
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
<androidx.appcompat.widget.Toolbar app:navigationIcon="?ic_action_bar_back" app:subtitle="@string/user_settings" app:title="@string/game_activity" style="@style/AppTheme.Toolbar" />
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
<LinearLayout android:padding="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:id="@id/settings_games_detection_section" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:id="@id/settings_games_playing_container" android:background="@drawable/drawable_button_green" android:padding="16.0dip" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:elevation="@dimen/app_elevation" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<ImageView android:id="@id/settings_games_playing_icon" android:layout_width="40.0dip" android:layout_height="40.0dip" android:contentDescription="@string/playing_game" android:layout_marginEnd="8.0dip" android:elevation="8.0dip" style="@style/UiKit.ImageView" />
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textColor="@color/primary_100" android:id="@id/settings_games_playing_title" style="@style/UiKit.TextView.Bold" />
<TextView android:textColor="@color/primary_200" android:id="@id/settings_games_playing_subtitle" style="@style/UiKit.TextView" />
</LinearLayout>
</LinearLayout>
<com.discord.views.CheckedSetting android:id="@id/settings_games_track_cs" app:cs_text="@string/allow_game_detection_mobile" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
</LinearLayout>
<com.discord.views.CheckedSetting android:id="@id/settings_games_status_cs" app:cs_subtext="@string/show_current_game_desc" app:cs_text="@string/show_current_game" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>