aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/res/layout/item_custom_theme_switch_item.xml
blob: 61ae102f85a51d95026a32eb3c2693eec0a68a6b (plain) (tree)





















                                                                                     

                                                     






                                                                                     

                                                     


                   
                                                              





                                                                         
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="16dp"
    android:clickable="true"
    android:focusable="true"
    android:background="?attr/selectableItemBackground">

    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_weight="1"
        android:layout_marginStart="56dp"
        android:layout_marginEnd="16dp">

        <TextView
            android:id="@+id/theme_item_name_text_view_item_custom_theme_switch_item"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="?attr/primaryTextColor"
            android:textSize="?attr/font_16"
            android:fontFamily="?attr/font_family" />

        <TextView
            android:id="@+id/theme_item_info_text_view_item_custom_theme_switch_item"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="4dp"
            android:textColor="?attr/secondaryTextColor"
            android:textSize="?attr/font_default"
            android:fontFamily="?attr/font_family" />

    </LinearLayout>

    <com.google.android.material.materialswitch.MaterialSwitch
        android:id="@+id/theme_item_switch_item_custom_theme_switch_item"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical" />

</LinearLayout>