mirror of
https://github.com/rafaelvcaetano/melonDS-android.git
synced 2024-11-26 23:20:40 +00:00
Fix default layout being incorrectly displayed in RTL languages
This commit is contained in:
parent
8b8e7d3fd6
commit
5a45d2cd99
@ -18,6 +18,10 @@ open class LayoutView(context: Context, attrs: AttributeSet?) : FrameLayout(cont
|
||||
protected lateinit var viewBuilderFactory: LayoutComponentViewBuilderFactory
|
||||
protected val views = mutableMapOf<LayoutComponent, LayoutComponentView>()
|
||||
|
||||
init {
|
||||
layoutDirection = LAYOUT_DIRECTION_LTR
|
||||
}
|
||||
|
||||
fun setLayoutComponentViewBuilderFactory(factory: LayoutComponentViewBuilderFactory) {
|
||||
viewBuilderFactory = factory
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user