Skip to content

Commit

Permalink
Lint fixes and cleaning - unused resources moved to graphics.
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrelevy committed Apr 27, 2012
1 parent b6dfce1 commit 34cfb43
Show file tree
Hide file tree
Showing 29 changed files with 14 additions and 69 deletions.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added releases/franceaoc-1.0.0-beta7.apk
Binary file not shown.
Binary file added releases/franceaoc-1.0.0-beta8.apk
Binary file not shown.
Binary file removed res/drawable-mdpi/star_off.png
Binary file not shown.
Binary file removed res/drawable-mdpi/star_on.png
Binary file not shown.
2 changes: 0 additions & 2 deletions res/layout/balloon_overlay.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@
<TextView android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:id="@+id/balloon_item_title"
android:text="balloon_item_title"
android:textSize="16dip"
android:textColor="@android:color/primary_text_light"/>
<TextView android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:id="@+id/balloon_item_snippet"
android:text="balloon_item_snippet"
android:textSize="12dip"
android:textColor="@android:color/secondary_text_light"/>
</LinearLayout>
Expand Down
12 changes: 7 additions & 5 deletions res/layout/dashboard.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bg_dashboard"
android:padding="2dip"
android:orientation="vertical" >
android:baselineAligned="false"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bg_dashboard"
android:padding="2dip"
android:orientation="vertical" >

<LinearLayout
android:orientation="horizontal"
android:baselineAligned="false"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1" >
Expand Down
10 changes: 0 additions & 10 deletions res/layout/different_search_page.xml

This file was deleted.

23 changes: 0 additions & 23 deletions res/layout/rate.xml

This file was deleted.

6 changes: 0 additions & 6 deletions res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@
<resources>
<string name="app_name">AOC France</string>

<string name="title_bar">AOC France</string>

<!-- Credits screen -->
<string name="credits_current_version">Version 1.0.0</string>
<string name="credits_app_name">AOC France</string>

<string name="alert_dialog_ok">Voter</string>
<string name="alert_dialog_cancel">Annuler</string>
<string name="alert_dialog_title">Donner un avis</string>

<string name="button_map">Carte</string>
<string name="button_list_around">Liste à proximité</string>
<string name="button_about">A propos</string>
Expand Down
4 changes: 2 additions & 2 deletions res/values-large/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<dimen name="dashboard_button">200dp</dimen>
<dimen name="large_font_list">16sp</dimen>
<dimen name="title_font">30sp</dimen>
<dimen name="padding">10dp</dimen>
<dimen name="padding_pane">10dp</dimen>
<!-- <dimen name="padding">10dp</dimen>
<dimen name="padding_pane">10dp</dimen> -->
<dimen name="padding_text">2dp</dimen>
<dimen name="padding_icon">30dp</dimen>
<dimen name="padding_title">40dp</dimen>
Expand Down
4 changes: 2 additions & 2 deletions res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<dimen name="dashboard_button">130dp</dimen>
<dimen name="large_font_list">16sp</dimen>
<dimen name="title_font">20sp</dimen>
<dimen name="padding">10dp</dimen>
<dimen name="padding_pane">10dp</dimen>
<!-- <dimen name="padding">10dp</dimen>
<dimen name="padding_pane">10dp</dimen> -->
<dimen name="padding_text">4dp</dimen>
<dimen name="padding_icon">8dp</dimen>
<dimen name="padding_title">30dp</dimen>
Expand Down
8 changes: 1 addition & 7 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@
<resources>
<string name="app_name">AOC France</string>

<string name="title_bar">AOC France</string>

<!-- Credits screen -->
<string name="credits_current_version">Version 1.0.0</string>
<string name="credits_app_name">AOC France</string>

<string name="alert_dialog_ok">Vote</string>
<string name="alert_dialog_cancel">Cancel</string>
<string name="alert_dialog_title">Make a comment</string>

<string name="button_map">Map</string>
<string name="button_list_around">Around me</string>
<string name="button_about">About</string>
Expand All @@ -20,5 +14,5 @@
<string name="label_list_aoc">List of the AOC\'s town : </string>
<string name="message_activate_location">Location services (GPS and network) seem to be disabled!\n\nDo you want to enable one of them to use this application ?</string>

<string name="message_too_many_markers">Zoom too large. Too many markers!\nOnly the %1$d towns closest to the center of the map are displayed ...</string>
<string name="message_too_many_markers">Zoom too large. Too many markers!\nOnly the %1$d towns closest to the center of the map are displayed.</string>
</resources>
10 changes: 0 additions & 10 deletions res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,4 @@
<item name="android:padding">@dimen/padding_icon</item>
</style>

<style name="CustomRatingBar" parent="@android:style/Widget.RatingBar">
<item name="android:progressDrawable">@drawable/custom_ratingbar</item>
</style>

<style name="wineRatingBar" parent="@android:style/Widget.RatingBar">
<item name="android:progressDrawable">@drawable/wine_rating_bar_full</item>
<item name="android:minHeight">30dip</item>
<item name="android:maxHeight">30dip</item>
</style>

</resources>
4 changes: 2 additions & 2 deletions src/com/franceaoc/app/ui/activity/DashboardActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ void startAbout()
/**
* create the menu items
*/
public void populateMenu(Menu menu)
/* public void populateMenu(Menu menu)
{
MenuItem item1 = menu.add(0, Menu1, Menu1, "MenuOption1");
item1.setIcon(R.drawable.settings_button);
}

*/
/**
* hook into menu button for activity
*/
Expand Down

0 comments on commit 34cfb43

Please sign in to comment.