Skip to content

Commit 91a169b

Browse files
committed
Cleaned Up Repo
1 parent c96e057 commit 91a169b

File tree

436 files changed

+19
-10175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

436 files changed

+19
-10175
lines changed

FirstOpenGLProject/gen/android/support/v7/appcompat/R.java

Lines changed: 0 additions & 616 deletions
This file was deleted.

FirstOpenGLProject/gen/com/firstopenglproject/android/R.java

Lines changed: 11 additions & 3054 deletions
Large diffs are not rendered by default.

FirstOpenGLProject/lint.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<lint>
3+
</lint>

FirstOpenGLProject/project.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@
1212

1313
# Project target.
1414
target=android-19
15-
android.library.reference.1=../appcompat_v7

FirstOpenGLProject/res/layout/fragment_first_open_glproject.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

FirstOpenGLProject/res/menu/first_open_glproject.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,4 @@
33
xmlns:tools="http://schemas.android.com/tools"
44
tools:context="com.firstopenglproject.android.FirstOpenGLProjectActivity" >
55

6-
<item
7-
android:id="@+id/action_settings"
8-
android:orderInCategory="100"
9-
android:title="@string/action_settings"
10-
app:showAsAction="never"/>
11-
126
</menu>

FirstOpenGLProject/res/values-v11/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Base application theme for API 11+. This theme completely replaces
55
AppBaseTheme from res/values/styles.xml on API 11+ devices.
66
-->
7-
<style name="AppBaseTheme" parent="Theme.AppCompat.Light">
7+
<style name="AppBaseTheme">
88
<!-- API 11 theme customizations can go here. -->
99
</style>
1010

FirstOpenGLProject/res/values-v14/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
AppBaseTheme from BOTH res/values/styles.xml and
66
res/values-v11/styles.xml on API 14+ devices.
77
-->
8-
<style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
8+
<style name="AppBaseTheme">
99
<!-- API 14 theme customizations can go here. -->
1010
</style>
1111

FirstOpenGLProject/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Base application theme, dependent on API level. This theme is replaced
55
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
66
-->
7-
<style name="AppBaseTheme" parent="Theme.AppCompat.Light">
7+
<style name="AppBaseTheme">
88
<!--
99
Theme customizations available in newer API levels can go in
1010
res/values-vXX/styles.xml, while customizations related to
Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,21 @@
11
package com.firstopenglproject.android;
22

3-
import android.support.v7.app.ActionBarActivity;
4-
import android.support.v7.app.ActionBar;
5-
import android.support.v4.app.Fragment;
3+
import android.app.Activity;
64
import android.os.Bundle;
7-
import android.view.LayoutInflater;
85
import android.view.Menu;
9-
import android.view.MenuItem;
10-
import android.view.View;
11-
import android.view.ViewGroup;
12-
import android.os.Build;
136

14-
public class FirstOpenGLProjectActivity extends ActionBarActivity {
7+
public class FirstOpenGLProjectActivity extends Activity {
158

169
@Override
1710
protected void onCreate(Bundle savedInstanceState) {
1811
super.onCreate(savedInstanceState);
1912
setContentView(R.layout.activity_first_open_glproject);
20-
21-
if (savedInstanceState == null) {
22-
getSupportFragmentManager().beginTransaction()
23-
.add(R.id.container, new PlaceholderFragment())
24-
.commit();
25-
}
2613
}
2714

2815

2916
@Override
3017
public boolean onCreateOptionsMenu(Menu menu) {
31-
32-
// Inflate the menu; this adds items to the action bar if it is present.
3318
getMenuInflater().inflate(R.menu.first_open_glproject, menu);
3419
return true;
3520
}
36-
37-
@Override
38-
public boolean onOptionsItemSelected(MenuItem item) {
39-
// Handle action bar item clicks here. The action bar will
40-
// automatically handle clicks on the Home/Up button, so long
41-
// as you specify a parent activity in AndroidManifest.xml.
42-
int id = item.getItemId();
43-
if (id == R.id.action_settings) {
44-
return true;
45-
}
46-
return super.onOptionsItemSelected(item);
47-
}
48-
49-
/**
50-
* A placeholder fragment containing a simple view.
51-
*/
52-
public static class PlaceholderFragment extends Fragment {
53-
54-
public PlaceholderFragment() {
55-
}
56-
57-
@Override
58-
public View onCreateView(LayoutInflater inflater, ViewGroup container,
59-
Bundle savedInstanceState) {
60-
View rootView = inflater.inflate(R.layout.fragment_first_open_glproject, container, false);
61-
return rootView;
62-
}
63-
}
64-
6521
}

0 commit comments

Comments
 (0)