diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable/location.png | bin | 0 -> 2953 bytes | |||
-rw-r--r-- | res/drawable/usage_empty.png | bin | 0 -> 2909 bytes | |||
-rw-r--r-- | res/drawable/usage_high.png | bin | 0 -> 2201 bytes | |||
-rw-r--r-- | res/drawable/usage_low.png | bin | 0 -> 3023 bytes | |||
-rw-r--r-- | res/drawable/usage_medium.png | bin | 0 -> 2780 bytes | |||
-rw-r--r-- | res/layout/application.xml | 53 | ||||
-rw-r--r-- | res/layout/website_settings_row.xml | 75 |
7 files changed, 75 insertions, 53 deletions
diff --git a/res/drawable/location.png b/res/drawable/location.png Binary files differnew file mode 100644 index 0000000..c7eb1dc --- /dev/null +++ b/res/drawable/location.png diff --git a/res/drawable/usage_empty.png b/res/drawable/usage_empty.png Binary files differnew file mode 100644 index 0000000..6a7e2db --- /dev/null +++ b/res/drawable/usage_empty.png diff --git a/res/drawable/usage_high.png b/res/drawable/usage_high.png Binary files differnew file mode 100644 index 0000000..006e1ac --- /dev/null +++ b/res/drawable/usage_high.png diff --git a/res/drawable/usage_low.png b/res/drawable/usage_low.png Binary files differnew file mode 100644 index 0000000..828ffb2 --- /dev/null +++ b/res/drawable/usage_low.png diff --git a/res/drawable/usage_medium.png b/res/drawable/usage_medium.png Binary files differnew file mode 100644 index 0000000..dc37363 --- /dev/null +++ b/res/drawable/usage_medium.png diff --git a/res/layout/application.xml b/res/layout/application.xml deleted file mode 100644 index d8de265..0000000 --- a/res/layout/application.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2009 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:drawingCacheQuality="auto" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:gravity="center" - android:padding="0dip"> - - <ImageView android:id="@+id/icon" - android:layout_width="32px" - android:layout_height="32px" - android:padding="2dip" /> - - <TwoLineListItem - android:paddingTop="2dip" - android:paddingBottom="2dip" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" - android:mode="twoLine"> - - <TextView android:id="@+id/title" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_marginLeft="6dip" - android:layout_marginTop="6dip" - android:textAppearance="?android:attr/textAppearanceLarge"/> - - <TextView android:id="@+id/subtitle" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_below="@+id/title" - android:layout_alignLeft="@+id/title" - android:textAppearance="?android:attr/textAppearanceSmall"/> - - </TwoLineListItem> - -</LinearLayout> diff --git a/res/layout/website_settings_row.xml b/res/layout/website_settings_row.xml new file mode 100644 index 0000000..911e1d6 --- /dev/null +++ b/res/layout/website_settings_row.xml @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:drawingCacheQuality="auto" + android:layout_width="fill_parent" + android:layout_height="?android:attr/listPreferredItemHeight" + android:gravity="center" + android:padding="0dip"> + + <ImageView android:id="@+id/icon" + android:layout_width="32px" + android:layout_height="32px" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" + android:layout_alignParentBottom="true" + android:padding="2dip" /> + + <LinearLayout android:id="@+id/features" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_alignParentBottom="true" + android:layout_alignParentRight="true" + android:gravity="center" + android:padding="0dip" + android:layout_marginRight="2dip"> + + <ImageView android:id="@+id/location_icon" + android:layout_width="32px" + android:layout_height="32px" + android:padding="2dip" /> + + <ImageView android:id="@+id/usage_icon" + android:layout_width="32px" + android:layout_height="32px" + android:padding="2dip" /> + + </LinearLayout> + + <TextView android:id="@+id/title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_alignWithParentIfMissing="true" + android:layout_toRightOf="@id/icon" + android:layout_toLeftOf="@id/features" + android:layout_marginLeft="6dip" + android:layout_marginTop="6dip" + android:textAppearance="?android:attr/textAppearanceLarge"/> + + <TextView android:id="@+id/subtitle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_toRightOf="@id/icon" + android:layout_toLeftOf="@id/features" + android:layout_below="@id/title" + android:layout_alignLeft="@id/title" + android:layout_marginBottom="2dip" + android:textAppearance="?android:attr/textAppearanceSmall"/> + +</RelativeLayout> |