Fixed Issue#9 . Now correctly works on RTL locals.
This commit is contained in:
parent
1362f3bbed
commit
7e3f4f28ba
2 changed files with 6 additions and 0 deletions
|
@ -205,6 +205,11 @@ public class SudokuFieldLayout extends RelativeLayout implements IHighlightChang
|
|||
public void dispatchDraw(Canvas canvas) {
|
||||
super.dispatchDraw(canvas);
|
||||
|
||||
|
||||
if(gameController == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
// draw error list
|
||||
p = new Paint(Paint.ANTI_ALIAS_FLAG);
|
||||
p.setStyle(Paint.Style.STROKE);
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<org.secuso.privacyfriendlysudoku.ui.view.SudokuFieldLayout
|
||||
android:id="@+id/sudokuLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layoutDirection="ltr"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="true"
|
||||
android:gravity="center" />
|
||||
|
|
Loading…
Reference in a new issue