Adds website url
This commit is contained in:
parent
8d7774da8f
commit
8c91f242ba
|
@ -126,6 +126,15 @@ public class AboutActivity extends AppCompatActivity implements OnRetrieveRemote
|
|||
about_license.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.white));
|
||||
}
|
||||
|
||||
TextView about_website = (TextView) findViewById(R.id.about_website);
|
||||
about_website.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://tom79.bitbucket.io"));
|
||||
startActivity(browserIntent);
|
||||
}
|
||||
});
|
||||
|
||||
lv_contributors.setExpanded(true);
|
||||
lv_developers.setExpanded(true);
|
||||
accountSearchWebAdapterContributors = new AccountSearchDevAdapter(AboutActivity.this, contributors);
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
see <http://www.gnu.org/licenses>.
|
||||
-->
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
|
@ -67,6 +68,18 @@
|
|||
android:divider="@null"
|
||||
android:scrollbars="none"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_website"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:textSize="16sp"
|
||||
android:padding="10dp"
|
||||
android:autoLink="web"
|
||||
android:text="https://tom79.bitbucket.io/"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_thanks_dev"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
see <http://www.gnu.org/licenses>.
|
||||
-->
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
|
@ -63,6 +64,18 @@
|
|||
android:scrollbars="none"
|
||||
android:divider="@null"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_website"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:textSize="16sp"
|
||||
android:padding="10dp"
|
||||
android:autoLink="web"
|
||||
android:text="https://tom79.bitbucket.io/"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:padding="5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
|
@ -82,6 +95,9 @@
|
|||
android:scrollbars="none"
|
||||
android:divider="@null"/>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- About license -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
Loading…
Reference in New Issue