Better setup display using mark system

This commit is contained in:
Sylvain Berfini 2012-08-10 15:28:23 +02:00
parent 0fc42e16f9
commit 67774522aa
3 changed files with 35 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

View file

@ -4,18 +4,45 @@
android:background="@drawable/background" android:background="@drawable/background"
android:layout_height="match_parent"> android:layout_height="match_parent">
<LinearLayout
android:id="@+id/mark"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:orientation="horizontal">
<ImageView
android:visibility="invisible"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/setup_mark"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:layout_weight="0.5"/>
<ImageView
android:visibility="invisible"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/setup_mark"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:layout_weight="0.5"/>
</LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/fragmentContainer" android:id="@+id/fragmentContainer"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:paddingBottom="75dp"
android:padding="20dp" android:padding="20dp"
android:layout_above="@id/mark"
android:orientation="horizontal" /> android:orientation="horizontal" />
<LinearLayout <LinearLayout
android:id="@+id/menu" android:id="@+id/menu"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="90dp" android:layout_height="wrap_content"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:orientation="horizontal"> android:orientation="horizontal">
@ -23,8 +50,9 @@
android:contentDescription="@string/content_description_cancel" android:contentDescription="@string/content_description_cancel"
android:id="@+id/setup_cancel" android:id="@+id/setup_cancel"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:src="@drawable/setup_cancel" android:src="@drawable/setup_cancel"
android:adjustViewBounds="true"
android:scaleType="fitXY" android:scaleType="fitXY"
android:layout_weight="0.5"/> android:layout_weight="0.5"/>
@ -32,8 +60,9 @@
android:contentDescription="@string/content_description_next" android:contentDescription="@string/content_description_next"
android:id="@+id/setup_next" android:id="@+id/setup_next"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:src="@drawable/setup_next" android:src="@drawable/setup_next"
android:adjustViewBounds="true"
android:scaleType="fitXY" android:scaleType="fitXY"
android:layout_weight="0.5"/> android:layout_weight="0.5"/>
@ -42,8 +71,9 @@
android:id="@+id/setup_back" android:id="@+id/setup_back"
android:visibility="gone" android:visibility="gone"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:src="@drawable/setup_back" android:src="@drawable/setup_back"
android:adjustViewBounds="true"
android:scaleType="fitXY" android:scaleType="fitXY"
android:layout_weight="0.5"/> android:layout_weight="0.5"/>