Update wifi preference layout and progress category layout.
This commit is contained in:
@@ -15,30 +15,22 @@
|
||||
-->
|
||||
|
||||
<!-- Layout used for ProgressCategory in bluetooth settings. -->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="?android:attr/listSeparatorTextViewStyle">
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
|
||||
<!-- This and the other text view have the style of the list separator text view without the background and padding -->
|
||||
<TextView
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:background="@null"
|
||||
android:paddingLeft="0dip"
|
||||
android:paddingLeft="32dip"
|
||||
android:id="@+android:id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
/>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/scanning_progress"
|
||||
android:text="@string/progress_scanning"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="?android:attr/scrollbarSize"
|
||||
style="?android:attr/progressBarStyleSmallTitle"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center_vertical"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -48,10 +40,19 @@
|
||||
android:id="@+id/scanning_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toLeftOf="@id/scanning_progress"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="5sp"
|
||||
android:text="@string/progress_scanning"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
<ProgressBar
|
||||
android:id="@+id/scanning_progress"
|
||||
android:text="@string/progress_scanning"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="16dip"
|
||||
style="?android:attr/progressBarStyleSmallTitle"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
@@ -18,6 +18,4 @@
|
||||
android:id="@+id/signal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="4sp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/wifi_signal" />
|
||||
|
Reference in New Issue
Block a user