Project

General

Profile

« Previous | Next » 

Revision eb49fa90

Added by Leszek Koltunski over 2 years ago

Use the off-center objects to display the object in Tutorial mode properly.
Now it is not covered by the right bar!

View differences:

src/main/res/layout/main.xml
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<RelativeLayout  xmlns:android="http://schemas.android.com/apk/res/android"
3 3
    android:id="@+id/relativeLayout"
4
    android:layout_width="fill_parent"
5
    android:layout_height="fill_parent" >
4
    android:layout_width="match_parent"
5
    android:layout_height="match_parent" >
6 6

  
7 7
    <org.distorted.main.RubikSurfaceView
8 8
        android:id="@+id/rubikSurfaceView"
9
        android:layout_width="fill_parent"
10
        android:layout_height="fill_parent"
9
        android:layout_width="match_parent"
10
        android:layout_height="match_parent"
11 11
        android:layout_alignParentStart="true"
12 12
        android:layout_alignParentTop="true"/>
13 13

  
14 14
    <LinearLayout
15 15
        android:id="@+id/hiddenBar"
16 16
        android:layout_alignParentTop="true"
17
        android:layout_width="fill_parent"
17
        android:layout_width="match_parent"
18 18
        android:layout_height="0dp"
19 19
        android:gravity="center"
20 20
        android:orientation="horizontal"

Also available in: Unified diff