Landscape Layout

This commit is contained in:
Marcel Kapfer 2015-03-07 23:59:49 +01:00
parent c1a01cfc03
commit db75fa878b
2 changed files with 195 additions and 2 deletions

View File

@ -0,0 +1,193 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This is a Android application for converting writtenMorse and normal morse code.
Copyright (C) 2014-2015 Marcel Michael Kapfer
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
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/>.
Marcel Michael Kapfer
marcelmichaelkapfer@yahoo.co.nz
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/about"
android:layout_width="wrap_content"
android:paddingRight="150dp"
android:paddingLeft="150dp"
android:layout_height="match_parent"
android:background="#fff"
tools:context=".AboutActivity$PlaceholderFragment">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/scrollView">
<LinearLayout
style="@style/LinearLayoutListContainer">
<LinearLayout
style="@style/LinearLayoutList"
android:onClick="versionEntry">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:text="@string/sectionVersion"
/>
<TextView
android:id="@+id/textView2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/aboutVersion" />
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList"
android:onClick="developerEntry">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:text="@string/sectionDeveloper"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/aboutDeveloper" />
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList"
android:onClick="websiteEntry">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:text="@string/sectionWebsite"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/aboutWebsite" />
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList"
android:onClick="contactEntry">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:text="@string/sectionContact"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/aboutContact" />
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList"
android:onClick="licenseEntry">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:text="@string/sectionLicense"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/aboutLicense" />
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList"
android:onClick="bugEntry">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:text="@string/sectionBug"
/>
<TextView
android:id="@+id/textView3"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/aboutBug" />
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList"
android:onClick="howtoEntry">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:text="@string/sectionHow"
/>
<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/aboutHow" />
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList"
android:onClick="missingCodeEntry">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:text="@string/sectionMissing"
/>
<TextView
android:id="@+id/textView5"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/aboutMissing"/>
</LinearLayout>
</LinearLayout>
</ScrollView>
</RelativeLayout>

View File

@ -29,8 +29,8 @@
tools:context=".AboutActivity$PlaceholderFragment">
<ScrollView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/scrollView">
<LinearLayout
style="@style/LinearLayoutListContainer">