Add license for NetCipher
This commit is contained in:
parent
df51c67909
commit
83d2e53a25
@ -103,4 +103,36 @@
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="#cdcdcd" />
|
||||
<LinearLayout
|
||||
android:id="@+id/licenseOrbot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?android:attr/listChoiceBackgroundIndicator"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingTop="10dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/library_netcipher"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/isImportAvailable4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/license_gnu"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="@color/light" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="#cdcdcd" />
|
||||
</LinearLayout>
|
||||
|
@ -180,4 +180,6 @@
|
||||
<string name="name_normal">Normal</string>
|
||||
<string name="sync_history">Sync history with Google</string>
|
||||
<string name="title_file_chooser">File Chooser</string>
|
||||
<string name="library_netcipher">NetCipher</string>
|
||||
<string name="license_gnu">GNU Lesser General Public License</string>
|
||||
</resources>
|
||||
|
@ -26,6 +26,7 @@ public class LicenseActivity extends Activity implements View.OnClickListener {
|
||||
findViewById(R.id.browserLicense).setOnClickListener(this);
|
||||
findViewById(R.id.licenseAOSP).setOnClickListener(this);
|
||||
findViewById(R.id.licenseHosts).setOnClickListener(this);
|
||||
findViewById(R.id.licenseOrbot).setOnClickListener(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -40,6 +41,9 @@ public class LicenseActivity extends Activity implements View.OnClickListener {
|
||||
case R.id.licenseHosts:
|
||||
actionView("http://hosts-file.net/");
|
||||
break;
|
||||
case R.id.licenseOrbot:
|
||||
actionView("http://www.gnu.org/licenses/lgpl.html");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user