Skip to content

RTL layoutDirection does not show inner views #2

@yaghoob

Description

@yaghoob

Hi,
GroupBox is one of the Nostalgia view components for legacy .Net developers like me!
I use your library proudly, but I have a little problem.

This is my code:

<ir.programmerplus.groupbox.GroupBoxLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_margin="5dp"
                android:layoutDirection="rtl"
                android:padding="4dp"
                app:borderColor="@color/gray"
                app:borderCornerRadius="8dp"
                app:borderStrokeWidth="1dp"
                app:labelText="بازیگران"
                app:labelTextSize="10dp">
                
                     <RelativeLayout
                            android:id="@+id/row_cast"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_marginTop="8dp">
                            
                                          <androidx.recyclerview.widget.RecyclerView
                                              android:id="@+id/list_cast"
                                              android:layout_width="match_parent"
                                              android:layout_height="wrap_content"/>
                                              
                        </RelativeLayout>
            </ir.programmerplus.groupbox.GroupBoxLayout>

Unfortunately when i add android:layoutDirection="rtl" to the groupbox, whole content of recyclerview disappears!
Also i added android:supportsRtl="true" to the Manifest...
The amazing issue is that, items can scroll or focus but it seems be invisible!

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions