Archived
Fixed some layout issues.
This commit is contained in:
1 parent
4af1d11309
commit
5871e04a88
1 file changed
+71
-43
+71
-43
@@ -21,67 +21,67 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_below="@id/header"
|
||||
android:layout_above="@id/footer"
|
||||
android:layout_marginTop="30px"
|
||||
android:layout_marginBottom="30px"
|
||||
android:layout_marginTop="20px"
|
||||
android:layout_marginBottom="20px"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
<!-- Opening hours: -->
|
||||
<LinearLayout
|
||||
<LinearLayout android:id="@+id/main_menu_hours"
|
||||
android:layout_marginBottom="20px"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_marginBottom="30px"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
android:focusable="false"
|
||||
android:clickable="false">
|
||||
|
||||
|
||||
<RelativeLayout android:id="@+id/main_menu_hours"
|
||||
style="@style/MetroTile"
|
||||
android:background="#000000"
|
||||
android:layout_margin="5px"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_weight="0.5">
|
||||
|
||||
<!-- OPENING HOURS: -->
|
||||
<TextView android:id="@+id/main_menu_hours_header"
|
||||
style="@style/MetroTileText_bg"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_alignParentTop="true"
|
||||
android:text="@string/main_menu_opening_hours" />
|
||||
|
||||
<TextView android:id="@+id/main_menu_hours_neuf_header"
|
||||
style="@style/MetroTileText_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- OPENING HOURS: -->
|
||||
<TextView android:id="@+id/main_menu_hours_header"
|
||||
style="@style/MetroTileText_bg"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:text="@string/main_menu_opening_hours" />
|
||||
|
||||
<LinearLayout android:id="@+id/main_menu_hours_neuf_header"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_marginTop="10px"
|
||||
android:layout_marginBottom="10px"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
style="@style/MetroTileText"
|
||||
android:textSize="12sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_below="@id/main_menu_hours_header"
|
||||
android:layout_marginTop="10px"
|
||||
android:layout_marginBottom="10px"
|
||||
android:layout_weight="0.5"
|
||||
android:layout_marginLeft="20px"
|
||||
android:gravity="left"
|
||||
android:text="Chateau Neuf" />
|
||||
|
||||
<!-- This is set in Java: -->
|
||||
<TextView android:id="@+id/main_menu_hours_neuf"
|
||||
style="@style/MetroTileText"
|
||||
android:textSize="10sp"
|
||||
android:layout_marginLeft="5px"
|
||||
android:layout_marginRight="5px"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_below="@id/main_menu_hours_neuf_header" />
|
||||
|
||||
android:layout_weight="0.5"
|
||||
android:gravity="left" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:id="@+id/main_menu_hours_bc_header"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_marginTop="10px"
|
||||
android:layout_marginBottom="10px"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView android:id="@+id/main_menu_hours_bc_header"
|
||||
style="@style/MetroTileText_bg"
|
||||
<TextView
|
||||
style="@style/MetroTileText"
|
||||
android:textSize="12sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_marginTop="10px"
|
||||
android:layout_marginBottom="10px"
|
||||
android:layout_below="@id/main_menu_hours_neuf"
|
||||
android:layout_weight="0.5"
|
||||
android:layout_marginLeft="20px"
|
||||
android:gravity="left"
|
||||
android:text="Bokcaféen" />
|
||||
|
||||
<!-- This is set in Java: -->
|
||||
@@ -90,8 +90,36 @@
|
||||
android:textSize="10sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_below="@id/main_menu_hours_bc_header" />
|
||||
</RelativeLayout>
|
||||
android:layout_weight="0.5"
|
||||
android:gravity="left" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:id="@+id/main_menu_hours_gb_header"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_marginTop="10px"
|
||||
android:layout_marginBottom="10px"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
style="@style/MetroTileText"
|
||||
android:textSize="12sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_weight="0.5"
|
||||
android:layout_marginLeft="20px"
|
||||
android:gravity="left"
|
||||
android:text="Glassbaren" />
|
||||
|
||||
<!-- This is set in Java: -->
|
||||
<TextView android:id="@+id/main_menu_hours_gb"
|
||||
style="@style/MetroTileText"
|
||||
android:textSize="10sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_weight="0.5"
|
||||
android:gravity="left" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Row nr 1: -->
|
||||
|
||||
Reference in new issue
Block a user