Browse Source

Revert useless changes

master
Anthony Restaino 10 years ago
parent
commit
2f0dda06ee
  1. 4
      res/layout/license_activity.xml
  2. 8
      src/acr/browser/lightning/LicenseActivity.java

4
res/layout/license_activity.xml

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
android:orientation="vertical" >
<LinearLayout
android:id="@+id/exportBackup"
android:id="@+id/browserLicense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/listChoiceBackgroundIndicator"
@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
android:background="#cdcdcd" />
<LinearLayout
android:id="@+id/importBackup"
android:id="@+id/licenseAOSP"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/listChoiceBackgroundIndicator"

8
src/acr/browser/lightning/LicenseActivity.java

@ -23,8 +23,8 @@ public class LicenseActivity extends Activity implements View.OnClickListener { @@ -23,8 +23,8 @@ public class LicenseActivity extends Activity implements View.OnClickListener {
setContentView(R.layout.license_activity);
getActionBar().setHomeButtonEnabled(true);
getActionBar().setDisplayHomeAsUpEnabled(true);
findViewById(R.id.exportBackup).setOnClickListener(this);
findViewById(R.id.importBackup).setOnClickListener(this);
findViewById(R.id.browserLicense).setOnClickListener(this);
findViewById(R.id.licenseAOSP).setOnClickListener(this);
findViewById(R.id.licenseHosts).setOnClickListener(this);
findViewById(R.id.licenseOrbot).setOnClickListener(this);
}
@ -32,10 +32,10 @@ public class LicenseActivity extends Activity implements View.OnClickListener { @@ -32,10 +32,10 @@ public class LicenseActivity extends Activity implements View.OnClickListener {
@Override
public void onClick(View v) {
switch (v.getId()) {
case R.id.exportBackup:
case R.id.browserLicense:
actionView("http://www.mozilla.org/MPL/2.0/");
break;
case R.id.importBackup:
case R.id.licenseAOSP:
actionView("http://www.apache.org/licenses/LICENSE-2.0");
break;
case R.id.licenseHosts:

Loading…
Cancel
Save