+++ /dev/null
-/*
- Copyright (C) 2014 Samsung Electronics Polska Sp. z o.o.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU AFFERO General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- You may obtain a copy of the License at
-
- http://www.gnu.org/licenses/agpl-3.0.txt
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-package com.samsung.srpol.ui;
-
-import com.samsung.srpol.R;
-import com.samsung.srpol.utils.Utils;
-
-import android.graphics.Paint;
-import android.os.Bundle;
-import android.support.v7.app.ActionBarActivity;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.widget.ImageButton;
-import android.widget.TextView;
-
-public class LicenseActivity extends ActionBarActivity {
-
-
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_license);
-
- TextView descriptionTextLink = (TextView) findViewById(R.id.license_link);
- descriptionTextLink.setPaintFlags(Paint.UNDERLINE_TEXT_FLAG);
- descriptionTextLink.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- Utils.startBrowser(LicenseActivity.this, getString(R.string.license_link));
- }
- });
-
- ImageButton backBtn = (ImageButton) findViewById(R.id.back_button);
- backBtn.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View arg0) {
- finish();
- }
- });
- }
-
-}