forked from upstream-mirrors/OpenTracks
3b249d6a06
If not enough space, shrink column0. If too much space, stretch column1. Add 2dp padding around.
103 lines
3.5 KiB
XML
103 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2008 Google Inc.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content">
|
|
<TableLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:padding="2dp"
|
|
android:shrinkColumns="0"
|
|
android:stretchColumns="1">
|
|
<TableRow style="@style/AboutTableRow">
|
|
<ImageView
|
|
android:layout_column="0"
|
|
android:scaleType="center"
|
|
android:src="@drawable/arrow_icon"/>
|
|
<LinearLayout
|
|
android:layout_column="1"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:text="@string/my_tracks_app_name"
|
|
android:textSize="30sp" />
|
|
<TextView
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:text="@string/about_copyright_notice"
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
</TableRow>
|
|
<TableRow style="@style/AboutTableRow">
|
|
<TextView
|
|
android:text="@string/about_team"
|
|
style="@style/AboutTextView.Column0"/>
|
|
<LinearLayout
|
|
android:layout_column="1"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:text="@string/about_bart"
|
|
style="@style/AboutTextView"/>
|
|
<TextView
|
|
android:text="@string/about_dylan"
|
|
style="@style/AboutTextView"/>
|
|
<TextView
|
|
android:text="@string/about_jimmy"
|
|
style="@style/AboutTextView"/>
|
|
<TextView
|
|
android:text="@string/about_leif"
|
|
style="@style/AboutTextView"/>
|
|
<TextView
|
|
android:text="@string/about_rodrigo"
|
|
style="@style/AboutTextView"/>
|
|
<TextView
|
|
android:text="@string/about_sandor"
|
|
style="@style/AboutTextView"/>
|
|
</LinearLayout>
|
|
</TableRow>
|
|
<TableRow style="@style/AboutTableRow">
|
|
<TextView
|
|
android:text="@string/about_version"
|
|
style="@style/AboutTextView.Column0"/>
|
|
<TextView
|
|
android:id="@+id/about_version"
|
|
style="@style/AboutTextView"/>
|
|
</TableRow>
|
|
<TableRow style="@style/AboutTableRow">
|
|
<TextView
|
|
android:text="@string/about_support"
|
|
style="@style/AboutTextView.Column0"/>
|
|
<TextView
|
|
android:text="@string/my_tracks_web_url"
|
|
style="@style/AboutTextView.Url"/>
|
|
</TableRow>
|
|
<TableRow style="@style/AboutTableRow">
|
|
<TextView
|
|
android:text="@string/about_privacy"
|
|
style="@style/AboutTextView.Column0"/>
|
|
<TextView
|
|
android:text="@string/my_tracks_privacy_url"
|
|
style="@style/AboutTextView.Url"/>
|
|
</TableRow>
|
|
</TableLayout>
|
|
</ScrollView> |