diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-09-06 09:44:56 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-09-06 09:44:56 +0200 |
commit | c9549befb250826912d153d40c459fc495aa7fb5 (patch) | |
tree | 246d7a3f9b33b580d57cbbe7b318a116c19ec696 /OpenPGP-Keychain/res/layout | |
parent | 4030739a99a2e1ce232c6c3ab92ab21ad5bc3b4d (diff) | |
download | open-keychain-c9549befb250826912d153d40c459fc495aa7fb5.tar.gz open-keychain-c9549befb250826912d153d40c459fc495aa7fb5.tar.bz2 open-keychain-c9549befb250826912d153d40c459fc495aa7fb5.zip |
Put logic into fragment for reuse
Diffstat (limited to 'OpenPGP-Keychain/res/layout')
-rw-r--r-- | OpenPGP-Keychain/res/layout/api_app_register_activity.xml | 43 |
1 files changed, 8 insertions, 35 deletions
diff --git a/OpenPGP-Keychain/res/layout/api_app_register_activity.xml b/OpenPGP-Keychain/res/layout/api_app_register_activity.xml index da7bb16ce..40b8f54d1 100644 --- a/OpenPGP-Keychain/res/layout/api_app_register_activity.xml +++ b/OpenPGP-Keychain/res/layout/api_app_register_activity.xml @@ -6,6 +6,14 @@ android:orientation="vertical" android:padding="8dp" > + <TextView + android:id="@+id/api_register_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingBottom="3dip" + android:text="@string/api_register_text" + android:textAppearance="?android:attr/textAppearanceLarge" /> + <fragment android:id="@+id/api_app_settings_fragment" android:name="org.sufficientlysecure.keychain.remote_api.AppSettingsFragment" @@ -13,39 +21,4 @@ android:layout_height="wrap_content" tools:layout="@layout/api_app_settings_fragment" /> - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:paddingBottom="3dip" > - - <TextView - android:id="@+id/api_register_text" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="TODO: use string" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:paddingBottom="3dip" > - - <Button - android:id="@+id/api_register_disallow" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:text="@string/api_register_disallow" /> - - <Button - android:id="@+id/api_register_allow" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:text="@string/api_register_allow" /> - </LinearLayout> - </LinearLayout> - </LinearLayout>
\ No newline at end of file |