Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Fix layout
Browse files Browse the repository at this point in the history
Refs #1757
  • Loading branch information
M66B committed Feb 14, 2015
1 parent 5592a58 commit e2ff987
Showing 1 changed file with 39 additions and 32 deletions.
71 changes: 39 additions & 32 deletions res/layout/mainlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,48 +27,55 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" >

<android.support.v7.widget.CardView
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/cvHeader"
style="?attr/cardStyle"
<LinearLayout
android:id="@+id/llHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="6dip"
android:layout_marginRight="@dimen/activity_horizontal_margin"
card_view:cardCornerRadius="6dip" >
android:orientation="vertical" >

<LinearLayout
<android.support.v7.widget.CardView
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/cvHeader"
style="?attr/cardStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="6dp"
android:orientation="horizontal" >
android:layout_marginBottom="6dip"
android:layout_marginRight="@dimen/activity_horizontal_margin"
card_view:cardCornerRadius="6dip" >

<Spinner
android:id="@+id/spRestriction"
android:layout_width="0dip"
android:layout_height="37dip"
android:layout_gravity="center_vertical"
android:layout_weight="1" />

<ImageView
android:id="@+id/imgInfo"
android:layout_width="32dip"
android:layout_height="32dip"
android:layout_gravity="center_vertical"
android:layout_marginLeft="3dip"
android:layout_marginRight="3dip"
android:clickable="true"
android:contentDescription="@string/help_application"
android:focusable="true"
android:src="?attr/icon_info" />
</LinearLayout>
</android.support.v7.widget.CardView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="6dp"
android:orientation="horizontal" >

<Spinner
android:id="@+id/spRestriction"
android:layout_width="0dip"
android:layout_height="37dip"
android:layout_gravity="center_vertical"
android:layout_weight="1" />

<ImageView
android:id="@+id/imgInfo"
android:layout_width="32dip"
android:layout_height="32dip"
android:layout_gravity="center_vertical"
android:layout_marginLeft="3dip"
android:layout_marginRight="3dip"
android:clickable="true"
android:contentDescription="@string/help_application"
android:focusable="true"
android:src="?attr/icon_info" />
</LinearLayout>
</android.support.v7.widget.CardView>
</LinearLayout>

<ScrollView
android:id="@+id/svTutorialHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignTop="@id/cvHeader"
android:layout_alignTop="@id/llHeader"
android:orientation="vertical"
android:visibility="gone" >

Expand Down Expand Up @@ -198,4 +205,4 @@
</RelativeLayout>
</LinearLayout>

</LinearLayout>
</LinearLayout>

0 comments on commit e2ff987

Please sign in to comment.