mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-24 08:16:23 +00:00
Map settings button
This commit is contained in:
parent
b8f8d3d23f
commit
acd9d72bb4
@ -69,6 +69,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:onClick="openAppSettings"
|
||||
android:text="Go to Settings" />
|
||||
|
||||
</RelativeLayout>
|
@ -28,10 +28,12 @@ package fr.unix_experience.owncloud_sms;
|
||||
import java.util.List;
|
||||
import java.util.Vector;
|
||||
|
||||
import fr.unix_experience.owncloud_sms.activities.GeneralSettingsActivity;
|
||||
import android.support.v7.app.ActionBarActivity;
|
||||
import android.support.v4.app.Fragment;
|
||||
import android.support.v4.app.FragmentManager;
|
||||
import android.support.v4.app.FragmentPagerAdapter;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.support.v4.view.ViewPager;
|
||||
import android.view.LayoutInflater;
|
||||
@ -160,5 +162,10 @@ public class MainActivity extends ActionBarActivity {
|
||||
return rootView;
|
||||
}
|
||||
}
|
||||
|
||||
public void openAppSettings(View view) {
|
||||
Intent intent = new Intent(this, GeneralSettingsActivity.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user