diff options
author | BrianBlade <n.gelbertz@gmail.com> | 2015-04-01 12:14:05 +0200 |
---|---|---|
committer | BrianBlade <n.gelbertz@gmail.com> | 2015-04-01 12:47:59 +0200 |
commit | e64049c4fc0f4514dee011a1f616ea4bdff1f16a (patch) | |
tree | 5ab4bb12cb8241af0e88eab14ae39817595618e7 /src/main/res/layout | |
parent | 7eabdfd80f50634282307f45c5f99ab46181805d (diff) |
Add toggle account-state switch
Add a switch to AccountAdapter that allows self-contained enabling/disabling of
accounts without the need to bring up the context-menu
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/account_row.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/res/layout/account_row.xml b/src/main/res/layout/account_row.xml index 60b69090..1cd29d59 100644 --- a/src/main/res/layout/account_row.xml +++ b/src/main/res/layout/account_row.xml @@ -41,4 +41,12 @@ 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:focusable="false"/> + </RelativeLayout>
\ No newline at end of file |