Revert useless changes
This commit is contained in:
parent
25a1b86307
commit
2f0dda06ee
@ -5,7 +5,7 @@
|
|||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/exportBackup"
|
android:id="@+id/browserLicense"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?android:attr/listChoiceBackgroundIndicator"
|
android:background="?android:attr/listChoiceBackgroundIndicator"
|
||||||
@ -39,7 +39,7 @@
|
|||||||
android:background="#cdcdcd" />
|
android:background="#cdcdcd" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/importBackup"
|
android:id="@+id/licenseAOSP"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?android:attr/listChoiceBackgroundIndicator"
|
android:background="?android:attr/listChoiceBackgroundIndicator"
|
||||||
|
@ -23,8 +23,8 @@ public class LicenseActivity extends Activity implements View.OnClickListener {
|
|||||||
setContentView(R.layout.license_activity);
|
setContentView(R.layout.license_activity);
|
||||||
getActionBar().setHomeButtonEnabled(true);
|
getActionBar().setHomeButtonEnabled(true);
|
||||||
getActionBar().setDisplayHomeAsUpEnabled(true);
|
getActionBar().setDisplayHomeAsUpEnabled(true);
|
||||||
findViewById(R.id.exportBackup).setOnClickListener(this);
|
findViewById(R.id.browserLicense).setOnClickListener(this);
|
||||||
findViewById(R.id.importBackup).setOnClickListener(this);
|
findViewById(R.id.licenseAOSP).setOnClickListener(this);
|
||||||
findViewById(R.id.licenseHosts).setOnClickListener(this);
|
findViewById(R.id.licenseHosts).setOnClickListener(this);
|
||||||
findViewById(R.id.licenseOrbot).setOnClickListener(this);
|
findViewById(R.id.licenseOrbot).setOnClickListener(this);
|
||||||
}
|
}
|
||||||
@ -32,10 +32,10 @@ public class LicenseActivity extends Activity implements View.OnClickListener {
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
switch (v.getId()) {
|
switch (v.getId()) {
|
||||||
case R.id.exportBackup:
|
case R.id.browserLicense:
|
||||||
actionView("http://www.mozilla.org/MPL/2.0/");
|
actionView("http://www.mozilla.org/MPL/2.0/");
|
||||||
break;
|
break;
|
||||||
case R.id.importBackup:
|
case R.id.licenseAOSP:
|
||||||
actionView("http://www.apache.org/licenses/LICENSE-2.0");
|
actionView("http://www.apache.org/licenses/LICENSE-2.0");
|
||||||
break;
|
break;
|
||||||
case R.id.licenseHosts:
|
case R.id.licenseHosts:
|
||||||
|
Loading…
Reference in New Issue
Block a user