aboutsummaryrefslogtreecommitdiff
path: root/src/main/res/layout/about_app_pref.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res/layout/about_app_pref.xml')
-rw-r--r--src/main/res/layout/about_app_pref.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/main/res/layout/about_app_pref.xml b/src/main/res/layout/about_app_pref.xml
new file mode 100644
index 000000000..1cac57b18
--- /dev/null
+++ b/src/main/res/layout/about_app_pref.xml
@@ -0,0 +1,56 @@
+<!-- Copyright (C) 2013 Menny Even-Danan
+
+ 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.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:padding="6dp">
+
+ <ImageView
+ android:id="@+id/app_icon"
+ android:scaleType="centerInside"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:adjustViewBounds="true"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true"
+ android:layout_marginRight="8dp"/>
+
+ <TextView
+ android:id="@+id/app_name"
+ style="@android:style/TextAppearance.Medium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/app_icon"
+ android:layout_alignParentTop="true"/>
+
+ <TextView
+ android:id="@+id/app_version"
+ style="@android:style/TextAppearance.Small"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/version_text"
+ android:layout_below="@id/app_name"
+ android:layout_toRightOf="@id/app_icon"/>
+
+ <TextView
+ android:id="@+id/app_copyright"
+ style="@android:style/TextAppearance.Small"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/copyright_text"
+ android:layout_below="@id/app_icon"
+ android:layout_alignParentLeft="true"/>
+
+</RelativeLayout> \ No newline at end of file