Remove padding between top divider and wifi list

We need View in addtion to ProgressBar, since the latter doesn't
allow us to control its padding on the bottom.

Bug: 3443287
Change-Id: I1f8fb8eca11d52d9c18866301553110c2147b3ef
This commit is contained in:
Daisuke Miyakawa
2011-02-10 11:54:06 -08:00
parent 4cdb398787
commit beec0b2da6
2 changed files with 33 additions and 3 deletions

View File

@@ -52,7 +52,7 @@
android:gravity="bottom"/>
<!-- Divider -->
<RelativeLayout
<FrameLayout
android:id="@+id/top_divider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -62,7 +62,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?android:attr/progressBarStyleHorizontal" />
</RelativeLayout>
<View
android:id="@+id/top_divider_no_progress"
android:layout_width="match_parent"
android:layout_height="3dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="0dip"
android:background="@color/divider_color"
android:visibility="gone" />
</FrameLayout>
<RelativeLayout
android:id="@+id/content"
@@ -70,7 +78,6 @@
android:layout_height="wrap_content"
android:layout_below="@id/top_divider"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dip"
android:layout_marginBottom="0dip">
<FrameLayout
@@ -89,17 +96,20 @@
android:minWidth="406dip"
android:layout_height="wrap_content"
android:minHeight="160dip"
android:layout_marginTop="10dip"
android:layout_alignParentLeft="true"
android:visibility="gone" />
<View
android:id="@+id/wifi_config_padding"
android:layout_width="match_parent"
android:layout_height="360dip"
android:layout_marginTop="10dip"
android:visibility="gone" />
<LinearLayout
android:id="@+id/connecting_status_layout"
android:layout_width="match_parent"
android:layout_height="360dip"
android:layout_marginTop="10dip"
android:visibility="gone">
<TextView
android:id="@+id/connecting_status"