Modify Power Widget Gps Icon To Represent Location.

Instead of directly controlling gps on/off, it will
control master location switch on/off.

Change-Id: I12a20fb77c12b5099172167821ff7ed00ba9ea7c
This commit is contained in:
David Christie
2013-08-06 18:20:33 -07:00
parent b14698ee60
commit 681f799007
9 changed files with 26 additions and 31 deletions

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 750 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -95,7 +95,7 @@
/>
<LinearLayout
android:id="@+id/btn_gps"
android:id="@+id/btn_location"
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="match_parent"
@@ -106,7 +106,7 @@
android:orientation="vertical">
<ImageView
android:id="@+id/img_gps"
android:id="@+id/img_location"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"
@@ -115,7 +115,7 @@
/>
<ImageView
android:id="@+id/ind_gps"
android:id="@+id/ind_location"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"

View File

@@ -3694,8 +3694,8 @@
<string name="gadget_wifi">Wi\u2011Fi</string>
<!-- Spoken description for the Bluetooth power control gadget. -->
<string name="gadget_bluetooth">Bluetooth</string>
<!-- Spoken description for the GPS power control gadget. -->
<string name="gadget_gps">GPS</string>
<!-- Spoken description for the Location power control gadget. -->
<string name="gadget_location">Location</string>
<!-- Spoken description for the data synchronization gadget. -->
<string name="gadget_sync">Sync</string>
<!-- Template for brightness gadget toggle button description. -->