add a Settings activity

+ allow using settings / about / license in landscape
This commit is contained in:
tibbi 2016-06-18 17:16:05 +02:00
parent 4bb6d55244
commit b0d6641a54
3 changed files with 31 additions and 4 deletions

View File

@ -39,13 +39,15 @@
<activity
android:name=".LicenseActivity"
android:label="@string/third_party_licences"
android:screenOrientation="portrait"/>
android:label="@string/third_party_licences"/>
<activity
android:name=".AboutActivity"
android:label="@string/about"
android:screenOrientation="portrait"/>
android:label="@string/about"/>
<activity
android:name=".SettingsActivity"
android:label="@string/about"/>
<receiver
android:name=".HardwareShutterReceiver"

View File

@ -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);
}
}

View File

@ -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>