Skip to content

Commit

Permalink
Fix Lint warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
learnopengles committed May 10, 2012
1 parent 34356c6 commit 3749f64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/AndroidOpenGLESLessons/res/layout/toc_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
android:layout_margin="8dp"
android:background="@drawable/icon_border"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.SparseArray;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
Expand Down Expand Up @@ -38,7 +39,7 @@ public void onCreate(Bundle savedInstanceState)

// Initialize data
final List<Map<String, Object>> data = new ArrayList<Map<String, Object>>();
final Map<Integer, Class<? extends Activity>> activityMapping = new HashMap<Integer, Class<? extends Activity>>();
final SparseArray<Class<? extends Activity>> activityMapping = new SparseArray<Class<? extends Activity>>();

int i = 0;

Expand Down

0 comments on commit 3749f64

Please sign in to comment.