Skip to content

Commit

Permalink
modify lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinea committed Jan 4, 2014
1 parent 0a9a013 commit a24d0b7
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 21 deletions.
7 changes: 1 addition & 6 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<application
android:icon="@drawable/icon"
android:label="@string/app_name"
android:allowBackup="true"
android:theme="@style/AppTheme" >
<service android:name=".MyService" />
<service android:name=".MyIntentService" />
Expand Down Expand Up @@ -64,12 +65,6 @@
android:label="@string/imagesdcardcache_demo_activity_title"
android:theme="@style/AppTheme" >
</activity>
<activity
android:name=".CanvasDrawDemo"
android:configChanges="orientation|keyboardHidden"
android:label="@string/imagecache_demo_activity_title"
android:theme="@style/AppTheme" >
</activity>
<activity
android:name=".HttpCacheDemo"
android:configChanges="orientation|keyboardHidden"
Expand Down
File renamed without changes
Binary file added res/drawable-ldpi/button_press.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/button_press.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xhdpi/button_press.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/drawable-xhdpi/icon_stop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xxhdpi/button_press.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/drawable-xxhdpi/icon_stop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
2 changes: 1 addition & 1 deletion res/layout/divider.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<View xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/divider_height"
android:background="#D8D8D8" />
android:background="@color/divider_color" />
1 change: 1 addition & 0 deletions res/layout/image_list_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
android:layout_width="300dp"
android:layout_height="500dp"
android:layout_centerInParent="true"
android:contentDescription="@string/image_content"
android:scaleType="fitCenter" />

</RelativeLayout>
19 changes: 7 additions & 12 deletions res/layout/image_sdcard_cache_demo.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_height="match_parent"
android:orientation="vertical" >

<ScrollView
<cn.trinea.android.common.view.SlideOnePageGallery
android:id="@+id/app_app_image_gallery"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/trinea_info_layout" >

<RelativeLayout
android:id="@+id/image_sdcard_cache_parent_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="left"
android:paddingLeft="@dimen/dp_4" >
</RelativeLayout>
</ScrollView>
android:layout_above="@+id/trinea_info_layout"
android:layout_gravity="center"
android:spacing="4dp" />

<include
android:layout_width="match_parent"
Expand Down
1 change: 1 addition & 0 deletions res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
<!-- drop down list footer font color -->
<color name="drop_down_list_footer_font_color">#5200D5</color>

<color name="divider_color">#D8D8D8</color>
</resources>
1 change: 0 additions & 1 deletion res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<dimen name="page_margin">15dp</dimen>
<dimen name="dp_4">4dp</dimen>
<dimen name="dp_8">8dp</dimen>
<dimen name="dp_60">60dp</dimen>
<dimen name="dp_40">40dp</dimen>
<dimen name="sp_16">16sp</dimen>
<dimen name="search_view_margin_left">55dp</dimen>
Expand Down
2 changes: 1 addition & 1 deletion src/cn/trinea/android/demo/ImageSDCardCacheDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ImageSDCardCacheDemo extends BaseActivity {

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState, R.layout.slide_one_page_gallery_demo);
super.onCreate(savedInstanceState, R.layout.image_sdcard_cache_demo);

Context context = getApplicationContext();
initImageUrlList();
Expand Down

0 comments on commit a24d0b7

Please sign in to comment.