add a Settings activity
+ allow using settings / about / license in landscape
This commit is contained in:
parent
4bb6d55244
commit
b0d6641a54
|
@ -39,13 +39,15 @@
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".LicenseActivity"
|
android:name=".LicenseActivity"
|
||||||
android:label="@string/third_party_licences"
|
android:label="@string/third_party_licences"/>
|
||||||
android:screenOrientation="portrait"/>
|
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".AboutActivity"
|
android:name=".AboutActivity"
|
||||||
android:label="@string/about"
|
android:label="@string/about"/>
|
||||||
android:screenOrientation="portrait"/>
|
|
||||||
|
<activity
|
||||||
|
android:name=".SettingsActivity"
|
||||||
|
android:label="@string/about"/>
|
||||||
|
|
||||||
<receiver
|
<receiver
|
||||||
android:name=".HardwareShutterReceiver"
|
android:name=".HardwareShutterReceiver"
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
package com.simplemobiletools.camera;
|
||||||
|
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.support.v7.app.AppCompatActivity;
|
||||||
|
|
||||||
|
import butterknife.ButterKnife;
|
||||||
|
|
||||||
|
public class SettingsActivity extends AppCompatActivity {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
setContentView(R.layout.activity_settings);
|
||||||
|
ButterKnife.bind(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RelativeLayout
|
||||||
|
android:id="@+id/settings_holder"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_margin="@dimen/activity_margin">
|
||||||
|
|
||||||
|
</RelativeLayout>
|
Loading…
Reference in New Issue