Accounts activity prettified

This commit is contained in:
Dominik Schürmann 2014-03-26 17:50:16 +01:00
parent 65857d2b5f
commit ba37fc254d

View File

@ -7,14 +7,34 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
android:layout_marginBottom="4dp"
android:layout_marginTop="4dp"
android:gravity="center_horizontal"
android:orientation="horizontal">
<ImageView
android:id="@+id/api_account_settings_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentTop="true"
android:layout_marginRight="6dp"
android:src="@drawable/ic_action_person" />
<TextView <TextView
android:id="@+id/api_account_settings_acc_name" android:id="@+id/api_account_settings_acc_name"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/api_account_settings_icon"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="vertical" android:orientation="vertical"
android:text="Name (set in-code)" android:text="Name (set in-code)"
android:textAppearance="?android:attr/textAppearanceMedium" /> android:textAppearance="?android:attr/textAppearanceMedium" />
</RelativeLayout>
<fragment <fragment
android:id="@+id/api_account_settings_select_key_fragment" android:id="@+id/api_account_settings_select_key_fragment"