[prjkt.io] balrajs99:
Sorry for late reply, my bad. Attached log for Settings. To reproduce the error I used Mono theme which contains changes in layout in Settings overlay.

And here is how changed a layout file in youtube overlay.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:paddingLeft="@*com.google.android.youtube:dimen/default_content_padding" android:paddingRight="@*com.google.android.youtube:dimen/default_content_padding" android:layout_width="fill_parent" android:layout_height="@*com.google.android.youtube:dimen/bottom_sheet_list_item_height" _xmlns:android="http://schemas.android.com/apk/res/android" xmlns:_xmlns="xmlns"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_vertical" android:id="@*com.google.android.youtube:id/list_item_icon_primary" android:layout_width="@*com.google.android.youtube:dimen/bottom_sheet_list_icon_size" android:layout_height="@*com.google.android.youtube:dimen/bottom_sheet_list_icon_size" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:contentDescription="@null" android:layout_alignParentStart="true" />
<TextView android:gravity="center_vertical" android:layout_gravity="center_vertical" android:id="@*com.google.android.youtube:id/list_item_text" android:paddingLeft="@*com.google.android.youtube:dimen/bottom_sheet_list_text_padding" android:layout_width="wrap_content" android:layout_height="@*com.google.android.youtube:dimen/bottom_sheet_list_item_height" android:layout_marginLeft="@*com.google.android.youtube:dimen/bottom_sheet_list_icon_size" android:layout_centerVertical="true" android:textAlignment="viewStart" android:paddingStart="@*com.google.android.youtube:dimen/bottom_sheet_list_text_padding" android:layout_marginStart="@*com.google.android.youtube:dimen/bottom_sheet_list_icon_size" style="@*com.google.android.youtube:style/BottomSheetListText" />
<TextView android:textColor="#ffdddddd" android:gravity="center_vertical" android:layout_gravity="center_vertical" android:id="@*com.google.android.youtube:id/list_item_text_secondary_separator" android:layout_width="@*com.google.android.youtube:dimen/bottom_sheet_list_text_padding" android:layout_height="@*com.google.android.youtube:dimen/bottom_sheet_list_item_height" android:layout_toRightOf="@*com.google.android.youtube:id/list_item_text" android:layout_centerVertical="true" android:textAlignment="center" android:layout_toEndOf="@*com.google.android.youtube:id/list_item_text" />
<TextView android:textSize="16.0sp" android:textColor="#ffdddddd" android:gravity="center_vertical" android:layout_gravity="center_vertical" android:id="@*com.google.android.youtube:id/list_item_text_secondary" android:layout_width="wrap_content" android:layout_height="@*com.google.android.youtube:dimen/bottom_sheet_list_item_height" android:layout_toRightOf="@*com.google.android.youtube:id/list_item_text_secondary_separator" android:layout_centerVertical="true" android:textAlignment="viewStart" android:layout_toEndOf="@*com.google.android.youtube:id/list_item_text_secondary_separator" />
</RelativeLayout>

0

My theme app is here.

To overcome resources not found using above code, I tried putting ids,styles dimens and attributes everything in my theme, but after applying, when I open youtube and click on the part of the layout I changed, it just force stops.

This happens to me with every app in which I changed the layout.

PS: I'm using an old version of Substratum

( 915 )

and it shows that Theme platform: [projekt.] OMS for some reason, but in latest version it falls back to legacy mode. To skip rebooting for testing my theme, I'm using this old version. Am I doing something wrong here? :rolleyes: