aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/account_row.xml
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-05-02 12:11:14 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-05-02 12:11:14 +0200
commitf97aaab014d4d7c9b3748eb78dd60ef00fa8f896 (patch)
tree0f04c9ef72f2a99f56eca50f58d80b17b71e6f22 /src/main/res/layout/account_row.xml
parentdbe170bd353562c64d1d495e10a4d5ed80dfd233 (diff)
parent8617932aad2f9604d7d5ce1321da6926a7bf2f37 (diff)
Merge tag '1.3.0'
Diffstat (limited to 'src/main/res/layout/account_row.xml')
-rw-r--r--src/main/res/layout/account_row.xml17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/main/res/layout/account_row.xml b/src/main/res/layout/account_row.xml
index 60b69090..0e73dd64 100644
--- a/src/main/res/layout/account_row.xml
+++ b/src/main/res/layout/account_row.xml
@@ -3,7 +3,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/activatedBackgroundIndicator"
- android:padding="8dp" >
+ android:paddingLeft="8dp"
+ android:paddingBottom="8dp"
+ android:paddingTop="8dp">
<ImageView
android:id="@+id/account_image"
@@ -20,7 +22,9 @@
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/account_image"
android:orientation="vertical"
- android:paddingLeft="8dp" >
+ android:paddingLeft="8dp"
+ android:layout_toLeftOf="@+id/tgl_account_status"
+ android:layout_toStartOf="@+id/tgl_account_status">
<TextView
android:id="@+id/account_jid"
@@ -41,4 +45,13 @@
android:textStyle="bold" />
</LinearLayout>
+ <Switch
+ android:id="@+id/tgl_account_status"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:padding="8dp"
+ android:focusable="false"/>
+
</RelativeLayout> \ No newline at end of file