diff options
author | Dominik <dominik@dominikschuermann.de> | 2012-03-09 18:43:10 +0100 |
---|---|---|
committer | Dominik <dominik@dominikschuermann.de> | 2012-03-09 18:43:10 +0100 |
commit | 4a8d9694c495d445a824696e95ded3337bc7beea (patch) | |
tree | 40870158ddf43c93b640664d2794937223f72c9d /res/layout | |
parent | 8452fb62b7d80c297395a8d12acd55a0375bff44 (diff) | |
download | open-keychain-4a8d9694c495d445a824696e95ded3337bc7beea.tar.gz open-keychain-4a8d9694c495d445a824696e95ded3337bc7beea.tar.bz2 open-keychain-4a8d9694c495d445a824696e95ded3337bc7beea.zip |
new icon, new about dialog, some refactorings
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/about_activity.xml | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/res/layout/about_activity.xml b/res/layout/about_activity.xml new file mode 100644 index 000000000..0388f5c06 --- /dev/null +++ b/res/layout/about_activity.xml @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:isScrollContainer="true" + android:orientation="vertical" + android:paddingBottom="15dp" + android:paddingLeft="15dp" + android:paddingRight="15dp" + android:scrollbars="vertical" > + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="horizontal" > + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:orientation="vertical" > + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="top" + android:layout_marginRight="10dp" + android:src="@drawable/icon" /> + </LinearLayout> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/app_name" + android:textStyle="bold" /> + + <TextView + android:id="@+id/about_version" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="@android:style/TextAppearance.Small" /> + </LinearLayout> + </LinearLayout> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:autoLink="web" + android:text="@string/about_url" + android:textAppearance="@android:style/TextAppearance.Small" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:text="@string/about_description" + android:textAppearance="@android:style/TextAppearance.Small" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:text="@string/about_license" + android:textAppearance="@android:style/TextAppearance.Small" /> + +<!-- <TextView --> +<!-- android:layout_width="wrap_content" --> +<!-- android:layout_height="wrap_content" --> +<!-- android:layout_marginTop="8dp" --> +<!-- android:text="@string/about_developer" --> +<!-- android:textAppearance="@android:style/TextAppearance.Small" /> --> + +<!-- <TextView --> +<!-- android:layout_width="wrap_content" --> +<!-- android:layout_height="wrap_content" --> +<!-- android:layout_marginTop="8dp" --> +<!-- android:text="@string/about_icons" --> +<!-- android:textAppearance="@android:style/TextAppearance.Small" /> --> + +<!-- <TextView --> +<!-- android:layout_width="wrap_content" --> +<!-- android:layout_height="wrap_content" --> +<!-- android:layout_marginTop="8dp" --> +<!-- android:text="@string/about_libs" --> +<!-- android:textAppearance="@android:style/TextAppearance.Small" /> --> + </LinearLayout> + +</ScrollView>
\ No newline at end of file |